/* =========================================
   Scrollbar unsichtbar (weiterhin scrollbar)
========================================= */
body::-webkit-scrollbar { display: none; }
body {
  scrollbar-width: none;           /* Firefox */
  -ms-overflow-style: none;        /* IE/Edge Legacy */
}


/* =========================================
   Google Fonts
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol&family=Kalnia:wght@100..700&display=swap');


/* =========================================
   GLOBAL
========================================= */
html, body {
  margin: 0;
  height: 100%;
  background: #23380B;
  font-family: "Kaisei Decol", serif;
  overflow-x: hidden;              /* keine horizontale Scrollbar */
}


/* =========================================
   NAVBAR
   (Optik wie gehabt, feste Höhe für 100vh-Logik)
========================================= */
.navbar {
  background: #FDF6E7;
  margin: 20px 40px;               /* Abstand oben/unten + Seiten */
  padding: 15px 30px;
  border-radius: 25px;
  font-family: "Kalnia", serif;
  position: relative;
  z-index: 5;
  height: 60px;                    /* feste Höhe für exakte Header-Berechnung */
  display: grid;
  align-items: center;             /* Inhalte vertikal mittig in der Navbar */
}

.navbar nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* links – logo – rechts */
  align-items: center;
}

.navbar nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
}

.navbar nav ul li a {
  display: block;
  padding: 8px 18px;
  background: #23380B;
  color: #FDF6E7;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 23px;
  transition: .3s;
}
.navbar nav ul li a:hover { background: #4c662d; }

.nav-left  { display: flex; gap: 40px; justify-content: flex-start; }
.nav-right { display: flex; gap: 40px; justify-content: flex-end; }

.logo { text-align: center; }
.logo img {
  height: 60px;
  display: block;
  margin: 0 auto;
}

/* ===========================
   MOBILE MENU – EDEL / SMOOTH
=========================== */

/* Dropdown-Card */
.mobile-menu{
  display: grid;
  gap: 12px;
  position: absolute;
  left: 12px; 
  right: 12px;
  top: calc(100% + 10px);
  padding: 16px;
  background: rgba(253,246,231,0.92);            /* Creme mit Transparenz */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(35,56,11,.12);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

/* Einzelne Links als „Row Cards“ */
.mobile-menu a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(35,56,11,.10);
  color: #23380B;
  text-decoration: none;
  font-weight: 700;
  font-family: "Kalnia", serif;
  font-size: 18px;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.mobile-menu a::after{
  content: "›";                                     /* kleiner Pfeil nach rechts */
  font-size: 22px;
  line-height: 1;
  opacity: .75;
}
.mobile-menu a:hover{
  transform: translateX(4px);
  background: #23380B;
  color: #FDF6E7;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* Sichtbar-Status */
.mobile-menu.open{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Dunkles Overlay hinter dem Dropdown */
.mobile-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 90;                                      /* unter dem Menü, über Seite */
}
.mobile-overlay.open{
  opacity: 1;
  pointer-events: auto;
}

/* Hamburger-Button etwas edler */
.hamburger{
  display: none;                                     /* wird im Breakpoint sichtbar */
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(35,56,11,.08);
  cursor: pointer;
}
.hamburger span{
  display: block;
  height: 2px; width: 22px;
  background: #23380B;
  margin: 6px auto;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* Breakpoint: Desktop-Listen weg, Burger/Dropdown aktiv */
@media (max-width: 820px){
  .hamburger{ display: block !important; }

  .navbar{
    height: auto;
    margin: 12px 16px;
    padding: 10px 14px 14px;
    position: relative;
  }
  .navbar nav{
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  /* Desktop-Links ausblenden (hart) */
  .navbar nav ul, .nav-left, .nav-right{ display: none !important; }

  /* Logo mittig */
  .logo{ order: -1; text-align: center; }
  .logo img{ height: 44px; }
}







/* ===== KONTAKT – HEADER (responsive) ===== */
.kontakt-header{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* gleiche Seitenränder wie Footer/Kontaktkarte */
  margin: 18px 40px 32px;
  margin-bottom: 100px;
}

.kontakt-header h1{
  margin: 0;
  font-family: "Kalnia", serif;
  font-weight: 700;
  /* skaliert von Handy bis Desktop */
  font-size: clamp(36px, 8vw, 88px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: #FDF6E7;
  position: relative;
}

/* dezent: Akzentlinie unter dem Titel */
.kontakt-header h1::after{
  content: "";
  display: block;
  width: clamp(60px, 10vw, 110px);
  height: 6px;
  border-radius: 4px;
  background: #d3e97a;
  margin: 14px auto 0;
}

/* ------- Breakpoints ------- */
@media (max-width: 980px){
  .kontakt-header{
    margin: 50px 16px 20px;
    margin-bottom: 25px; /* enger an die Navbar, schmale Ränder auf Mobile */
  }
  .kontakt-header h1::after{
    height: 5px;
    margin-top: 12px;
  }
}

/* Optional: Wenn du sie noch dichter an die Navbar ziehen willst,
   kannst du der Section zusätzlich die Klasse 'compact' geben */
.kontakt-header.compact{ margin-top: 6px; }




/* =====================================================
   KONTAKT – Section (vollbreit, clean, mobilfit)
   -> nur diese Section, Navbar bleibt unverändert
===================================================== */

/* Scope */
.kontakt-stack, .kontakt-stack * { box-sizing: border-box; }
.kontakt-stack { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Abstand wie beim Footer links/rechts */
.kontakt-stack{
  margin: -60px 40px 90px;
  display: flex;
  justify-content: center;
}

/* Karte füllt die verfügbare Breite */
.k-card{
  width: 100%;
  max-width: none;
  background: #FDF6E7;
  color: #23380B;
  border-radius: 28px;
  padding: 40px 50px;
  border: 1px solid rgba(35,56,11,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  overflow: hidden; /* schützt vor Ausreißern */
}

/* =========================================
   Kopf: Kontaktzeilen + WhatsApp
========================================= */
.k-top{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.k-lines{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-family: "Kaisei Decol", serif;
  font-size: 18px;
  line-height: 1.7;
  color: #23380B;
}
.k-lines li{
  padding: 6px 0;
  border-top: 1px solid rgba(35,56,11,.06);
}
.k-lines li:first-child{ border-top: 0; }
.k-lines strong{
  font-family: "Kalnia", serif;
  font-weight: 700;
}
.k-lines a{
  color: #23380B;
  text-decoration: none;
  font-weight: 700;
}
.k-lines a:hover{ text-decoration: underline; }

/* WhatsApp-Button */
.k-wa{
  align-self: start;
  padding: 14px 24px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-family: "Kalnia", serif;
  font-weight: 700;
  font-size: 17px;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
}

/* =========================================
   Formular (kein Überlappen)
========================================= */
.k-form{
  display: grid;
  gap: 18px;
  width: 100%;
}

.row.two{
  display: grid;
  /* bricht automatisch um – verhindert Überlappung */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.row.one{ display: grid; gap: 16px; }

.fg{
  display: grid;
  gap: 10px;
  min-width: 0; /* wichtig, damit Felder im Grid schrumpfen dürfen */
}

.fg label{
  font-family: "Kalnia", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  color: #23380B;
}

.fg input,
.fg textarea{
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(35,56,11,.22);
  border-radius: 16px;
  background: #fff;
  font-family: "Kaisei Decol", serif;
  font-size: 17px;     /* gut lesbar (>=16px) */
  line-height: 1.4;
  color: #23380B;
  outline: none;
}
.fg input::placeholder,
.fg textarea::placeholder{ color: rgba(35,56,11,.50); }

.fg textarea{
  resize: vertical;    /* nur vertikal */
  min-height: 160px;
  max-width: 100%;
}

/* Fokusstate klar, aber ruhig */
.fg input:focus,
.fg textarea:focus{
  border-color: #6a9a30;
  box-shadow: 0 0 0 3px rgba(106,154,48,.22);
}

/* Checkbox + Hinweis + Button */
.k-check{
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 12px;
  row-gap: 8px;
  align-items: start;
  font-size: 14px;
}
.k-note{
  margin: 6px 0 8px;
  font-size: 13px;
  color: rgba(35,56,11,.75);
}
.k-send{
  border: none;
  cursor: pointer;
  padding: 14px 24px;
  border-radius: 999px;
  background: #23380B;
  color: #FDF6E7;
  font-family: "Kalnia", serif;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* =========================================
   Mobile
========================================= */
@media (max-width: 980px){
  .kontakt-stack{ margin: 12px 16px 70px; }
  .k-card{ padding: 24px 20px; border-radius: 22px; }
  .k-top{ grid-template-columns: 1fr; gap: 14px; }
  .k-wa{ width: 100%; text-align: center; padding: 13px 16px; font-size: 16px; }
  .row.two{ grid-template-columns: 1fr; }
  .k-lines{ font-size: 17px; line-height: 1.65; }
  .fg input, .fg textarea{ font-size: 16px; padding: 13px 14px; }
}











/* ===== FOOTER ===== */
.footer {
  margin: 60px 40px 0;
  background: #FDF6E7;
  border-radius: 28px;
  padding: 50px 40px 30px;
  color: #23380B;
  font-family: "Kaisei Decol", serif;
  margin-bottom: 25px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

/* Spalten */
.footer-col h3 {
  margin-bottom: 16px;
  font-family: "Kalnia", serif;
  font-size: 20px;
  font-weight: 700;
}

.footer-col p,
.footer-col li,
.footer-col a {
  font-size: 16px;
  color: #23380B;
  line-height: 1.6;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

/* Hover-Effekt für Links */
.footer-col a:hover {
  text-decoration: underline;
}

/* Untere Leiste */
.footer-bottom {
  border-top: 1px solid rgba(35,56,11,.15);
  padding-top: 18px;
  text-align: center;
  font-size: 14px;
  color: rgba(35,56,11,.8);
}

.footer-bottom a {
  font-weight: 600;
  color: #23380B;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* ===========================
   FOOTER responsive
=========================== */
@media (max-width: 1100px) {
  .footer { margin: 48px 24px 0; padding: 36px 28px 24px; border-radius: 22px; }
  .footer-inner { gap: 24px; }
}

@media (max-width: 780px) {
  .footer { margin: 40px 16px 0; padding: 24px 18px 18px; border-radius: 18px; margin-bottom: 25px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .footer-col h3 { font-size: 18px; margin-bottom: 10px; }
  .footer-col p, .footer-col li, .footer-col a { font-size: 15px; }
  .footer-bottom { padding-top: 12px; font-size: 13px; }
}
