/* =========================================================================
   ALPENFUNK – modernes Tiroler Alpen-Design für Amateurfunk-Homepages
   Komplett self-contained: keine externen Fonts, Bilder oder Libraries.
   ========================================================================= */

:root {
  --schnee: #f7f9fb;
  --schnee-dunkel: #e7edf2;
  --fels: #262b33;
  --fels-dunkel: #171a1f;
  --fels-hell: #3c4451;
  --tirol-rot: #c8102e;
  --tirol-rot-dunkel: #9c0c23;
  --alpen-gruen: #2c6b4a;
  --alpen-gruen-hell: #3f8a67;
  --wald-dunkel: #1e4632;
  --leder-braun: #7a4a26;
  --leder-braun-hell: #a3703f;
  --strasse: #3a3f47;
  --strassenlinie: #f2ecd9;
  --gold: #e8a83d;
  --himmel-oben: #3f6ea3;
  --himmel-unten: #cfe6f5;
  --text-hell: #f7f9fb;
  --text-dunkel: #23262d;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(23, 26, 31, 0.18);
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--schrift);
  color: var(--text-dunkel);
  line-height: 1.6;
  background-color: var(--schnee-dunkel);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600'%3E%3Cpolygon points='0,600 0,380 120,430 250,300 380,400 520,250 650,370 800,240 950,390 1100,270 1250,380 1440,300 1440,600' fill='%237c9cbf' opacity='0.45'/%3E%3Cpolygon points='0,600 0,430 150,470 300,340 450,440 600,300 750,410 900,290 1050,420 1200,320 1350,410 1440,350 1440,600' fill='%234f6f8f' opacity='0.6'/%3E%3Cpolygon points='0,600 0,470 130,510 270,380 420,460 560,340 700,440 850,330 1000,450 1150,360 1300,440 1440,390 1440,600' fill='%23262b33' opacity='0.85'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--himmel-oben) 0%, var(--himmel-unten) 55%, var(--schnee-dunkel) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: bottom center, top center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
}

@media (max-width: 760px) {
  /* Fixed backgrounds sind auf mobilen Browsern oft ruckelig/fehlerhaft. */
  body { background-attachment: scroll, scroll; }
}

img { max-width: 100%; display: block; }

/* Basisgröße für alle Inline-Icons: fließt mit dem Text, Größe relativ zur
   umgebenden Schrift. Spezifischere Regeln (z. B. .logo svg) überschreiben das. */
svg {
  max-width: 100%;
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

a { color: var(--tirol-rot); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--schrift);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--fels);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Zeitleiste (Lokalzeit / UTC) ---------- */

