@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("assets/fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2"); }
/* ============================================================================
   GoToSec v10 · gemeinsame Stile für Startseite und Leistungsseiten
   Baut auf scrollcraft.css auf (Tokens, Reset, Einblend-Mechanik).
   ========================================================================== */

/* ------------------------------------------------------------ tokens -- */
:root {
  --sc-canvas:     #F7F8F5;
  --sc-surface:    #FFFFFF;
  --sc-ink:        #10233B;
  --sc-ink-soft:   #4A5A6E;
  --sc-accent:     #50B848;
  --sc-accent-ink: #062012;
  /* Hanken Grotesk ersetzt Aptos (Meeting 19.11.2026): freie Schrift (OFL),
     selbst gehostet unter assets/fonts/. Keine Google-Font-Abhängigkeit. */
  --sc-font-display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sc-font-text:    "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --sc-shadow-color: 212 30% 18%;
  --sc-r-sm: 4px; --sc-r-md: 4px; --sc-r-lg: 4px;
  --sc-maxw: 78rem;
  --button-width: 11.5rem;
  --bar-h: 6.5rem;

  /* Marke */
  --green-heading: #349735;  /* große grüne Schrift, mindestens 3:1 */
  --green-text: #26721E;     /* kleine grüne Schrift auf Hell, WCAG AA */
  --green-pale: #F3FCF5;
  --navy: #10233B;
  --navy-soft: #1B3252;
  --blue: #2878B5;
}
.sc-display { font-weight: 700; }
.sc-display--xl, .sc-display--lg { font-weight: 700; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
em.g { font-style: normal; color: var(--green-heading); }
:focus-visible { outline-color: var(--green-text); }
html { scroll-padding-top: calc(var(--bar-h) + 1rem); }

.eyebrow { font-size: var(--sc-t-xs); font-weight: 700; letter-spacing: var(--sc-track-wide); text-transform: uppercase; color: var(--green-text); }
.center { text-align: center; }
.lede-c { max-width: 46rem; margin: var(--sc-4) auto 0; text-align: center; font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); }

/* ---------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: var(--button-width); min-height: 3rem; padding: 0 1.25rem;
  font-family: var(--sc-font-text); font-weight: 600; font-size: var(--sc-t-sm);
  letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  border-radius: var(--sc-r-md); border: 1.5px solid transparent;
  transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out;
}
.btn--primary { background: var(--sc-accent); color: var(--sc-accent-ink); border-color: var(--sc-accent); }
.btn--primary:hover { background: #65C55D; border-color: #65C55D; }
.btn--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--dark:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn--white { background: #fff; color: var(--sc-accent-ink); border-color: #fff; }
.btn--white:hover { background: var(--green-pale); }
.btn--line { background: transparent; color: var(--sc-ink); border-color: color-mix(in oklab, var(--sc-ink) 35%, transparent); }
.btn--line:hover { border-color: var(--sc-ink); }

/* --------------------------------------------------------------- bar -- */
.bar {
  position: fixed; inset-inline: 0; top: 0; z-index: var(--sc-z-chrome);
  height: var(--bar-h); background: var(--sc-surface);
  box-shadow: 0 1px 0 var(--sc-hairline);
}
.bar__in {
  height: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
  display: flex; align-items: center; gap: var(--sc-6);
}
.bar__logo { display: block; height: 5.4rem; flex-shrink: 0; }
.bar__logo img { height: 100%; width: auto; }
.bar__nav { margin-left: auto; display: flex; align-items: center; gap: var(--sc-5); }
.bar__nav > a, .nav-sub > button {
  text-decoration: none; font-size: var(--sc-t-sm); font-weight: 500; color: var(--sc-ink);
  padding: .4rem 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem;
}
.bar__nav > a:hover, .nav-sub > button:hover, .nav-sub.is-open > button { color: var(--green-text); }
.bar__nav [aria-current="page"], .nav-sub > button.is-here { color: var(--green-text); }
.nav-sub { position: relative; }
.nav-sub > button svg { width: .7rem; height: .7rem; transition: transform .15s ease-out; }
.nav-sub__panel {
  position: absolute; top: 100%; left: -1.25rem; padding-top: 1.1rem;
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity .15s ease-out, transform .15s ease-out, visibility 0s linear .15s;
}
.nav-sub__panel ul {
  list-style: none; margin: 0; padding: .6rem; min-width: 17rem;
  background: #fff; border-radius: var(--sc-r-md); box-shadow: var(--sc-e3);

}
.nav-sub__panel a { display: block; padding: .55rem .75rem; border-radius: var(--sc-r-sm); color: var(--sc-ink); text-decoration: none; font-size: var(--sc-t-sm); font-weight: 500; }
.nav-sub__panel a:hover, .nav-sub__panel a:focus-visible { background: var(--green-pale); color: var(--green-text); }
.nav-sub:hover .nav-sub__panel, .nav-sub__panel:focus-within, .nav-sub.is-open .nav-sub__panel {
  visibility: visible; opacity: 1; transform: none; transition-delay: 0s;
}
.nav-sub:hover > button svg, .nav-sub.is-open > button svg { transform: rotate(180deg); }
.bar__cta { margin-left: var(--sc-4); }
.bar__menu { display: none; }

