

:root {
  --paper: #F4F1EC;
  --paper-deep: #E6E1D9;
  --ink: #3A3530;
  --muted: #6F685F;
  --line-color: #DAD4C8;
  --line: rgba(58, 53, 48, 0.16);
  --sage: #6E7F67;
  --sage-deep: #4F604B;
  --clay: #C9A063;
  --cream: #FCFAF6;
  --shadow: 0 24px 60px rgba(58, 53, 48, 0.10);
  --radius-sm: 18px;
  --radius-md: 30px;
  --radius-lg: 48px;
  --content: 1180px;
  --text: 730px;
  --handwriting: "Allura", "Segoe Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito Sans", "Aptos", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 999;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
}
.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 236, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--content);
  margin: 0 auto;
  min-height: 88px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand strong { font-size: 1.12rem; letter-spacing: .01em; }
.brand span { margin-top: .28rem; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  padding: .55rem .9rem;
  color: var(--ink);
  cursor: pointer;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.15rem;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  padding: .55rem .1rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--clay);
}

.site-nav a.language-link {
  color: var(--sage-deep);
  font-weight: 800;
}

main { overflow: hidden; }
.container { max-width: var(--content); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.text-column { max-width: var(--text); }
.centered { margin-left: auto; margin-right: auto; }

.hero {
  padding: clamp(58px, 8vw, 112px) 0 clamp(72px, 10vw, 140px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}
.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--sage-deep);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0 0 .85em;
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 760;
}
h1 { font-size: clamp(2.75rem, 5.4vw, 5.75rem); max-width: 13ch; }
h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); max-width: 17ch; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.lead {
  font-size: clamp(1.12rem, 1.65vw, 1.42rem);
  line-height: 1.62;
  color: #514B45;
  max-width: 38em;
}
.hero-actions,
.inline-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .72rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: .9rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button:hover,
.button:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(45,43,41,.12); }

.portrait-shell {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 38%),
    linear-gradient(145deg, #E6E1D9, #CFC6B9);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait-shell::after {
  content: "";
  position: absolute;
  inset: 8% 7%;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 38px;
  pointer-events: none;
}
.portrait-shell img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  object-position: bottom center;
  filter: contrast(.93);
}


/* Startseite: bildstarker Hero */
.home-hero {
  position: relative;
  min-height: clamp(640px, 76vh, 820px);
  display: grid;
  overflow: hidden;
  background: #2F352C;
  color: var(--cream);
}
.home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Das Motiv liegt rechts. Vertikal wird bewusst weiter oben angesetzt,
     damit Kopf und Gesicht auch auf breiten Desktop-Displays vollständig bleiben. */
  object-position: 58% 18%;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 29, 24, .82) 0%, rgba(25, 29, 24, .62) 34%, rgba(25, 29, 24, .24) 60%, rgba(25, 29, 24, .05) 80%),
    linear-gradient(0deg, rgba(25, 29, 24, .24) 0%, rgba(25, 29, 24, 0) 50%);
}
.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
}
.home-hero__content {
  max-width: 720px;
  padding: clamp(72px, 9vw, 120px) 0;
}
.home-hero .eyebrow {
  color: #E7D7B8;
}
.home-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 5.2vw, 5.4rem);
  text-wrap: balance;
}
.home-hero .lead {
  max-width: 33em;
  color: rgba(252, 250, 246, .90);
}
.home-hero .button {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.home-hero .button.secondary {
  background: rgba(255,255,255,.04);
  color: var(--cream);
  border-color: rgba(255,255,255,.52);
}
.home-intro__content {
  max-width: 860px;
}
.home-intro h2 {
  max-width: 18ch;
}

.page-hero {
  padding: clamp(62px, 9vw, 116px) 0 clamp(58px, 8vw, 104px);
}
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 44em; }

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.compact { padding: clamp(52px, 7vw, 88px) 0; }
.section.alt { background: var(--cream); }
.section.sage { background: #E4E9E1; }
.section.clay { background: var(--paper-deep); }
.section-head { margin-bottom: 2.2rem; }
.section p { margin: 0 0 1.2rem; }
.section p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}
.split-top { align-items: start; }
.split.reverse .visual { order: 2; }
.visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-deep);
  min-height: 430px;
  box-shadow: var(--shadow);
}
.visual img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.visual.mist img { filter: sepia(.1) contrast(.92); }
.visual.portrait { background: var(--paper-deep); }
.visual.portrait img { object-fit: contain; object-position: center bottom; }


.handwritten-accent {
  margin: 0 0 1.1rem;
  color: #D7C6A2;
  font-family: var(--handwriting);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .01em;
}

.thought {
  padding: clamp(84px, 12vw, 170px) 0;
  background: var(--sage-deep);
  color: var(--cream);
}
.thought .thought-text {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1.16;
  letter-spacing: -.03em;
  font-weight: 730;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line);
}
.topic {
  background: var(--cream);
  padding: clamp(28px, 4vw, 52px);
}
.topic h3 { max-width: 20ch; }
.topic p { color: #5C554E; }

.flow-list {
  counter-reset: flow;
  display: grid;
  gap: 1.2rem;
  padding: 0;
  margin: 2.5rem 0 0;
  list-style: none;
}
.flow-list li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  color: var(--clay);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin-top: .35rem;
}

.case-story {
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--cream);
  padding: clamp(36px, 6vw, 76px);
}
.case-story .eyebrow { color: #DED5C8; }
.case-story h2 { max-width: 20ch; }
.case-story p { color: rgba(255,253,248,.83); }
.case-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(30px, 6vw, 80px);
}
.case-facts {
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 1.3rem;
}
.case-facts p { font-size: .92rem; }

