/* =========================================================
   ANNA ZETZSCHE – zentrales Stylesheet
   Gilt für: index.html, startseite.html, impressum.html
   ========================================================= */

/* -------------------- Fonts -------------------- */
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cervo-Light';
  src: url('fonts/Cervo-Light.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* -------------------- Variablen -------------------- */
:root {
  /* Farben – 1:1 aus der Originalseite */
  --color-text: #3f4965;   /* Blaugrau/Navy aus dem Original-Stylesheet */
  --color-gold: #bba887;   /* exakt aus dem Logo ausgelesen */
  --color-gold-hover: #a89573;
  --color-cream: #f2eee3;
  --color-grey: #62656c;
  --color-white: #ffffff;

  /* Typografie */
  --font-heading: 'Cervo-Light', 'Lato', Arial, sans-serif;
  --font-body: 'Lato', Arial, sans-serif;

  --fs-section-title: 61px;   /* goldene Haupttitel, z.B. "Woran erkenne ich das?" */
  --lh-section-title: 68px;
  --fs-column-title: 44px;    /* schwarze Spaltentitel */
  --lh-column-title: 50px;
  --fs-quote: 40px;
  --lh-quote: 50px;
  --fs-statement: 61px;
  --lh-statement: 70px;
  --fs-lead: 30px;            /* hervorgehobene Fliesstextzeilen */
  --lh-lead: 38px;
  --fs-body: 18px;
  --lh-body: 24px;

  /* Layout – Raster der Originalseite (Container 1170px inkl. 15px Padding) */
  --content-max-width: 1316px;
  --side-padding: 17px;
  --edge-padding: 30px;   /* Seitenabstand von Header und Footer – haelt beide Logos buendig */
  --gutter: 28px;
  --section-padding-y: 33px;
  --parallax-height: 470px;
}

/* -------------------- Reset / Basics -------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-gold-hover);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Container + Spaltenraster (entspricht dem Bootstrap-Raster des Originals) */
.container {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.row {
  display: grid;
  column-gap: var(--gutter);
}

.row > * {
  min-width: 0;
}

.row--1-2 {
  grid-template-columns: 1fr 2fr;
}

.row--2 {
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

/* -------------------- Typografie -------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0 0 10px;
}

p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  margin: 0 0 17px;
}

p:last-child {
  margin-bottom: 0;
}

/* Goldener Haupttitel einer Section */
.section-title {
  font-size: var(--fs-section-title);
  line-height: var(--lh-section-title);
  color: var(--color-gold);
  margin-bottom: 6px;
}

/* Schwarzer Titel innerhalb einer Spalte */
.column-title {
  font-size: var(--fs-column-title);
  line-height: var(--lh-column-title);
  color: var(--color-text);
  margin-bottom: 10px;
}

/* Hervorgehobene Fliesstextzeile (groesser als Standardtext) */
.lead {
  font-family: var(--font-heading);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  margin-bottom: 5px;
}

.lead--small {
  margin-bottom: 18px;
}

/* Aufzählung mit goldenem Punkt */
.list-dotted {
  margin: 0 0 16px;
}

.list-dotted li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.list-dotted li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  line-height: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background-color: var(--color-gold-hover);
  color: var(--color-white);
}

.btn--content {
  padding: 20px 26px;
}

.btn--small {
  padding: 10px 18px;
  font-size: 15px;
}

/* -------------------- Header -------------------- */
.site-header {
  background-color: var(--color-white);
  padding: 10px var(--edge-padding);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-header__logo img {
  width: 280px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a:not(.btn) {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 19px;
  color: var(--color-text);
  padding: 10px 14px;
  display: inline-block;
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn):focus-visible {
  color: var(--color-gold);
}

.main-nav .btn {
  margin-left: 10px;
  color: var(--color-white);
}

/* Burger (nur mobil sichtbar) */
.burger {
  display: none;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* -------------------- Hero -------------------- */
.hero {
  padding: 45px 0 53px;
}

.hero .row {
  align-items: center;
}

.hero__image img {
  width: 100%;
}

.hero__logo {
  margin: 0 0 22px;
}

.hero__logo img {
  width: 630px;
  max-width: 100%;
}

/* Der Textblock endet im Original etwas vor der Spaltenkante */
.hero__content {
  padding-right: 15px;
}

.hero__content .lead {
  margin-bottom: 19px;
}

.hero__content .btn {
  margin-top: 30px;
}

/* -------------------- Zitat -------------------- */
.quote-section {
  background-color: var(--color-cream);
  padding: 78px 0;
  text-align: center;
}

.quote {
  margin: 0;
}

.quote__text {
  font-family: var(--font-heading);
  font-style: italic;
  text-transform: uppercase;
  font-size: var(--fs-quote);
  line-height: var(--lh-quote);
  color: var(--color-text);
  margin: 0 0 8px;
}

.quote__source {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 700;
  color: var(--color-text);
}

/* =========================================================
   PARALLAX-BILDER
   Reine CSS-Lösung: background-attachment: fixed haelt das Bild
   beim Scrollen fest, der Seiteninhalt laeuft darueber hinweg.
   Kein JavaScript noetig.
   Mobile Browser (v.a. iOS Safari) unterstuetzen "fixed" nicht
   zuverlaessig – dort greift weiter unten der Fallback.
   ========================================================= */
.parallax {
  height: var(--parallax-height);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.parallax--wald {
  background-image: url('images/parallax-waldweg.jpg');
}

.parallax--duene {
  background-image: url('images/parallax-duene.jpg');
}

/* -------------------- Erkennen -------------------- */
.recognise {
  padding: var(--section-padding-y) 0;
  text-align: center;
}

.recognise__list {
  margin: 30px 0 32px;
}

.recognise__list li {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  margin-bottom: 0;
}

/* -------------------- Muster / Eigenbindung -------------------- */
.patterns {
  background-color: var(--color-cream);
  padding: 48px 0;
}

/* -------------------- Meine Methode -------------------- */
.method {
  padding: var(--section-padding-y) 0 56px;
  text-align: center;
}

.method__columns {
  margin-top: 34px;
  text-align: left;
  align-items: start;
}

.method__closing {
  margin-top: 34px;
}

/* -------------------- Vorgespräch -------------------- */
.preliminary {
  background-color: var(--color-cream);
  padding: 56px 0 56px;
  text-align: center;
}

.preliminary .section-title {
  text-transform: uppercase;
}

.preliminary__note {
  margin-top: 24px;
}

.preliminary .btn {
  margin-top: 34px;
}

/* -------------------- Footer -------------------- */
.site-footer {
  background-color: var(--color-grey);
  color: var(--color-white);
}

.site-footer__statement {
  padding: 62px 0 40px;
  text-align: center;
}

.statement__title {
  font-family: var(--font-heading);
  font-size: var(--fs-statement);
  line-height: var(--lh-statement);
  color: var(--color-gold);
  margin: 0 0 14px;
}

.statement__sub {
  font-size: 17px;
  line-height: 26px;
  color: var(--color-white);
  margin: 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 20px var(--edge-padding) 45px;
}

.site-footer__brand img {
  width: 480px;
  max-width: 100%;
}

.site-footer__inner p {
  color: var(--color-white);
  font-size: 15px;
  line-height: 22px;
  margin: 0;
}

.site-footer a {
  color: var(--color-gold);
}

.site-footer__legal {
  text-align: center;
}

.site-footer__legal p + p {
  margin-top: 18px;
}

/* -------------------- Datenschutz-Hinweis -------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background-color: var(--color-grey);
  color: var(--color-white);
  padding: 16px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  color: var(--color-white);
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}

.cookie-banner a {
  color: var(--color-gold);
  text-decoration: underline;
}

/* -------------------- Impressum-Seite -------------------- */
.legal {
  padding: 60px 0;
}

.legal h1 {
  font-size: var(--fs-section-title);
  line-height: var(--lh-section-title);
  color: var(--color-gold);
  margin-bottom: 26px;
}

/* Hauptabschnitte (Impressum / Datenschutzerklärung) */
.legal h2 {
  font-size: var(--fs-column-title);
  line-height: var(--lh-column-title);
  color: var(--color-gold);
  margin-top: 50px;
  margin-bottom: 10px;
}

.legal h3 {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--color-text);
  margin-top: 32px;
  margin-bottom: 6px;
}

.legal h4 {
  font-size: 22px;
  line-height: 30px;
  color: var(--color-text);
  margin-top: 26px;
  margin-bottom: 4px;
}

.legal p,
.legal li {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.legal ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 17px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  word-break: break-word;
}

/* -------------------- Visitenkarte (index.html) -------------------- */
.card-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.card-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-page__logo {
  width: 100%;
  max-width: 400px;
  margin-bottom: 30px;
}

.card-page h1 {
  font-size: 40px;
  line-height: 46px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  :root {
    --fs-section-title: 50px;
    --lh-section-title: 58px;
    --fs-statement: 36px;
    --lh-statement: 44px;
    --fs-quote: 30px;
    --lh-quote: 38px;
  }

  .hero__logo img {
    width: 100%;
  }
}

@media (max-width: 991px) {
  :root {
    --fs-section-title: 45px;
    --lh-section-title: 54px;
    --fs-column-title: 32px;
    --lh-column-title: 40px;
    --fs-lead: 25px;
    --lh-lead: 32px;
    --section-padding-y: 45px;
    --parallax-height: 320px;
  }

  /* Fallback: mobile Browser rendern background-attachment: fixed
     nicht korrekt – das Bild scrollt dort normal mit. */
  .parallax {
    background-attachment: scroll;
  }

  .row--1-2,
  .row--2 {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__image {
    max-width: 360px;
  }

  .hero__logo img {
    width: 480px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 26px;
  }

  .site-footer__brand img {
    width: 380px;
  }
}

@media (max-width: 991px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background-color: var(--color-white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 90px 32px 32px;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  /* Der Burger muss ueber dem geoeffneten Panel liegen,
     sonst faengt das Panel den Klick zum Schliessen ab. */
  .burger {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .main-nav .btn {
    margin-left: 0;
  }

  html {
    scroll-padding-top: 70px;
  }
}

@media (max-width: 575px) {
  :root {
    --fs-section-title: 38px;
    --lh-section-title: 45px;
    --fs-column-title: 28px;
    --lh-column-title: 34px;
    --fs-quote: 24px;
    --lh-quote: 32px;
    --fs-statement: 28px;
    --lh-statement: 36px;
    --fs-lead: 22px;
    --lh-lead: 29px;
    --fs-body: 17px;
    --lh-body: 23px;
    --section-padding-y: 38px;
    --parallax-height: 240px;
  }

  .site-header {
    padding: 12px 15px;
  }

  .site-header__logo img {
    width: 190px;
  }

  .hero {
    padding: 34px 0 45px;
  }

  .hero__image {
    max-width: 100%;
  }

  .hero__logo img {
    width: 100%;
  }

  .btn {
    font-size: 18px;
  }

  .btn--content {
    padding: 18px 22px;
  }

  .site-footer__brand img {
    width: 100%;
  }
}

/* Nutzer mit reduzierter Bewegungsvorliebe: kein Parallax */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .parallax {
    background-attachment: scroll;
  }
}