/* --------------------------------------------------------- testimonial -- */
.voice { padding-block: var(--sc-section); }
.voice__card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: #fff; border-radius: var(--sc-r-lg); overflow: hidden; box-shadow: var(--sc-e3);
  max-width: 64rem; margin: var(--sc-7) auto 0;
}
.voice__card figure { margin: 0; }
.voice__card figure img { width: 100%; height: 100%; object-fit: cover; }
.voice__quote { margin: 0; padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; align-content: center; gap: var(--sc-5); }
.voice__quote p { font-family: var(--sc-font-display); font-size: var(--sc-t-lg); line-height: 1.4; font-weight: 500; }
.voice__quote p::before { content: "„"; }
.voice__quote p::after { content: "“"; }
.voice__text p::before, .voice__text p::after { content: none; }
.voice__text p + p { font-weight: 400; color: var(--sc-ink-soft); }
.voice__who { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.voice__who strong { display: block; color: var(--sc-ink); }
.placeholder-note {
  display: inline-block; font-size: var(--sc-t-xs); font-weight: 600; letter-spacing: .04em;
  color: #7A5B00; background: #FFF4CC; border: 1px dashed #C9A227; border-radius: var(--sc-r-sm); padding: .15rem .5rem;
}

/* Logozeile als Laufband. Die Liste steht doppelt im Markup, damit die
   Schleife nahtlos ist; die zweite Hälfte ist für Screenreader verborgen. */
.logos { margin-top: var(--sc-8); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; animation: logos 38s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 3.5rem; padding-right: 3.5rem; }
.logos li {
  width: 10rem; height: 3.25rem; display: grid; place-items: center; flex: none;
  border: 1.5px dashed color-mix(in oklab, var(--sc-ink) 22%, transparent); border-radius: var(--sc-r-md);
  font-size: var(--sc-t-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sc-ink-soft);
}
@keyframes logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .logos { mask-image: none; }
  .logos ul[aria-hidden] { display: none; }
}

