/* ==========================================================================
   KAROLINE WISSMANN – Konzept 2 ("Feldnotiz")
   Editorial-Konzept: warmes Papier, Tannengrün, Terrakotta, Serife + Sans.
   Bewusst anderes Stilmittel als Vorschlag 1 (Petrol/Grün/Orange, Zickzack-W):
   ruhiger, journalartiger, mit grosser Display-Serife fuer Zitate & Headlines.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Schriftarten (lokal eingebunden, siehe fonts/README.txt)
   -------------------------------------------------------------------------- */
@font-face{
  font-family: "Fraunces";
  src: url("../fonts/fraunces-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Fraunces";
  src: url("../fonts/fraunces-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Fraunces";
  src: url("../fonts/fraunces-semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face{
  font-family: "Work Sans";
  src: url("../fonts/work-sans-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Work Sans";
  src: url("../fonts/work-sans-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Work Sans";
  src: url("../fonts/work-sans-semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design-Tokens
   -------------------------------------------------------------------------- */
:root{
  /* Farben – Palette "Feldnotiz" */
  --c-ink:        #20302A;   /* tiefes Tannengrün/Tinte – Haupttext & dunkle Flaechen */
  --c-ink-soft:   rgba(32,48,42,0.64);
  --c-ink-faint:  rgba(32,48,42,0.40);
  --c-paper:      #FBF6EC;   /* warmes Papier-Creme – Seitenhintergrund */
  --c-paper-soft: #F3EBDC;   /* dunkleres Papier fuer Sektionswechsel */
  --c-clay:       #C1633D;   /* Terrakotta – Hauptakzent */
  --c-clay-dark:  #A14F30;
  --c-clay-tint:  #F6E4DA;
  --c-sage:       #A9BC9E;   /* Salbeigruen – zweiter Akzent */
  --c-sage-dark:  #7E9272;
  --c-sage-tint:  #EBF0E6;
  --c-white:      #FFFFFF;
  --c-line:       rgba(32,48,42,0.14);

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --gutter: 32px;
  --section-py: 120px;
  --radius: 4px;
  --radius-lg: 10px;
  --ease: 0.35s cubic-bezier(.33,1,.68,1);
  --shadow: 0 24px 60px rgba(32,48,42,0.10);
}

@media (max-width: 980px){
  :root{
    --gutter: 22px;
    --section-py: 76px;
    --radius-lg: 8px;
  }
}

/* --------------------------------------------------------------------------
   3. Reset & Basistypografie
   -------------------------------------------------------------------------- */
*,
*::before,
*::after{ box-sizing: border-box; }

html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body{
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
}

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

a{ color: var(--c-clay-dark); text-decoration: none; }
a:hover{ text-decoration: underline; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--c-ink);
}

h1{ font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 500; letter-spacing: -0.015em; }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3{ font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
h4{ font-size: 1.05rem; }

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

ul, ol{ margin: 0; padding: 0; }

.lead{
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--c-ink-soft);
  max-width: 46em;
}

/* Skip-Link */
.skip-link{
  position: absolute; left: -999px; top: auto;
  background: var(--c-ink); color: var(--c-paper);
  padding: 10px 18px; border-radius: var(--radius);
  z-index: 1000; font-size: 0.9rem;
}
.skip-link:focus{ left: 12px; top: 12px; }

/* Sichtbar nur fuer Screenreader */
.sr-only{
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   4. Layout-Helfer
   -------------------------------------------------------------------------- */

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow{
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section{ padding: var(--section-py) 0; }
.section-tight{ padding: calc(var(--section-py) * 0.6) 0; }

.section--paper{ background: var(--c-paper); }
.section--soft{ background: var(--c-paper-soft); }
.section--ink{ background: var(--c-ink); color: rgba(251,246,236,0.92); }
.section--ink h2, .section--ink h3, .section--ink h4{ color: var(--c-paper); }
.section--ink .lead{ color: rgba(251,246,236,0.74); }
.section--ink a{ color: var(--c-sage); }

.section-head{
  max-width: 46em;
  margin: 0 0 56px;
}
.section-head.center{ margin-inline: auto; text-align: center; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-clay-dark);
  margin-bottom: 16px;
}
.section--ink .eyebrow{ color: var(--c-sage); }
.eyebrow::before{
  content: "";
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  text-decoration: none;
}
.btn svg{ width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--ease); }
.btn:hover svg{ transform: translateX(3px); }
.btn:hover{ text-decoration: none; }

.btn-primary{
  background: var(--c-clay);
  color: var(--c-white);
}
.btn-primary:hover{ background: var(--c-clay-dark); }

.btn-outline{
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn-outline:hover{ border-color: var(--c-clay); color: var(--c-clay-dark); }

.section--ink .btn-outline{
  color: var(--c-paper);
  border-color: rgba(251,246,236,0.3);
}
.section--ink .btn-outline:hover{ border-color: var(--c-sage); color: var(--c-sage); }

.btn-row{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

/* --------------------------------------------------------------------------
   6. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251,246,236,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}

.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo / Wordmark */
.logo{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-ink);
}
.logo:hover{ text-decoration: none; }
.logo-mark{ width: 38px; height: 38px; flex-shrink: 0; }
.logo-text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text .word{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}
.logo-text .sub{
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-clay-dark);
  margin-top: 3px;
}

/* Hauptnavigation (Desktop) */
.main-nav ul{
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.main-nav a{
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--ease), color var(--ease);
}
.main-nav a:hover{ text-decoration: none; color: var(--c-clay-dark); }
.main-nav a.is-active{
  border-color: var(--c-clay);
  color: var(--c-clay-dark);
}
.main-nav a.nav-cta{
  font-weight: 600;
  color: var(--c-paper);
  background: var(--c-ink);
  padding: 10px 22px;
  border-radius: var(--radius);
  border-bottom: none;
}
.main-nav a.nav-cta:hover{ background: var(--c-clay); }

/* Mobiler Menue-Button */
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span{
  display: block;
  width: 20px; height: 2px;
  background: var(--c-ink);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero{
  padding: 64px 0 var(--section-py);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .eyebrow{ margin-bottom: 22px; }
.hero-copy h1{ margin-bottom: 0.45em; }
.hero-copy .lead{ margin-bottom: 0; }

.hero-media{
  position: relative;
}
.hero-media .frame{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-sage-tint);
}
.hero-media .frame img{
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media .frame::after{
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(32,48,42,0.08);
  border-radius: var(--radius-lg);
}
.hero-media .tag{
  position: absolute;
  left: -22px; bottom: 32px;
  background: var(--c-clay);
  color: var(--c-white);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  padding: 16px 26px;
  border-radius: var(--radius);
  max-width: 240px;
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   8. Marken-/Vertrauensleiste
   -------------------------------------------------------------------------- */
.trustbar{
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper-soft);
}
.trustbar .container{
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}
.trustbar-item{
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--c-ink);
}
.trustbar-item strong{
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--c-clay-dark);
}
.trustbar-item span{
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  max-width: 18em;
}

/* --------------------------------------------------------------------------
   9. Ueber mich / Philosophie
   -------------------------------------------------------------------------- */
.about-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.about-media{
  position: sticky;
  top: 116px;
}
.about-media .frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--c-clay-tint);
}
.about-media .frame img{ width: 100%; height: 100%; object-fit: cover; }

.about-copy .section-head{ margin-bottom: 28px; }

/* Pull-Quote */
.pull-quote{
  margin: 40px 0;
  padding: 4px 0 4px 30px;
  border-left: 3px solid var(--c-clay);
}
.pull-quote p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.5;
  color: var(--c-ink);
}
.pull-quote cite{
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

/* Werte-Liste */
.werte-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.werte-item{
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}
.werte-item .num{
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-clay);
  margin-bottom: 10px;
}
.werte-item h3{ margin-bottom: 8px; }
.werte-item p{ color: var(--c-ink-soft); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   10. Leistungen
   -------------------------------------------------------------------------- */
.leistungen-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.leistung-card{
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.leistung-card .num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--c-clay);
}
.leistung-card h3{ margin-bottom: 4px; }
.leistung-card p{ color: var(--c-ink-soft); font-size: 0.97rem; }
.leistung-card ul{
  list-style: none;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.leistung-card li{
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  padding-left: 18px;
  position: relative;
}
.leistung-card li::before{
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--c-clay);
}

/* FAQ-Akkordeon */
.faq-list{
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.faq-item{
  border-bottom: 1px solid var(--c-line);
}
.faq-question{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-ink);
  cursor: pointer;
}
.faq-question .icon{
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color var(--ease), background var(--ease);
}
.faq-question .icon::before,
.faq-question .icon::after{
  content: "";
  position: absolute;
  background: var(--c-ink);
  transition: transform var(--ease), opacity var(--ease);
}
.faq-question .icon::before{ width: 10px; height: 1px; }
.faq-question .icon::after{ width: 1px; height: 10px; }
.faq-item.is-open .faq-question .icon{ background: var(--c-clay); border-color: var(--c-clay); }
.faq-item.is-open .faq-question .icon::before,
.faq-item.is-open .faq-question .icon::after{ background: var(--c-white); }
.faq-item.is-open .faq-question .icon::after{ transform: rotate(90deg); opacity: 0; }

.faq-answer{
  height: 0;
  overflow: hidden;
  transition: height var(--ease);
}
.faq-answer-inner{
  padding: 0 4px 26px;
  color: var(--c-ink-soft);
  max-width: 42em;
}

/* --------------------------------------------------------------------------
   11. Themen-Karussell
   -------------------------------------------------------------------------- */
.themen-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.themen-tab{
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-ink-soft);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.themen-tab:hover{ border-color: var(--c-clay); color: var(--c-clay-dark); }
.themen-tab.is-active{
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-paper);
}

.themen-viewport{
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.themen-track{
  display: flex;
  transition: transform var(--ease);
}
.themen-card{
  flex: 0 0 100%;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.themen-card .icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-sage-tint);
  color: var(--c-clay-dark);
  margin-bottom: 28px;
}
.themen-card .icon svg{
  width: 26px; height: 26px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.themen-card .eyebrow{ margin-bottom: 14px; }
.themen-card h3{ max-width: 22em; }
.themen-card p{ color: var(--c-ink-soft); max-width: 38em; }

.themen-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}
.themen-dots{
  display: flex;
  gap: 8px;
}
.themen-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.themen-dot.is-active{ background: var(--c-clay); transform: scale(1.3); }

.themen-arrows{ display: flex; gap: 10px; }
.themen-arrow{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
}
.themen-arrow:hover{ border-color: var(--c-clay); color: var(--c-clay-dark); }
.themen-arrow svg{ width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   12. Kontakt
   -------------------------------------------------------------------------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-info{
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.info-item h3{ margin-bottom: 8px; }
.info-item p{ color: rgba(251,246,236,0.74); }
.info-item a{ color: var(--c-sage); }

.form-card{
  background: var(--c-paper);
  color: var(--c-ink);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-message{
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-message.success{ background: var(--c-sage-tint); color: var(--c-sage-dark); }
.form-message.error{ background: var(--c-clay-tint); color: var(--c-clay-dark); }

.form-row{
  margin-bottom: 20px;
}
.form-row label{
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-row .req{ color: var(--c-clay); }
.form-row input,
.form-row textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-ink);
  transition: border-color var(--ease);
}
.form-row input:focus,
.form-row textarea:focus{
  outline: none;
  border-color: var(--c-clay);
}
.form-row textarea{ min-height: 140px; resize: vertical; }

.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 0.88rem;
  color: var(--c-ink-soft);
}
.form-consent input{
  margin-top: 3px;
  flex-shrink: 0;
}
.form-consent a{ color: var(--c-clay-dark); }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer{
  background: var(--c-ink);
  color: rgba(251,246,236,0.7);
  padding: 72px 0 32px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo{ color: var(--c-paper); margin-bottom: 18px; }
.footer-brand .logo-text .sub{ color: var(--c-sage); }
.footer-brand p{ font-size: 0.93rem; max-width: 32em; }

.footer-col h4{
  color: var(--c-paper);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul{ list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li{ font-size: 0.93rem; color: rgba(251,246,236,0.7); }
.footer-col a:hover{ color: var(--c-sage); }

.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(251,246,236,0.12);
  font-size: 0.85rem;
}
.footer-bottom nav a{ color: rgba(251,246,236,0.7); }
.footer-bottom nav a:hover{ color: var(--c-sage); }

/* --------------------------------------------------------------------------
   14. Scroll-Reveal
   -------------------------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  .themen-track{ transition: none; }
}

/* --------------------------------------------------------------------------
   15. Rechtsseiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.page-header{
  padding: 64px 0 16px;
}
.back-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-ink-soft);
  margin-bottom: 28px;
}
.back-link svg{ width: 14px; height: 14px; transform: scaleX(-1); }
.back-link:hover{ color: var(--c-clay-dark); text-decoration: none; }

.prose{ max-width: var(--container-narrow); }
.prose h2{ font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child{ margin-top: 0; }
.prose h3{ font-size: 1.1rem; margin-top: 1.6em; }
.prose p, .prose li{ color: var(--c-ink-soft); }
.prose ul, .prose ol{ margin: 0 0 1em; padding-left: 1.3em; }
.prose li{ margin-bottom: 0.4em; }
.prose a{ color: var(--c-clay-dark); }
.prose table{ width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.92rem; }
.prose th, .prose td{ text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--c-line); }

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px){

  .hero-grid,
  .about-grid,
  .contact-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-media{ order: -1; }
  .about-media{ position: static; }
  .about-media .frame{ max-width: 360px; margin: 0 auto; }

  .leistungen-grid{ grid-template-columns: 1fr; }
  .werte-grid{ grid-template-columns: 1fr; gap: 22px; }

  .themen-card{ padding: 36px; }

  .footer-grid{ grid-template-columns: 1fr; gap: 36px; }

  /* Hauptnavigation als Vollbild-Overlay -----------------------------------
     backdrop-filter auf .site-header erzeugt einen "containing block" fuer
     position:fixed-Kindelemente (wie transform/filter/will-change). Dadurch
     wuerde .main-nav relativ zur Header-Leiste statt zum Viewport positioniert
     und auf nahezu 0px Hoehe zusammenschrumpfen. Daher hier deaktivieren. */
  .site-header{ backdrop-filter: none; -webkit-backdrop-filter: none; }

  .nav-toggle{ display: flex; }

  .main-nav{
    position: fixed;
    inset: 86px 0 0 0;
    background: var(--c-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  }
  .nav-open .main-nav{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul{
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }
  .main-nav a{
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
  }
  .main-nav a.nav-cta{ margin-top: 12px; }

  .nav-open{ overflow: hidden; }
}

@media (max-width: 640px){
  .hero-media .tag{ left: 0; bottom: -20px; font-size: 0.95rem; padding: 14px 20px; }
  .leistung-card{ padding: 28px 24px; }
  .form-card{ padding: 28px; }
  .trustbar .container{ justify-content: center; text-align: center; }
}
