*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ============================================================
   DARK THEME  (Standard)
   ============================================================ */

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background:
    radial-gradient(ellipse 80% 78% at 50% 0%,
      rgba(120,150,220,0.27) 0%,
      transparent 82%),
    #121624;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #e8e8e8;
}

@media (min-width: 700px) {
  body {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.card {
  position: relative;
  text-align: center;
  padding: 3rem 4rem;
  background:
    radial-gradient(ellipse 70% 85% at 50% 0%,
      rgba(120,150,220,0.20) 0%,
      transparent 85%),
    rgba(18,22,36,0.96);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0  24px  48px  -8px rgba(0,0,0,0.85),
    0  80px 160px -15px rgba(0,0,0,0.68),
    0 220px 400px -25px rgba(0,0,0,0.45),
    0 520px 680px -40px rgba(0,0,0,0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 480px;
  width: 83%;
}

.card__photo {
  cursor: pointer;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  padding: 1.9rem;
  background:
    radial-gradient(circle at 50% 30%,
      rgba(120,150,220,0.28) 0%,
      rgba(18,22,36,0.0) 70%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 6px 22px rgba(0,0,0,0.45);
  transition: transform 0.3s ease;
}

.card__photo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ============================================================
   BRIGHT THEME  (indirektes Licht)
   ============================================================ */

body.theme-dark {
  background:
    radial-gradient(ellipse 160% 100% at 50% 50%,
      rgba(110,140,215,0.28) 0%,
      rgba(80,110,190,0.10) 45%,
      transparent 70%),
    #0e111d;
}

body.theme-dark .card {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%,
      rgba(120,150,220,0.20) 0%,
      transparent 70%),
    rgba(12,15,26,0.97);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 2px  1px  rgba(210,225,255,1.00),
    0 0 8px  3px  rgba(190,210,255,0.90),
    0 0 55px 18px rgba(130,160,240,0.30),
    0 0 140px 50px rgba(100,130,215,0.22),
    0 0 300px 100px rgba(80,110,200,0.12),
    0 8px 32px rgba(0,0,0,0.45);
}

body.theme-dark .btn--primary {
  box-shadow: 0 4px 24px rgba(232,93,0,0.55), 0 0 12px rgba(232,93,0,0.30);
}

body.theme-dark .btn--green {
  box-shadow: 0 4px 24px rgba(47,143,84,0.50), 0 0 12px rgba(47,143,84,0.28);
}

body.theme-dark .btn--jonah {
  box-shadow: 0 4px 24px rgba(124,58,237,0.55), 0 0 12px rgba(124,58,237,0.30);
}

body.theme-dark .btn--blue {
  box-shadow: 0 4px 24px rgba(11,125,114,0.55), 0 0 12px rgba(11,125,114,0.30);
}

body.theme-dark .btn--wood {
  box-shadow: 0 4px 24px rgba(45,27,13,0.65), 0 0 10px rgba(138,90,50,0.35);
}

body.theme-dark .btn--kronkorken {
  box-shadow: 0 4px 24px rgba(201,154,46,0.55), 0 0 12px rgba(201,154,46,0.30);
}

body.theme-dark .btn--enduro {
  box-shadow: 0 4px 24px rgba(242,140,0,0.50), 0 0 12px rgba(16,207,224,0.30);
}

body.theme-dark .btn--holzwerkstatt {
  box-shadow: 0 4px 24px rgba(90,58,26,0.55), 0 0 10px rgba(217,167,101,0.35);
}

body.theme-dark .btn--secondary {
  box-shadow: 0 0 10px rgba(247,198,0,0.25);
}

body:not(.theme-dark) .card__photo {
  animation: photo-pulse 10s ease-in-out infinite;
}

@keyframes photo-pulse {
  0%, 30%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 6px 22px rgba(0,0,0,0.45),
      0 0   2px  1px  rgba(210,225,255,0.00),
      0 0   8px  3px  rgba(190,210,255,0.00),
      0 0  45px 14px rgba(130,160,240,0.00),
      0 0 110px 40px rgba(100,130,215,0.00);
  }
  15% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 6px 22px rgba(0,0,0,0.45),
      0 0   2px  1px  rgba(210,225,255,0.26),
      0 0   8px  3px  rgba(190,210,255,0.23),
      0 0  45px 14px rgba(130,160,240,0.073),
      0 0 110px 40px rgba(100,130,215,0.047);
  }
}

body.theme-dark .card__photo {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 2px  1px  rgba(210,225,255,1.00),
    0 0 8px  3px  rgba(190,210,255,0.90),
    0 0 45px 14px rgba(130,160,240,0.28),
    0 0 110px 40px rgba(100,130,215,0.18),
    0 4px 18px rgba(0,0,0,0.38);
}

body.theme-dark .card__photo__img {
  filter:
    drop-shadow(0 0  3px rgba(255,210,100, 1.00))
    drop-shadow(0 0  9px rgba(255,155, 25, 0.90))
    drop-shadow(0 0 22px rgba(232, 93,  0, 0.65))
    drop-shadow(0 0 50px rgba(200, 55,  0, 0.32))
    drop-shadow(0 0 90px rgba(180, 35,  0, 0.14));
  animation: neon-flicker 12s step-end infinite;
}

@keyframes neon-flicker {
  /* AN: Dauerglow + kurze Erholungspunkte */
  0%, 54.9%, 55.3%, 55.9%, 64.1%, 64.5%, 100% {
    filter:
      drop-shadow(0 0  3px rgba(255,210,100, 1.00))
      drop-shadow(0 0  9px rgba(255,155, 25, 0.90))
      drop-shadow(0 0 22px rgba(232, 93,  0, 0.65))
      drop-shadow(0 0 50px rgba(200, 55,  0, 0.32))
      drop-shadow(0 0 90px rgba(180, 35,  0, 0.14));
  }
  /* AUS: kurz aus (je ~36ms bei 12s) */
  55%, 55.6%, 64.2% {
    filter:
      drop-shadow(0 0  1px rgba(255,210,100, 0.05))
      drop-shadow(0 0  2px rgba(255,155, 25, 0.03));
  }
}


/* ============================================================
   LAYOUT & TYPOGRAFIE
   ============================================================ */

.card__icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
}

