/* style.css – Redesign LIBER */

/* Design Tokens */
:root {
  --bg: #f5efe8;
  --card: #ffffff;
  --accent: #c89a74;
  --accent-soft: #e6d3c1;
  --text: #222222;
  --muted: #6c6c6c;
  --border: #e0d4c7;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.06);
  --shadow-strong: 0 22px 55px rgba(0, 0, 0, 0.14);
  --radius-lg: 24px;
  --radius-md: 18px;
  --transition-fast: 160ms ease-out;
  --transition: 220ms ease-out;
}

/* Reset / Base */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #faf4ee 0, #f0e6dc 42%, #f5efe8 100%);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* Simple fade-up animation */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Top Bar / Logo */

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(224, 210, 195, 0.8);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
  animation: fadeUp 0.5s ease-out both;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f4ebe3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-mark img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.brand-text {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.18em;
  font-size: 11px;
  text-transform: uppercase;
}

.brand-subline {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.top-contact {
  display: none;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

.top-contact a {
  font-weight: 500;
}

/* Layout: Hero + Logo nebeneinander, gleiche Höhe */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: 40px;
  align-items: stretch;
  margin-top: 32px;
}

/* Karten-Basis (Hero, Side-Panel, Card, Treatment) */

.hero,
.side-panel,
.card,
.treatment {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 210, 195, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition),
    filter var(--transition-fast);
  will-change: transform, box-shadow, filter;
}

.hero:hover,
.side-panel:hover,
.card:hover,
.treatment:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(200, 154, 116, 0.9);
  background: #fffaf4;
  filter: saturate(1.02);
}

/* Hero */

.hero {
  padding: 32px 26px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(252, 244, 236, 0.98)
    );
  backdrop-filter: blur(10px);
  overflow: hidden;
  animation: fadeUp 0.6s ease-out both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px;
  background:
    radial-gradient(circle at top right, rgba(200, 154, 116, 0.18), transparent 55%),
    radial-gradient(circle at bottom left, rgba(224, 202, 180, 0.4), transparent 60%);
  opacity: 0.7;
  z-index: -1;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3.1vw, 38px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 24px;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 500;
}

/* Buttons */

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.btn {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  background: #b6845c;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(200, 154, 116, 0.6);
  color: var(--text);
}