/* ----------------------------------------------------------- contact -- */
.close { --sc-ink: #fff; --sc-ink-soft: #C9D3E0; color: #fff; background: var(--navy); }
.close :focus-visible { outline-color: var(--sc-accent); }
.close__in { max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); padding-top: 4rem; }
.close__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-bottom: 4rem; }
.close__body h2 { color: #fff; }
.close__body .sc-lede { color: #C9D3E0; margin-top: var(--sc-4); max-width: 30ch; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-5) var(--sc-6); font-size: var(--sc-t-base); line-height: 1.5; margin: 0; }
.contact dt { font-size: var(--sc-t-xs); font-weight: 600; letter-spacing: var(--sc-track-wide); text-transform: uppercase; color: #8FD988; margin-bottom: .3rem; }
.contact dd { margin: 0; }
.contact a:not(.btn) { color: #fff; }
.contact a:not(.btn):hover { color: #8FD988; }
.close__cta { grid-column: 1 / -1; margin-top: var(--sc-2); }
/* Fußzeile: hell mit Wegweiser (Variante B, 01.12.2026). Steht unter dem dunklen Kontakt-Block. */
.fuss { background: var(--sc-canvas); color: var(--navy); font-size: .875rem; }
.fuss a { color: inherit; text-underline-offset: .25em; }
.fuss a:hover { color: var(--green-text); }
.fuss__in { max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); padding-top: 3.5rem; }
.fuss__grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1.1fr; gap: 2.5rem 3rem; padding-bottom: 3rem; }
.fuss__marke img { width: 120px; height: auto; display: block; margin-bottom: 1.1rem; }
.fuss__marke p { margin: 0; line-height: 1.6; max-width: 26ch; color: var(--sc-ink-soft); }
.fuss__titel { margin: 0 0 .9rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.fuss li a { display: inline-block; padding-block: .3rem; text-decoration: none; }
.fuss li a:hover { text-decoration: underline; }
.fuss address { font-style: normal; line-height: 1.6; margin-bottom: .6rem; }
.fuss__unten { border-top: 1px solid rgba(16,35,59,.14); padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; color: var(--sc-ink-soft); }
.fuss__unten nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.fuss__unten nav a { padding-block: .45rem; color: var(--navy); }
.close__cta { display: flex; flex-wrap: wrap; gap: var(--sc-3); }

/* --------------------------------------------------------- responsive -- */
@media (max-width: 1100px) {
  .bar__in { gap: 1rem; }
  .bar__nav { gap: 1.1rem; }
  .bar__cta { margin-left: 0; }
}
@media (max-width: 900px) {
  .bar__nav { display: none; }
  .bar__menu { display: block; margin-left: auto; }
  .bar__menu summary { list-style: none; cursor: pointer; font-size: var(--sc-t-sm); font-weight: 600; padding: .6rem .75rem; border-radius: var(--sc-r-md); border: 1.5px solid var(--sc-hairline-strong); }
  .bar__menu summary::-webkit-details-marker { display: none; }
  .bar__menu[open] summary { background: var(--sc-canvas); }
  .bar__menu__panel {
    position: absolute; right: var(--sc-gutter); left: var(--sc-gutter); top: calc(var(--bar-h) - .5rem);
    max-height: calc(100svh - var(--bar-h)); overflow-y: auto;
    background: var(--sc-surface); border-radius: var(--sc-r-md); box-shadow: var(--sc-e3); padding: var(--sc-4);
  }
  .bar__menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
  .bar__menu p { margin: .75rem .8rem .25rem; font-size: var(--sc-t-xs); font-weight: 700; letter-spacing: var(--sc-track-wide); text-transform: uppercase; color: var(--green-text); }
  .bar__menu a { display: block; padding: .55rem .8rem; text-decoration: none; color: var(--sc-ink); font-weight: 500; border-radius: var(--sc-r-sm); }
  .bar__menu a:hover { background: var(--sc-canvas); color: var(--green-text); }
  .bar__in { gap: .5rem; padding-inline: 1rem; }
  .bar__logo { height: 4rem; }
  .close__body { grid-template-columns: 1fr; }
  .voice__card { grid-template-columns: 1fr; }
  .voice__card figure img { aspect-ratio: 16 / 9; height: auto; }
  .fuss__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  :root { --bar-h: 5.5rem; }
  .bar__logo { height: 3.25rem; }
  .bar__cta { min-width: 0; }
}

/* ------------------------------------------------------------- skip -- */
.sc-skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem;
  background: var(--navy); color: #fff; border-radius: var(--sc-r-md); text-decoration: none; font-weight: 600;
}
.sc-skip:focus { top: 1rem; }

/* Lange deutsche Komposita dürfen trennen, statt über den Rand zu laufen. */
h1, h2, h3 { hyphens: manual; overflow-wrap: break-word; }
.bar__menu:not([open]) .bar__menu__panel { display: none; }
.bar__in { position: relative; }

/* ------------------------------------------------------ hero mit foto -- */
/* Foto über die volle Breite, wie auf der Startseite und der Leistungsseite
   Berechtigungen. Der Text steht links auf einem dunklen Verlauf. Auf schmalen
   oder flachen Fenstern steht das Foto oben und der Text darunter. */
.hero--bild .hero__stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(32rem, calc(100svh - var(--bar-h)), 52rem);
}
.hero--kurz .hero__stage { min-height: clamp(28rem, 72svh, 42rem); }
.hero--bild .hero__photo {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--hero-pos, 60% 40%);
}
.hero--bild .hero__stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,20,36,.9) 0%, rgba(8,20,36,.78) 38%, rgba(8,20,36,.3) 68%, rgba(8,20,36,.08) 100%),
    linear-gradient(0deg, rgba(8,20,36,.35), transparent 35%);
}
.hero--bild .hero__in { display: block; padding-block: var(--sc-8); }
.hero--bild .hero__in > * { max-width: 42rem; }
.hero--bild .hero__in h1, .hero--bild .hero__sub { text-shadow: 0 1px 14px rgba(8,20,36,.45); }
.hero--bild mark.pruefen { color: var(--navy); text-shadow: none; }
/* Tablet quer (901 bis 1200px): Der Text nimmt hier gut zwei Drittel der Breite ein und
   liefe sonst über helle Bildteile. Der dunkle Verlauf reicht deshalb weiter nach rechts. */