.card__icon svg {
  width: 5rem;
  height: auto;
}

.card__photo:hover {
  transform: translateY(-3px) scale(1.04);
}

.card__title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.card__subtitle {
  color: #888;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.button-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: #e85d00;
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,93,0,0.35);
}

.btn--primary:hover {
  background: #ff6e10;
  box-shadow: 0 6px 28px rgba(232,93,0,0.5);
  transform: translateY(-1px);
}

.btn--secondary {
  position: relative;
  overflow: hidden;
  background: #2a2a2a;
  color: #aaa;
  border: 1px solid #f7c600;
}

/* Baustellenband oben und unten */
.btn--secondary::before,
.btn--secondary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(
    -45deg,
    #f7c600 0 10px,
    #1a1a1a 10px 20px
  );
}

.btn--secondary::before { top: 0; }
.btn--secondary::after  { bottom: 0; }

.btn--secondary:hover {
  background: #333;
  color: #e8e8e8;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(247,198,0,0.25);
}

.btn--blue {
  background: #0b7d72;
  color: #fff;
  box-shadow: 0 4px 20px rgba(11,125,114,0.35);
}

.btn--blue:hover {
  background: #095f57;
  box-shadow: 0 6px 28px rgba(11,125,114,0.5);
  transform: translateY(-1px);
}

.btn--jonah {
  background: #7c3aed;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.btn--jonah:hover {
  background: #6d28d9;
  box-shadow: 0 6px 28px rgba(124,58,237,0.5);
  transform: translateY(-1px);
}

.btn--green {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #2f8f54;
  color: #fff;
  box-shadow: 0 4px 20px rgba(47,143,84,0.28);
}

.btn--green:hover {
  background: #277a48;
  box-shadow: 0 6px 28px rgba(47,143,84,0.42);
  transform: translateY(-1px);
}

/* schräg liegende Windrose im Hintergrund */
.btn--green .compass {
  position: absolute;
  z-index: -1;
  left: 14px;
  top: 50%;
  width: 140px;
  height: 140px;
  transform: translateY(-50%) perspective(220px) rotateX(58deg) rotate(-18deg);
  transform-origin: center;
  opacity: 0.6;
  pointer-events: none;
}

.btn--neutral {
  background: rgba(255,255,255,0.05);
  color: #bbb;
  border: 1px solid rgba(255,255,255,0.11);
}