.btn-ghost:hover {
  background: #f6ece1;
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(246, 236, 225, 0.96);
  border: 1px solid rgba(222, 199, 176, 0.9);
  font-size: 11px;
  margin-top: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Side Panel / Logo */

.side-panel {
  padding: 26px 24px 24px;
  border-radius: var(--radius-lg);
  background: rgba(252, 247, 242, 0.98);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(180, 152, 125, 0.18);
  animation: fadeUp 0.6s ease-out 60ms both;
}

.side-panel::before {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(circle at 20% 0, rgba(200, 154, 116, 0.25), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(230, 203, 180, 0.8), transparent 55%);
  mix-blend-mode: multiply;
  opacity: 0.55;
  z-index: -1;
}

.logo-frame {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(222, 204, 185, 0.8);
  padding: 26px 22px 22px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.logo-main {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.side-caption {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.side-caption span {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

/* Sections & Headings */

section {
  margin-top: 64px;
}

#start {
  margin-top: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title {
  position: relative;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-sub {
  font-size: 13px;
  color: var(--muted);
  max-width: 380px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 154, 116, 0.45);
  background: rgba(250, 243, 236, 0.95);
  color: var(--muted);
}

.pill strong {
  color: var(--text);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 28px;
}

.card {
  border-radius: var(--radius-md);
  padding: 20px 20px 18px;
  background: rgba(255, 255, 255, 0.98);
  animation: fadeUp 0.55s ease-out both;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

.card p {
  font-size: 14px;
  color: var(--muted);
}

.owner {
  font-size: 14px;
  margin-top: 10px;
}

.owner strong {
  font-weight: 600;
}

.owner span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.list-compact {
  list-style: none;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.list-compact li + li {
  margin-top: 4px;
}

/* Treatments (Beauty-Highlights) */

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.treatment {
  padding: 18px 16px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

.treatment::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at top right, rgba(200, 154, 116, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}

.treatment:hover::before {
  opacity: 1;
}

.treatment h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.treatment-tagline {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.treatment-price {
  font-size: 13px;
  margin-bottom: 6px;
  font-weight: 500;
}

.treatment-price span {
  color: var(--muted);
  font-weight: 400;
}

.treatment-note {
  font-size: 11px;
  color: var(--muted);
}

/* Kooperation */

.cooperation-list {
  list-style: none;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

.cooperation-list li + li {
  margin-top: 4px;
}

.coop-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* Kontakt / Footer */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 26px;
}

.contact-details p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-details strong {
  color: var(--text);
}

.contact-details a {
  font-weight: 500;
}

.contact-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.contact-columns span {
  display: block;
}

.contact-mail {
  margin-top: 6px;
}

.contact-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(214, 194, 174, 0.7);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* Weitere Leistungen – Kartenlayout */

#leistungen .about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

#leistungen .card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

#leistungen .card .list-compact {
  margin-top: 8px;
}

#leistungen .card p:last-child,
#leistungen .card .extra-price {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding-top: 10px;
  border-top: 1px solid rgba(224, 210, 195, 0.7);
}

/* Breite Karte in "Weitere Leistungen" (z.B. Beratung) */
@media (min-width: 901px) {
  #leistungen .about-grid .card-wide {
    grid-column: span 2;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .treatments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-panel {
    order: -1;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .top-contact {
    display: block;
  }

  #leistungen .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main {
    padding: 20px 16px 60px;
  }

  .hero {
    padding: 24px 20px 20px;
  }

  .side-panel {
    padding: 22px 18px 18px;
  }

  .treatments-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  #leistungen .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Vollbreites Hintergrundbild */
.hero-fullbg {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* Trick: über gesamte Fensterbreite */
  background-image: url("/images/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 100px;
  position: relative;
}

/* Sanftes Overlay */
.hero-fullbg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 236, 0.55);
  backdrop-filter: blur(2px);
}

/* Inhalt bleibt wie gewohnt zentriert */
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
/* ---------------------------------------------------
   HERO – Fade-In + Parallax + Mobile Optimierung
--------------------------------------------------- */

/* HERO Hintergrund Animation */
.hero-fullbg {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFade 1.8s ease-out forwards;
  animation-delay: .1s;

  /* Parallax Wirkung */
  background-attachment: fixed;
}

/* Fade-in Keyframes */
@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Etwas stärkerer Blur-Overlay bei Bildhintergrund */
.hero-fullbg::before {
  background: rgba(255, 246, 238, 0.58);
  backdrop-filter: blur(4px);
}

/* -------------------------------------------
   Mobile: Parallax OFF (sonst wackelt iOS),
   Bild anders zuschneiden
------------------------------------------- */
@media (max-width: 900px) {

  .hero-fullbg {
    background-attachment: scroll; /* Parallax deaktiviert */
    background-position: top center;
    background-size: cover;
  }
}

@media (max-width: 600px) {

  .hero-fullbg {
    background-image: url("/images/hero-bg-mobile.png"); 
    /* Falls du eine eigene mobile Version willst */
    
    padding: 60px 0 70px;
    background-position: center top;
  }

  .hero-inner {
    padding: 0 18px;
  }
}
/* VOLLBREITES HERO-HINTERGRUNDBILD */
.hero-bg {
  width: 100vw;
  height: 750px; /* Höhe anpassbar */
  margin-left: calc(50% - 50vw);

  background-image: url("images/hero-bg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  position: relative;
  z-index: 1;
}

/* leichter soften Look für Eleganz */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 247, 240, 0.45);
  backdrop-filter: blur(2px);
}
/* TITEL ÜBER DEM HERO-BILD */
.hero-bg-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 5;
  width: 90%;
  max-width: 900px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.hero-bg-eyebrow {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.95;
  margin-bottom: 10px;
  font-weight: 500;
}

.hero-bg-headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
}
/* -------------------------------------------
   NAVIGATION – Elegant Premium
------------------------------------------- */

.nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 14px 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224, 210, 195, 0.6);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--text);
  font-weight: 600;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 100px;
}

/* Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 26px;
  align-items: center;
}

.nav-item a,
.dropdown-btn {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 4px;
  transition: color 180ms ease;
}

.nav-item a:hover,
.dropdown-btn:hover {
  color: var(--accent);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 34px;
  left: 0;
  min-width: 260px;

  background: #fff;
  border-radius: 14px;
  padding: 10px 0;
  border: 1px solid rgba(224, 210, 195, 0.8);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.25s ease;

  display: flex;
  flex-direction: column;
}

.dropdown-menu li a {
  padding: 10px 16px;
  font-size: 14px;
  display: block;
  transition: background 0.2s;
}

.dropdown-menu li a:hover {
  background: rgba(200,154,116,0.10);
  color: var(--accent);
}

/* Hover aktiviert Drop-down */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}
/* Hamburger Icon */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 34px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
}