.offer-stack { display: grid; gap: 1.4rem; }
.offer {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(30px, 5vw, 58px);
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
.offer__content {
  min-width: 0;
}
.offer .label { color: var(--clay); font-weight: 900; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.offer h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.offer ul { margin: 1.5rem 0 0; padding-left: 1.2rem; }
.offer li { margin: .45rem 0; }

.offer-media {
  width: 100%;
  margin: 1.15rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
}
.offer-media--portrait {
  max-width: 340px;
  aspect-ratio: 2 / 3;
}
.offer-media--landscape {
  max-width: 420px;
  aspect-ratio: 16 / 9;
}
.offer-media img,
.offer-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offer-media video {
  background: var(--paper-deep);
}



/* Angebote: links Titel + Medium, rechts Text ab Oberkante des Mediums. */
.offers-page .offer {
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.offers-page .offer__head,
.offers-page .offer-media,
.offers-page .offer__content {
  min-width: 0;
  grid-column: 1;
  grid-row: auto;
}
.offers-page .offer__head .label {
  margin-bottom: .85rem;
}
.offers-page .offer__head h2 {
  margin-bottom: 0;
}
.offers-page .offer-media {
  margin: 0;
  justify-self: start;
}
.offers-page .offer__content {
  align-self: start;
}

@media (min-width: 1021px) {
  .offers-page .offer {
    grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr);
    grid-template-rows: auto auto;
    column-gap: clamp(28px, 5vw, 70px);
    row-gap: 1.15rem;
    align-items: start;
  }
  .offers-page .offer__head {
    grid-column: 1;
    grid-row: 1;
  }
  .offers-page .offer-media {
    grid-column: 1;
    grid-row: 2;
  }
  .offers-page .offer__content {
    grid-column: 2;
    grid-row: 2;
    padding-top: 0;
    margin-top: 0;
  }
}

.path {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--line);
  margin-left: auto;
  margin-right: auto;
}
.path-item {
  position: relative;
  padding: 0 0 4.2rem 3.2rem;
}
.path-item:last-child { padding-bottom: 0; }
.path-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: .35rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--clay);
}
.path-item h2 { font-size: clamp(1.55rem, 2.8vw, 2.65rem); }

.boundary {
  border-left: 4px solid var(--clay);
  padding: 1rem 0 1rem 1.5rem;
  max-width: 46em;
}

.quiet-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.quiet-link:hover,
.quiet-link:focus-visible {
  color: var(--clay);
  text-decoration-color: currentColor;
}

.contact-band {
  padding: clamp(72px, 10vw, 132px) 0;
  background: var(--paper-deep);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: end;
}
.contact-links { display: grid; gap: .7rem; justify-items: start; }
.contact-link {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}
.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: 118px;
  display: grid;
  gap: .6rem;
}
.legal-nav a { color: var(--muted); text-decoration: none; }
.legal-nav a:hover { color: var(--ink); }
.legal-section { padding-bottom: 4rem; margin-bottom: 4rem; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; }
.provider-image {
  width: min(440px, 100%);
  padding: 1.2rem;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.note {
  background: #F5EBDD;
  border: 1px solid #D9BF8C;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  font-size: .9rem;
}


/* Mehrsprachige Navigation: auf mittleren Breiten früher auf das Menü wechseln,
   damit auch die längeren französischen Bezeichnungen sauber bleiben. */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 28px 1.5rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: .8rem 0; }
}

@media (max-width: 1020px) {
  body { font-size: 17px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 28px 1.5rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: .8rem 0; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .home-hero { min-height: 650px; }
  .home-hero__image { object-position: 64% 18%; }
  .home-hero__content { max-width: 620px; }

  .portrait-shell, .portrait-shell img { min-height: 430px; }
  .hero .portrait-shell { max-width: 640px; }
  .split.reverse .visual { order: initial; }
  .case-grid, .offer { grid-template-columns: 1fr; }
  .offers-page .offer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "media"
      "content";
    row-gap: 1.2rem;
  }
  .offer-media--portrait { max-width: 360px; }
  .offer-media--landscape { max-width: 680px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; grid-template-columns: repeat(3, auto); justify-content: start; }
}

@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .header-inner { min-height: 76px; padding: 0 18px; }
  .brand span {
    display: block;
    margin-top: .2rem;
    font-size: .62rem;
    line-height: 1.2;
    letter-spacing: .025em;
  }
  .site-nav { top: 76px; padding-left: 18px; padding-right: 18px; }
  .container { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3.5rem);
    hyphens: auto;
  }
  .home-hero {
    min-height: 620px;
    align-items: end;
  }
  .home-hero__image { object-position: 66% center; }
  .home-hero__overlay {
    background:
      linear-gradient(0deg, rgba(25, 29, 24, .88) 0%, rgba(25, 29, 24, .68) 42%, rgba(25, 29, 24, .18) 72%, rgba(25, 29, 24, .04) 100%);
  }
  .home-hero__inner { align-items: end; }
  .home-hero__content {
    max-width: 100%;
    padding: 220px 0 52px;
  }
  .home-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.65rem, 11vw, 4rem);
  }
  .home-hero .lead { font-size: 1.08rem; }

  .topic-list { grid-template-columns: 1fr; }
  .offer-media--portrait { max-width: min(100%, 320px); }
  .offer-media--landscape { max-width: 100%; }
  .portrait-shell, .portrait-shell img { min-height: 360px; }
  .visual, .visual img { min-height: 310px; }
  .thought .thought-text { max-width: none; }
  .footer-inner { padding-left: 20px; padding-right: 20px; }
  .legal-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