.zeit-leiste {
  background: var(--tirol-rot-dunkel);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.zeit-leiste-inner {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 5px 20px;
  flex-wrap: wrap;
}

.zeit-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.zeit-item svg { width: 13px; height: 13px; }

/* ---------- Kopfbereich / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--fels-dunkel);
  border-bottom: 3px solid var(--tirol-rot);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-hell);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo .rufzeichen { color: var(--gold); }

.hauptnav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.hauptnav a {
  color: var(--text-hell);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.hauptnav a:hover, .hauptnav a.aktiv {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-hell);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .hauptnav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--fels-dunkel);
    flex-direction: column;
    padding: 10px 20px 20px;
    border-bottom: 3px solid var(--tirol-rot);
  }
  .hauptnav.offen { display: flex; }
}

/* ---------- Hero mit Bergpanorama ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--himmel-oben) 0%, var(--himmel-unten) 65%, var(--schnee-dunkel) 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero--foto {
  background-size: cover;
  background-position: center;
}

.hero--foto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 26, 31, 0.15) 0%, rgba(23, 26, 31, 0.35) 55%, rgba(23, 26, 31, 0.75) 100%);
}

.hero--foto .hero-inhalt .rufzeichen-gross,
.hero--foto .hero-inhalt .slogan {
  color: var(--text-hell);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-sonne {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 61, 0.9) 0%, rgba(232, 168, 61, 0.35) 55%, rgba(232, 168, 61, 0) 75%);
  filter: blur(1px);
}

.wolke {
  position: absolute;
  z-index: 1;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  filter: blur(6px);
}

.wolke--1 { top: 16%; width: 160px; height: 40px; left: -200px; animation: wolke-drift 50s linear infinite; }
.wolke--2 { top: 26%; width: 110px; height: 30px; left: -160px; animation: wolke-drift 70s linear infinite; animation-delay: -20s; opacity: 0.8; }

@keyframes wolke-drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 250px)); }
}

.adler-flug {
  position: absolute;
  z-index: 1;
  top: 20%;
  left: -80px;
  width: 60px;
  color: rgba(23, 26, 31, 0.55);
  animation: adler-flug 34s linear infinite;
  animation-delay: 4s;
}
.adler-flug svg { width: 100%; height: auto; }

@keyframes adler-flug {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(calc(50vw + 40px), 4%); }
  100% { transform: translate(calc(100vw + 140px), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .wolke, .adler-flug { animation: none; }
}

.berge {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  will-change: transform;
}

.bergschicht {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.bergschicht--fern {
  height: 26%;
  background: #7c9cbf;
  opacity: 0.55;
  clip-path: polygon(0% 100%, 0% 65%, 10% 80%, 20% 45%, 32% 70%, 44% 35%, 56% 60%, 68% 30%, 80% 62%, 90% 40%, 100% 58%, 100% 100%);
}

.bergschicht--fern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, transparent 14%);
  clip-path: inherit;
}

.bergschicht--mitte {
  height: 36%;
  background: #4f6f8f;
  opacity: 0.75;
  clip-path: polygon(0% 100%, 0% 55%, 12% 72%, 24% 30%, 36% 58%, 48% 18%, 60% 48%, 72% 22%, 84% 55%, 94% 32%, 100% 50%, 100% 100%);
}

.bergschicht--mitte::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, transparent 11%);
  clip-path: inherit;
}

.bergschicht--nah {
  height: 38%;
  background: var(--fels);
  clip-path: polygon(0% 100%, 0% 60%, 10% 75%, 22% 45%, 34% 65%, 44% 30%, 50% 10%, 56% 30%, 66% 65%, 78% 45%, 90% 75%, 100% 60%, 100% 100%);
}

.bergschicht--nah::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(232, 168, 61, 0.4) 8%, transparent 26%);
  clip-path: inherit;
}

.waldrand {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 9%;
  background: #1c2b22;
  clip-path: polygon(0.00% 30%,2.50% 100%,5.00% 30%,7.50% 100%,10.00% 30%,12.50% 100%,15.00% 30%,17.50% 100%,20.00% 30%,22.50% 100%,25.00% 30%,27.50% 100%,30.00% 30%,32.50% 100%,35.00% 30%,37.50% 100%,40.00% 30%,42.50% 100%,45.00% 30%,47.50% 100%,50.00% 30%,52.50% 100%,55.00% 30%,57.50% 100%,60.00% 30%,62.50% 100%,65.00% 30%,67.50% 100%,70.00% 30%,72.50% 100%,75.00% 30%,77.50% 100%,80.00% 30%,82.50% 100%,85.00% 30%,87.50% 100%,90.00% 30%,92.50% 100%,95.00% 30%,97.50% 100%,100.00% 30%,100% 100%,0% 100%);
}

.gipfelkreuz {
  width: 30px;
  margin: 6px auto 22px;
  color: var(--fels-dunkel);
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.6));
  opacity: 0.95;
}
.gipfelkreuz svg { width: 100%; height: auto; }

.gipfel-foto {
  width: clamp(150px, 20vw, 220px);
  height: clamp(150px, 20vw, 220px);
  margin: 10px auto 26px;
  border-radius: 50%;
  border: 6px solid var(--schnee);
  box-shadow: 0 0 0 4px var(--gold), var(--schatten);
  overflow: hidden;
}

.gipfel-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inhalt {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 20px 40px;
  width: 100%;
}

.hero-inhalt .rufzeichen-gross {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--fels-dunkel);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.hero-inhalt .slogan {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--fels-dunkel);
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 22px;
}

.spruch-band {
  display: inline-block;
  background: rgba(38, 43, 51, 0.85);
  color: var(--text-hell);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(232, 168, 61, 0.5);
}

.spruch-band .gold { color: var(--gold); }

.qrv-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 4px auto 20px;
}

.qrv-status--aktiv {
  background: #22c55e;
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.45);
}

.qrv-status--inaktiv {
  background: var(--tirol-rot-dunkel);
  box-shadow: 0 4px 18px rgba(156, 12, 35, 0.35);
}

.qrv-punkt {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.qrv-status--aktiv .qrv-punkt { animation: qrv-pulse 1.6s ease-in-out infinite; }

@keyframes qrv-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

@media (prefers-reduced-motion: reduce) {
  .qrv-status--aktiv .qrv-punkt { animation: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--schrift);
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--tirol-rot);
  color: #fff;
}
.btn-primary:hover { background: var(--tirol-rot-dunkel); }

.btn-outline {
  background: transparent;
  border-color: var(--fels);
  color: var(--fels);
}
.btn-outline:hover { background: var(--fels); color: #fff; }

.btn-klein { padding: 6px 14px; font-size: 0.85rem; border-radius: 6px; }
.btn-gefahr { background: var(--tirol-rot-dunkel); color: #fff; }
.btn-gruen { background: var(--alpen-gruen); color: #fff; }

/* ---------- Straßen-Trenner (Alpenpass-Motiv) ---------- */

.strassen-trenner {
  height: 64px;
  background: var(--schnee-dunkel);
  position: relative;
  overflow: hidden;
}

.strassen-trenner svg {
  width: 100%;
  height: 100%;
  display: block;
}

.strasse-belag {
  fill: none;
  stroke: var(--strasse);
  stroke-width: 30;
  stroke-linecap: round;
}

.strasse-linie {
  fill: none;
  stroke: var(--strassenlinie);
  stroke-width: 2.5;
  stroke-dasharray: 16 14;
  stroke-linecap: round;
}

/* ---------- Sektionen ---------- */

.section {
  padding: 60px 0;
  background: rgba(247, 249, 251, 0.94);
}

.section-titel {
  text-align: center;
  margin-bottom: 40px;
}

.section-titel h2 {
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-titel svg { width: 28px; height: 28px; color: var(--tirol-rot); }

.section--fels {
  background: rgba(38, 43, 51, 0.93);
  color: var(--text-hell);
}
.section--fels .section-titel h2 { color: var(--text-hell); }

/* Kartentitel liegen immer auf weißem Kartenhintergrund, unabhängig von der
   umgebenden Section – deshalb hier unabhängig von .section--fels immer dunkel. */
.karte-inhalt h3 { color: var(--fels); }

/* ---------- Karten (Kategorien / Beiträge) ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.karte {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.karte:hover { transform: translateY(-4px); }

.karte-kopf {
  height: 6px;
  background: var(--tirol-rot);
}

.karte-kopf--bild {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.karte-inhalt { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.kategorie-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 10px;
  align-self: flex-start;
}

.karte-datum { font-size: 0.85rem; color: #777; margin-top: auto; padding-top: 10px; }

.beitrag-auszug { color: #444; flex: 1; }

/* ---------- Logbuch-Tabelle ---------- */

.tabelle-wrapper { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--schatten); }

table.logbuch {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 640px;
}

table.logbuch th {
  background: var(--fels);
  color: var(--text-hell);
  text-align: left;
  padding: 12px 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.logbuch td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  font-size: 0.92rem;
}

table.logbuch tr:last-child td { border-bottom: none; }
table.logbuch tr:hover td { background: #faf6ec; }

.stern-bestaetigt { display: inline-flex; vertical-align: -2px; cursor: help; }
.stern-bestaetigt svg { width: 15px; height: 15px; color: var(--gold); }

.logbuch-suche { margin-bottom: 24px; }
.logbuch-suche-felder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.logbuch-suche-felder label { margin: 0 0 6px; }

.hinweis-box {
  background: #fff7e6;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  color: #6b4e0f;
}

.hinweis-box.fehler {
  background: #fdecec;
  border-color: var(--tirol-rot);
  color: var(--tirol-rot-dunkel);
}

/* ---------- Footer ---------- */

.site-footer {
  background: rgba(23, 26, 31, 0.95);
  color: rgba(247, 249, 251, 0.75);
  padding: 40px 0 24px;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer .spruch-footer {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.site-footer a { color: rgba(247, 249, 251, 0.9); }

.footer-recht { margin-top: 10px; font-size: 0.82rem; opacity: 0.7; }
.footer-recht a { color: rgba(247, 249, 251, 0.75); }

.vereine-footer { margin: 6px 0 22px; }
.vereine-footer-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
  margin: 0 0 12px;
}
.vereine-footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.vereine-footer-logos img {
  max-height: 80px;
  max-width: 220px;
  width: auto;
  filter: grayscale(15%);
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.vereine-footer-logos a:hover img { opacity: 1; }
.vereine-footer-logos .verein-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(247, 249, 251, 0.8);
  border: 1px solid rgba(247, 249, 251, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
}

.theme-trenner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 18px;
  opacity: 0.85;
}
.theme-trenner .linie { height: 1px; width: 60px; background: rgba(247, 249, 251, 0.25); }
.theme-trenner .linie-kurz { height: 1px; width: 18px; background: rgba(247, 249, 251, 0.25); }
.theme-trenner svg { width: 22px; height: 22px; }
.theme-trenner .trenner-icon--natur svg { color: var(--schnee); }
.theme-trenner .trenner-icon--motorrad svg { color: var(--leder-braun-hell); }
.theme-trenner .trenner-icon--funk svg { color: var(--gold); }

.theme-trenner--hell .linie, .theme-trenner--hell .linie-kurz { background: #ddd; }
.theme-trenner--hell .trenner-icon--natur svg { color: var(--tirol-rot); }
.theme-trenner--hell .trenner-icon--motorrad svg { color: var(--leder-braun); }
.theme-trenner--hell .trenner-icon--funk svg { color: var(--alpen-gruen); }

/* ---------- Einzelbeitrag / Kontakt ---------- */

.beitrag-inhalt {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 34px;
  max-width: 800px;
  margin: 0 auto;
}

.beitrag-bild {
  width: 100%;
  border-radius: 10px;
  margin: 16px 0 22px;
  max-height: 420px;
  object-fit: cover;
}

.anhaenge-box {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.anhaenge-box h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.anhaenge-box h3 svg { width: 20px; height: 20px; color: var(--tirol-rot); }

.anhang-download-liste { list-style: none; padding: 0; margin: 0; }
.anhang-download-liste li { margin-bottom: 8px; }
.anhang-download-liste a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--schnee-dunkel);
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-dunkel);
  font-weight: 600;
}
.anhang-download-liste a:hover { background: #e5ecf1; text-decoration: none; }
.anhang-download-liste svg { width: 18px; height: 18px; color: var(--alpen-gruen); }

.beitrag-inhalt p { margin: 0 0 1em; }

.rechtstext h3 { margin-top: 28px; font-size: 1.05rem; }
.rechtstext h3:first-of-type { margin-top: 10px; }
.rechtstext .hinweis-box { margin-bottom: 24px; }

.platzhalter {
  background: #fff3cd;
  color: #7a5c00;
  padding: 1px 6px;
  border-radius: 4px;
  font-style: italic;
}

.breadcrumb { margin-bottom: 20px; font-size: 0.9rem; }

.kontakt-karte {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 34px;
  text-align: center;
}

.ueber-mich-text { text-align: left; margin-bottom: 20px; }
.ueber-mich-text p { margin: 0 0 1em; }

.ueber-mich-teaser {
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: 760px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.ueber-mich-teaser-foto {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--schatten);
  border: 5px solid #fff;
}
.ueber-mich-teaser-foto img { width: 100%; height: 100%; object-fit: cover; }

.ueber-mich-teaser-inhalt { flex: 1; min-width: 260px; text-align: center; }
.ueber-mich-teaser-inhalt h2 { display: inline-flex; align-items: center; gap: 10px; }
.ueber-mich-teaser-inhalt h2 svg { color: var(--tirol-rot); width: 26px; height: 26px; }
.ueber-mich-teaser-inhalt p { color: #444; margin-bottom: 20px; }

@media (min-width: 640px) {
  .ueber-mich-teaser-inhalt { text-align: left; }
  .ueber-mich-teaser-inhalt h2 { display: flex; }
}

.hobby-hinweis {
  margin-top: 22px;
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hobby-hinweis svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--leder-braun); }

/* ---------- Formulare (Admin) ---------- */

.formular label {
  display: block;
  font-weight: 700;
  margin: 16px 0 6px;
  font-size: 0.9rem;
}

.formular input[type=text],
.formular input[type=password],
.formular input[type=email],
.formular input[type=date],
.formular input[type=color],
.formular select,
.formular textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #d6dde3;
  border-radius: 8px;
  font-family: var(--schrift);
  font-size: 0.95rem;
}

.formular textarea { min-height: 180px; resize: vertical; }
.formular .hilfetext { font-size: 0.82rem; color: #777; margin-top: 4px; }
.formular .aktionen { margin-top: 24px; display: flex; gap: 10px; }

.formular label svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; color: var(--tirol-rot); }

.formular input[type=file] {
  width: 100%;
  padding: 8px;
  border: 1.5px dashed #c7d0d8;
  border-radius: 8px;
  background: #fafcfd;
  font-size: 0.88rem;
}

.upload-vorschau { margin-bottom: 10px; }
.upload-vorschau img {
  max-width: 220px;
  max-height: 140px;
  border-radius: 8px;
  box-shadow: var(--schatten);
  margin-bottom: 8px;
}

.checkbox-zeile {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.88rem;
  margin: 0;
}
.checkbox-zeile svg { width: 15px; height: 15px; color: #888; }

.anhang-liste { list-style: none; padding: 0; margin: 6px 0; }
.anhang-liste li { padding: 4px 0; }

.admin-thumb { width: 52px; height: 38px; object-fit: cover; border-radius: 6px; }

/* ---------- Admin-Layout ---------- */

.admin-body { min-height: 100vh; }
.admin-main { background: rgba(247, 249, 251, 0.4); }

.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 230px;
  background: var(--fels-dunkel);
  color: var(--text-hell);
  padding: 24px 16px;
  flex-shrink: 0;
}

.admin-sidebar .logo { margin-bottom: 16px; font-size: 1.1rem; }
.admin-sidebar .logo svg { width: 28px; height: 28px; }

.sidebar-uhr {
  font-size: 0.78rem;
  color: rgba(247, 249, 251, 0.65);
  border-top: 1px solid rgba(247, 249, 251, 0.15);
  border-bottom: 1px solid rgba(247, 249, 251, 0.15);
  padding: 10px 4px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-uhr div { display: flex; align-items: center; gap: 6px; }
.sidebar-uhr svg { width: 13px; height: 13px; flex-shrink: 0; }

.admin-nav a {
  display: block;
  color: rgba(247, 249, 251, 0.85);
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.admin-nav a:hover, .admin-nav a.aktiv {
  background: var(--tirol-rot);
  color: #fff;
  text-decoration: none;
}

.admin-main { flex: 1; padding: 34px; max-width: 980px; }

.admin-kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 26px;
  margin-bottom: 24px;
}

.admin-login-seite {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--himmel-oben), var(--himmel-unten));
  position: relative;
  overflow: hidden;
}

.admin-login-box {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 40px;
  width: 100%;
  max-width: 380px;
}

.admin-login-box .logo { color: var(--fels); justify-content: center; margin-bottom: 10px; }
.admin-login-box h1 { font-size: 1.3rem; text-align: center; }

table.admin-tabelle { width: 100%; border-collapse: collapse; }
table.admin-tabelle th, table.admin-tabelle td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}
table.admin-tabelle th { font-size: 0.8rem; text-transform: uppercase; color: #888; }
table.admin-tabelle .aktionen-zelle { display: flex; gap: 8px; white-space: nowrap; }

.badge-farbe {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.meldung {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}
.meldung.erfolg { background: #e7f5ee; color: var(--alpen-gruen); border: 1px solid var(--alpen-gruen-hell); }
.meldung.fehler { background: #fdecec; color: var(--tirol-rot-dunkel); border: 1px solid var(--tirol-rot); }

.leer-hinweis { color: #888; font-style: italic; padding: 30px 0; text-align: center; }

@media (max-width: 760px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-main { padding: 20px; }
}