.nav-toggle span {
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Mobile Navigation Menü */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: -12px 0 40px rgba(0,0,0,0.12);
  padding: 60px 30px;
  transition: right 0.35s ease;
  z-index: 9998;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav.open {
  right: 0;
}

/* Hamburger Animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Nur auf Mobil Geräten */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
}
.section-title::after {
  display: none !important;
}
/* Kontaktformular – optimiert */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  font-size: 1rem;
  background: #fafafa;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #a98967;
  background: white;
}

.contact-form button {
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  background: #a98967;
  color: white;
  border: none;
  transition: background 0.25s ease, opacity 0.25s;
}

.contact-form button:hover {
  background: #8a7253;
}

.contact-form button:active {
  opacity: 0.8;
}
.map-container iframe {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
}
/* Navigation Dropdown – neues Design */
.nav-item.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
}

.dropdown-menu {
  position: absolute;
  top: 2.2rem;
  left: 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  list-style: none;
  display: none;
  min-width: 280px;
  z-index: 99;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 0.2rem;
  font-size: 0.97rem;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.dropdown-menu li a:hover {
  background: #f5f1ed;
}
/* Mobile Navigation Standard versteckt */
.mobile-nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Wenn geöffnet → anzeigen */
.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-nav a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger sichtbar machen unter 900px */
@media screen and (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
  }
}
/* ------------------------------
   MOBILE NAVIGATION (Variante C)
--------------------------------*/

/* Hamburger Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  padding: 10px;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animation → Hamburger wird zu X */
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Container */
.mobile-nav {
  display: none;
  background: #ffffff;
  padding: 1.6rem 1.4rem;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  animation: dropdownFade 0.32s ease forwards;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 1000;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin-bottom: 1.1rem;
}

.mobile-nav li.mobile-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 0.4rem;
  color: #a98967;
}

.mobile-nav a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: #a98967;
}