@media (min-width: 901px) and (max-width: 1200px) {
  .hero--bild .hero__stage::after {
    background:
      linear-gradient(90deg, rgba(8,20,36,.92) 0%, rgba(8,20,36,.86) 50%, rgba(8,20,36,.62) 72%, rgba(8,20,36,.2) 100%),
      linear-gradient(0deg, rgba(8,20,36,.35), transparent 35%);
  }
}
@media (max-width: 900px), (max-height: 620px) {
  .hero--bild .hero__stage, .hero--kurz .hero__stage { min-height: 0; overflow: visible; }
  .hero--bild .hero__stage::after { display: none; }
  .hero--bild .hero__photo { position: static; order: -2; aspect-ratio: 3 / 2; height: auto; }
  .hero--bild .hero__in { padding-block: var(--sc-6) var(--sc-7); }
  .hero--bild .hero__in h1, .hero--bild .hero__sub { text-shadow: none; }
}

/* Fotos vom Shooting Oktober 2026 an Stelle der früheren Bildplatzhalter (.ph).
   Das Seitenverhältnis kommt wie beim Platzhalter aus --ph-ratio. */
.foto { margin: 0; width: 100%; aspect-ratio: var(--ph-ratio, 3 / 2); overflow: hidden; border-radius: var(--sc-r-lg); }
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post .foto, .story .foto { border-radius: var(--sc-r-md); }
.ceo .foto { border-radius: 0; height: 100%; }

/* Korrekturlauf 17.11.2026: deaktivierte Abschnitte und Text mit Foto daneben. */
[hidden] { display: none !important; }
.mit-foto { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .mit-foto { grid-template-columns: 1fr; } }

/* Nur für Screenreader, z. B. der Hinweis „öffnet einen neuen Tab“. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  .fuss__grid { grid-template-columns: 1fr; gap: 2rem; }
  .fuss__unten nav { margin-left: 0; flex-basis: 100%; }
}

/* Kasten „Auf einen Blick“ und „Kurzprofil“: überall gleich, weiß (Andrea, 02.12.2026).
   Vorher hatte jede Seite eigene Regeln, teils mit hellgrünem Grund. */
.glance { background: #fff; border: 1px solid var(--sc-hairline); border-radius: var(--sc-r-lg); padding: var(--sc-6); box-shadow: var(--sc-e1); }
.glance h3 { font-family: var(--sc-font-display); font-size: var(--sc-t-xl); line-height: 1.15; }
.glance dl { margin: var(--sc-4) 0 0; display: grid; gap: var(--sc-3); }
.glance dl > div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: var(--sc-3); padding-top: var(--sc-3); border-top: 1px solid var(--sc-hairline); }
.glance dt { font-size: var(--sc-t-xs); font-weight: 700; letter-spacing: var(--sc-track-wide); text-transform: uppercase; color: var(--green-text); padding-top: .2rem; }
.glance dd { margin: 0; font-size: var(--sc-t-sm); line-height: 1.5; }
@media (max-width: 640px) {
  .glance { padding: var(--sc-5); }
  .glance dl > div { grid-template-columns: 1fr; gap: .15rem; }
}

/* Kontaktseite: Die Überschrift bleibt links vom Gesicht im Foto. */
.hero--bild.hero--schmal .hero__in > * { max-width: 30rem; }
.hero--bild.hero--schmal h1 { font-size: var(--sc-t-2xl); line-height: 1.08; }