.btn--neutral:hover {
  background: rgba(255,255,255,0.09);
  color: #e8e8e8;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Holz-brauner Dachboden-Button mit Maserung */
.btn--wood {
  color: #f3e3cf;
  border: 1px solid rgba(60,36,18,0.6);
  background: linear-gradient(180deg, #8a5a32, #6b4423);
  box-shadow: 0 4px 18px rgba(45,27,13,0.45);
  text-shadow: 0 1px 1px rgba(40,24,12,0.5);
}

.btn--wood:hover {
  background: linear-gradient(180deg, #9a663a, #79502a);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(45,27,13,0.55);
}

/* Helle Holzoptik mit Maserung für den Holzwerkstatt-Button */
.btn--holzwerkstatt {
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(90,58,26,0.55);
  background: linear-gradient(180deg, #d9a765, #b9803f);
  box-shadow: 0 4px 18px rgba(90,58,26,0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.btn--holzwerkstatt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    100deg,
    rgba(90,58,26,0.14) 0 3px,
    transparent 3px 14px
  );
  pointer-events: none;
}

.btn--holzwerkstatt:hover {
  background: linear-gradient(180deg, #e3b479, #c48c4a);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(90,58,26,0.45);
}

/* Gebürstetes Gold-Blech wie in der KronkorkenCheck-App selbst:
   mehrere helle/dunkle Bänder statt eines simplen Verlaufs,
   plus eingeprägte Kante für den gewölbten Blech-Look. */
.btn--kronkorken {
  color: #2b1f05;
  border: 1px solid rgba(122,90,15,0.45);
  background: linear-gradient(160deg,
      #fdf1c4 0%, #e7c76e 16%, #b8892a 38%,
      #f6e5a8 52%, #cfa03c 70%, #9a7420 88%, #d9b256 100%);
  box-shadow: inset 0 1px 0 rgba(255,248,220,.55),
              inset 0 -1px 0 rgba(60,40,0,.4),
              0 4px 18px rgba(201,154,46,0.35);
  text-shadow: 0 1px 0 rgba(255,248,220,.4);
}

.btn--kronkorken:hover {
  background: linear-gradient(160deg,
      #fff8db 0%, #f0d27c 16%, #c4933a 38%,
      #ffefb8 52%, #d9ac46 70%, #a67f26 88%, #e6bd62 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,248,220,.6),
              inset 0 -1px 0 rgba(60,40,0,.4),
              0 6px 24px rgba(201,154,46,0.5);
}

/* EnduroTours – Teal/Orange mit diagonalem, weiß umrandetem Schnitt
   wie das Hintergrund-Motiv (Teal oben, Orange unten). */
.btn--enduro {
  color: #fff;
  background: linear-gradient(
    212deg,
    #10cfe0 0%,
    #10cfe0 52%,
    #ffffff 52%,
    #ffffff 54%,
    #f28c00 54%,
    #f28c00 100%
  );
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  box-shadow: 0 4px 20px rgba(242,140,0,0.35);
}

.btn--enduro:hover {
  background: linear-gradient(
    212deg,
    #22dcec 0%,
    #22dcec 52%,
    #ffffff 52%,
    #ffffff 54%,
    #ff9c10 54%,
    #ff9c10 100%
  );
  box-shadow: 0 6px 28px rgba(242,140,0,0.5);
  transform: translateY(-1px);
}

/* Light-Theme: kein farbiges Leuchten bei Buttons, nur dezenter Schatten */
body:not(.theme-dark) .btn--primary,
body:not(.theme-dark) .btn--blue,
body:not(.theme-dark) .btn--jonah,
body:not(.theme-dark) .btn--green,
body:not(.theme-dark) .btn--wood,
body:not(.theme-dark) .btn--holzwerkstatt,
body:not(.theme-dark) .btn--kronkorken,
body:not(.theme-dark) .btn--enduro {
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

body:not(.theme-dark) .btn--primary:hover,
body:not(.theme-dark) .btn--blue:hover,
body:not(.theme-dark) .btn--jonah:hover,
body:not(.theme-dark) .btn--green:hover,
body:not(.theme-dark) .btn--wood:hover,
body:not(.theme-dark) .btn--holzwerkstatt:hover,
body:not(.theme-dark) .btn--kronkorken:hover,
body:not(.theme-dark) .btn--enduro:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

body:not(.theme-dark) .btn--secondary:hover {
  box-shadow: none;
}


/* ============================================================
   DIVERSES
   ============================================================ */

.legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: #666;
  text-decoration: none;
  transition: color 0.15s;
}

.contact-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.contact-link:hover {
  color: #aaa;
}

.lang-toggle {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.lang-toggle button {
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3em 0.45em;
  border-radius: 3px;
  transition: color 0.15s;
  font-family: inherit;
}

.lang-toggle button.active       { color: #c4914f; }
.lang-toggle button:hover:not(.active) { color: #888; }

.lang-toggle .sep {
  color: #333;
  font-size: 0.65rem;
  user-select: none;
}

.badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #f7c600;
  color: #111;
  padding: 0.2em 0.5em;
  border-radius: 5px;
  border: 1px solid #111;
}