/* Desktop Hide / Mobile Show */
@media screen and (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
/* -------------------------------------------------------
   ANIMATIONEN – LIBER SOFT MOTION SET
------------------------------------------------------- */

/* Soft Fade-Up (global) */
.fade-soft {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeSoft 0.8s ease-out forwards;
}

.fade-soft-delayed {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeSoft 1.1s ease-out forwards;
}

@keyframes fadeSoft {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card, Hero, Panel – Lift Hover */
.card,
.hero,
.side-panel {
  transition: transform .28s ease, box-shadow .28s ease;
}

.card:hover,
.hero:hover,
.side-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(0,0,0,0.12);
}

/* Button Hover – kleine Bewegung */
.btn {
  transition: transform .22s ease, background .22s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

/* Desktop Dropdown – Slide Fade */
.dropdown-menu {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Navigation – Soft Slide Down */
.mobile-nav {
  animation: mobileSlide .35s ease forwards;
}

@keyframes mobileSlide {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero Background – Gentle Zoom Fade */
.hero-bg {
  animation: heroZoom 1.4s ease forwards;
  opacity: 0;
}

@keyframes heroZoom {
  0% { opacity: 0; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}
/* Mobile Navigation – fester Hintergrund ohne Transparenz */
.mobile-nav {
  background: var(--bg) !important;   /* gleiche Farbe wie Seite */
  padding: 1.6rem;
  box-shadow: 0 12px 34px rgba(0,0,0,0.1);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Entfernt jede mögliche Transparenz */
.mobile-nav::before,
.mobile-nav::after {
  display: none !important;
  background: none !important;
  backdrop-filter: none !important;
}
/* -------------------------------------------------------
   FORCE NON-TRANSPARENT MOBILE NAVIGATION (FINAL FIX)
------------------------------------------------------- */

.mobile-nav {
  background: var(--bg) !important;      /* deckend */
  backdrop-filter: none !important;      /* Transparenzfilter aus */
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

/* Falls ältere definierte Layer Effekte hatten → entfernen */
.mobile-nav::before,
.mobile-nav::after {
  content: none !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* -------------------------------------------------------
   MOBILE NAVIGATION FINAL FIX – NICHT TRANSPARENT
------------------------------------------------------- */

.mobile-nav {
  position: fixed !important;        /* statt absolute */
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 100vh !important;          /* voller Bildschirm */
  background: var(--bg) !important;  /* deckend */
  padding-top: 90px !important;      /* Abstand unter dem Nav-Bar */
  overflow-y: auto !important;       /* Scrollbar falls nötig */
  z-index: 99999 !important;         /* über allem */
  opacity: 1 !important;             /* keine Transparenz */
  backdrop-filter: none !important;  /* Blur sicher aus */
  -webkit-backdrop-filter: none !important;
}

.mobile-nav::before,
.mobile-nav::after {
  display: none !important;
}

/* Hamburger Menü bleibt oben */
.hamburger {
  z-index: 100000 !important;
}

/* Desktop-Nav bei geöffnetem Menü nicht anklickbar */
.mobile-nav.open + .nav,
.nav.open {
  pointer-events: none;
}
.mobile-nav {
  background: var(--bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* ----------------------------------------------
   FINAL FIX – HAMBURGER AUF ALLEN UNTERSEITEN
---------------------------------------------- */
@media (max-width: 900px) {

  /* Hamburger dauerhaft sichtbar */
  .hamburger {
    display: flex !important;
    z-index: 10000 !important;
  }

  /* Desktop-Menü ausblenden */
  .nav-links {
    display: none !important;
  }

  /* Mobile-Menü Standard */
  .mobile-nav {
    display: none;
  }

  .mobile-nav.open {
    display: block !important;
  }
}
/* NOTFALLFIX – Hamburger immer sichtbar */
.hamburger {
  display: flex !important;
  position: relative !important;
  z-index: 999999 !important;
  background: none !important;
}

.nav-links {
  display: none !important;
}
nav, .nav, .nav-inner {
  z-index: 999990 !important;
  position: relative !important;
}
/* FIX: Mobile Navigation sichtbar auf Unterseiten */
.nav {
  background: var(--bg) !important;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000 !important;
}

/* Hamburger immer sichtbar */
.hamburger {
  display: flex !important;
  z-index: 10001 !important;
}

/* Mobile Navigation Hintergrund NICHT transparent */
.mobile-nav {
  background: var(--bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}
/* ABSOLUTER FIX – Hamburger immer sichtbar */
.nav {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg) !important;
  z-index: 999999 !important;
}

/* Hamburger über ALLEM */
.hamburger {
  display: flex !important;
  position: relative !important;
  z-index: 1000000 !important;
  background: none !important;
}

/* Elemente unter der Navigation dürfen NICHT darüber liegen */
body *:not(.nav):not(.nav *) {
  position: relative;
  z-index: 1;
}

/* Mobile Navigation Hintergrund */
.mobile-nav {
  background: var(--bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: none;
  z-index: 999998 !important;
}

.mobile-nav.open {
  display: block !important;
}
/* COOKIE BANNER OBEN FIXIERT */
.cookie-banner-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffffee;
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: none;
  z-index: 999999;
  border-bottom: 1px solid rgba(0,0,0,0.08);

  animation: cookieSlide 0.35s ease-out forwards;
}

/* Text */
.cookie-banner-top p {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: #333;
}

/* Buttons */
.cookie-btns {
  display: flex;
  gap: 10px;
}

.cookie-banner-top button {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

#cookieAccept {
  background: var(--accent);
  color: #fff;
}

#cookieDecline {
  background: #e7e1db;
}

/* Sanfter Slide-Down */
@keyframes cookieSlide {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
