/* k-innovations Website. Aufbau aus Vorschlag A «Register». */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url(../fonts/schibsted-grotesk-700-latin.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 800; font-display: swap; src: url(../fonts/schibsted-grotesk-800-latin.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url(../fonts/instrument-sans-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url(../fonts/instrument-sans-500-latin.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url(../fonts/instrument-sans-600-latin.woff2) format("woff2"); }

:root {
  --grund: #F2EFE8; --text: #2B2A28; --leise: #615D57; --linie: #D6D1C7; --akzent: #7A6642;
  --hell: #FAF8F4; --knopf: #2B2A28; --knopf-text: #F2EFE8;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --breite: 1160px; --kopf-h: 64px;
    color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--grund); color: var(--text); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; hyphens: manual; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--knopf); color: var(--knopf-text); padding: 10px 16px; }
.springen:focus { top: 16px; }

.huelle { max-width: calc(var(--breite) + 64px); margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .huelle { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } body { font-size: 16px; } }

.knopf { display: inline-flex; align-items: center; gap: 10px; background: var(--knopf); color: var(--knopf-text); font: 600 16px var(--body);
  text-decoration: none; padding: 13px 20px; border: 0; border-radius: 0; cursor: pointer; transition: background .15s, color .15s; }
.knopf:hover { background: var(--akzent); color: var(--grund); }
.knopf.rand { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.knopf.rand:hover { background: var(--akzent); color: var(--grund); box-shadow: none; }
.knopf.klein { font-size: 15px; padding: 10px 16px; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--akzent); padding-bottom: 1px; }
.textlink:hover { color: var(--akzent); }
h1.t, h2.t { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }
.abschnitt { padding-block: clamp(64px, 9vw, 128px); scroll-margin-top: calc(var(--kopf-h) + 28px); }
.abschnitt.linie { border-top: 1px solid var(--linie); }

/* Navigation: ein Band über die ganze Breite, gleiche Farbe wie die Seite, ohne Rahmen */
.kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); background: var(--grund); }
.glas { height: var(--kopf-h); display: flex; align-items: center; gap: 32px; color: var(--text); }
/* Über der Tür: kein Band, nur Schrift in Papier */
.kopf.auf-dunkel { background: transparent; }
.kopf.auf-dunkel .glas { color: #F2EFE8; }
.kopf.auf-dunkel .marke, .kopf.auf-dunkel .menue-knopf { color: #F2EFE8; border-color: #F2EFE8; }
.kopf.auf-dunkel .nav ul a:hover { border-bottom-color: #B9A57E; }
.kopf.auf-dunkel .nav .knopf { background: #F2EFE8; color: #2B2A28; }
.kopf.auf-dunkel .nav .knopf:hover { background: #B9A57E; }
.marke { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); flex: none; }
.marke svg { height: 21px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-weight: 500; font-size: 15px; text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--akzent); }
.menue-knopf { display: none; margin-left: auto; background: none; border: 1.5px solid var(--text); color: var(--text); font: 600 15px var(--body); padding: 8px 14px; border-radius: 0; cursor: pointer; }
@media (max-width: 960px) {
  .menue-knopf { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--grund); border-bottom: 1px solid var(--linie);
         flex-direction: column; align-items: stretch; gap: 0; padding: 4px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
         max-height: calc(100svh - var(--kopf-h)); overflow-y: auto; }
  .nav.offen { display: flex; }
  .kopf.auf-dunkel .nav { background: #2B2A28; border-color: #4A4743; }
  .kopf.auf-dunkel .nav ul a { border-bottom-color: #4A4743; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding-block: 14px; border-bottom: 1px solid var(--linie); font-size: 18px; }
  .nav .knopf { margin-top: 20px; justify-content: center; }
}
@media (max-width: 360px) { .marke svg { height: 18px; } }

/* Einstieg: die Messingtür, das k ist das Loch */
.tuer-abschnitt { height: 380svh; position: relative; background: #2B2A28; }
.buehne { position: sticky; top: 0; height: 100svh; min-height: 480px; overflow: hidden; }
.hinter { position: absolute; inset: 0; background: #2B2A28; color: #F2EFE8; display: flex; align-items: center; padding-top: calc(var(--kopf-h) + 14px); }
.hinter .huelle { width: 100%; }
.hinter h1 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; max-width: 11em; }
.hinter h1 span { color: #B9A57E; }
.hinter .rolle { font-size: clamp(17px, 1.6vw, 21px); color: rgba(242,239,232,.8); max-width: 32em; margin-top: 24px; }
.hinter .aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hinter .knopf { background: #F2EFE8; color: #2B2A28; }
.hinter .knopf:hover { background: #B9A57E; color: #2B2A28; }
.hinter .knopf.rand { background: transparent; color: #F2EFE8; box-shadow: inset 0 0 0 1.5px #F2EFE8; }
.hinter .knopf.rand:hover { background: #B9A57E; color: #2B2A28; box-shadow: none; }
.hinter .ort { margin-top: 40px; font-size: 15px; color: rgba(242,239,232,.62); }
canvas.tuer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.tuer-hinweis { position: absolute; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 3; text-align: center; color: #F2EFE8; font-size: 14px; font-weight: 600; letter-spacing: .04em; transition: opacity .25s; }
@media (max-width: 600px) { .tuer-abschnitt { height: 300svh; } }
@media (max-height: 520px) and (orientation: landscape) { .tuer-abschnitt { height: 280svh; } .buehne { min-height: 0; } .hinter h1 { font-size: 34px; } .hinter .rolle { margin-top: 12px; font-size: 16px; } .hinter .aktionen { margin-top: 18px; } .hinter .ort { display: none; } }
@media (prefers-reduced-motion: reduce) { .tuer-abschnitt { height: auto; } .buehne { position: relative; top: 0; height: auto; min-height: 0; } .hinter { position: relative; padding-block: calc(var(--kopf-h) + 72px) clamp(64px, 10vw, 128px); } canvas.tuer, .tuer-hinweis { display: none; } }
.ohne-tuer .tuer-abschnitt { height: auto; } .ohne-tuer .buehne { position: relative; height: auto; min-height: 0; } .ohne-tuer .hinter { position: relative; padding-block: calc(var(--kopf-h) + 72px) clamp(64px, 10vw, 128px); } .ohne-tuer canvas.tuer, .ohne-tuer .tuer-hinweis { display: none; }

/* Fragen-Register */
.fragen-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; }
.fragen-kopf p { color: var(--leise); max-width: 26em; }
.register { list-style: none; margin: 48px 0 0; padding: 0; border-bottom: 1px solid var(--linie); }
.register li { border-top: 1px solid var(--linie); }
.register button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center; background: none; border: 0; padding: 22px 0; text-align: left; color: var(--text); cursor: pointer; }
.register .k { width: 22px; height: 28px; color: var(--akzent); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .2s; }
.register .frage { font: 800 clamp(21px, 2.6vw, 34px)/1.15 var(--display); letter-spacing: -0.02em; transition: color .2s; }
.register .antwort { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.register .antwort > div { overflow: hidden; }
.register .antwort p { padding: 0 0 26px 56px; font-size: 19px; max-width: 40em; }
.register li.offen .k, .register button:hover .k, .register button:focus-visible .k { opacity: 1; transform: none; }
.register li.offen .frage { color: var(--akzent); }
.register li.offen .antwort { grid-template-rows: 1fr; }
@media (max-width: 640px) { .register button { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 18px 0; } .register .k { width: 18px; height: 22px; } .register .antwort p { padding-left: 36px; font-size: 17px; } }

/* Begleitung als Zeitleiste */
.zwei { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.zwei .links { align-self: start; position: sticky; top: calc(var(--kopf-h) + 64px); }
.zwei .links p { color: var(--leise); margin-top: 16px; max-width: 24em; }
.leiste { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.leiste li { counter-increment: s; position: relative; padding: 0 0 44px 68px; }
.leiste li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; display: grid; place-items: center; font: 700 17px var(--display); border: 1.5px solid var(--text); background: var(--grund); z-index: 1; }
.leiste li::after { content: ""; position: absolute; left: 21px; top: 42px; bottom: 0; border-left: 1.5px solid var(--linie); }
.leiste li:last-child { padding-bottom: 0; }
.leiste li:last-child::after { display: none; }
.leiste h3 { font-size: 22px; font-weight: 700; line-height: 1.3; padding-top: 7px; }
.leiste p { color: var(--leise); margin-top: 6px; max-width: 34em; }
@media (max-width: 520px) { .leiste li { padding-left: 56px; } .leiste li::before { width: 36px; height: 36px; } .leiste li::after { left: 18px; top: 36px; } .leiste h3 { font-size: 20px; padding-top: 4px; } }

/* Werte als Zeilen */
.werte { border-top: 1px solid var(--linie); }
.werte dl { margin: 40px 0 0; }
.werte .wert { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 40px; padding-block: 24px; border-top: 1px solid var(--linie); align-items: baseline; }
.werte dt { font: 800 clamp(26px, 2.6vw, 34px) var(--display); color: var(--akzent); letter-spacing: -0.02em; }
.werte dd { margin: 0; font-weight: 600; }

/* Team-Teaser und Partner */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.team .text p { color: var(--leise); margin-top: 18px; font-size: 18px; max-width: 30em; }
.team .text .textlink { display: inline-block; margin-top: 24px; }
.bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--hell); }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.partner { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--linie); scroll-margin-top: calc(var(--kopf-h) + 24px); }
.partner h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.015em; }
.partner p { color: var(--leise); margin-top: 8px; max-width: 40em; }
.plattform { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; padding-block: 18px; border-block: 1px solid var(--linie); margin-top: 24px; }
.plattform p { color: var(--leise); }
.plattform strong { color: var(--text); }

/* Kontakt mit Visitenkarte */
.kontakt { border-top: 1px solid var(--linie); }
.kontakt .huelle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.kontakt .text p { color: var(--leise); margin-top: 16px; max-width: 28em; font-size: 18px; }
.kontakt .aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.visitenkarte { aspect-ratio: 85 / 55; width: 100%; max-width: 520px; justify-self: center; background: #7A6642; color: #F2EFE8; padding: clamp(20px, 3.4vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 20px 44px -26px rgba(0,0,0,.6); transform: rotate(-1.5deg); }
.visitenkarte .marke { color: #F2EFE8; }
.visitenkarte .marke svg { height: clamp(18px, 2.4vw, 26px); }
.visitenkarte .zeilen { font-size: clamp(13px, 1.3vw, 16px); line-height: 1.55; }
.visitenkarte .zeilen b { font: 700 1.12em var(--display); display: block; margin-bottom: 4px; }
.visitenkarte a { text-decoration: none; }
.visitenkarte a:hover { text-decoration: underline; }

/* Fuss */
.fuss-seite { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linie); font-size: 14px; color: var(--leise); }
.fuss-seite .huelle { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.fuss-seite a { text-decoration: none; }
.fuss-seite a:hover { color: var(--text); text-decoration: underline; }
.fuss-seite .rechts { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* Unterseiten */
.seitenkopf { padding-top: calc(var(--kopf-h) + clamp(72px, 10vw, 128px)); padding-bottom: clamp(40px, 6vw, 72px); }
.seitenkopf .ueber { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--akzent); margin-bottom: 18px; }
.seitenkopf h1 { font-size: clamp(36px, 5.2vw, 68px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; max-width: 12em; }
.seitenkopf .einstieg { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; max-width: 30em; margin-top: 24px; }

/* Über uns */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.platzhalter { aspect-ratio: 4 / 5; background: var(--hell); border: 1px solid var(--linie); position: relative; display: flex; align-items: flex-end; padding: 18px; max-width: 460px; }
.portraet { aspect-ratio: 4 / 5; max-width: 460px; overflow: hidden; background: var(--hell); }
.portraet img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.platzhalter svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.platzhalter span { position: relative; font-size: 14px; color: var(--leise); background: var(--hell); border: 1px solid var(--linie); padding: 8px 12px; }
.person h2, .absatz h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.person p, .absatz p { color: var(--leise); font-size: 18px; margin-top: 16px; max-width: 32em; }
.absaetze { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.absaetze .absatz + .absatz { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--linie); }
.absaetze .bild { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--kopf-h) + 48px); }
.schluss { text-align: left; }
.schluss .aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.schluss p { color: var(--leise); margin-top: 14px; max-width: 30em; font-size: 18px; }

/* Rechtstexte */
.rechtstext { max-width: 46em; padding-bottom: clamp(64px, 9vw, 128px); }
.rechtstext h2 { font-size: 22px; font-weight: 700; line-height: 1.3; margin-top: 44px; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { font-size: 18px; font-weight: 700; margin-top: 24px; }
.rechtstext p, .rechtstext ul, .rechtstext address { margin: 12px 0 0; color: var(--text); font-style: normal; }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext li + li { margin-top: 6px; }
.rechtstext .stand { color: var(--leise); font-size: 15px; margin-top: 44px; }
.rechtstext a { text-decoration-color: var(--akzent); text-underline-offset: 3px; }

@media (max-width: 960px) {
  .zwei, .team, .kontakt .huelle, .person, .absaetze { grid-template-columns: minmax(0, 1fr); }
  .zwei .links, .absaetze .bild { position: static; }
  .absaetze .bild { aspect-ratio: 16 / 10; }
  .werte .wert { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .partner { grid-template-columns: minmax(0, 1fr); }
  .partner .knopf { justify-self: start; }
  .fuss-seite .rechts { margin-left: 0; }
  .platzhalter, .portraet { max-width: 380px; }
}

/* Über uns: Plattform */
.zweispalt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(32px, 6vw, 96px); align-items: baseline; }
.zweispalt h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.zweispalt p { color: var(--leise); font-size: 18px; max-width: 32em; }
.zweispalt .textlink { display: inline-block; margin-top: 18px; }
@media (max-width: 960px) { .zweispalt { grid-template-columns: minmax(0, 1fr); } }

/* Kontakt: Eisen-Fläche, Visitenkarte in Papier mit Messing-Schrift und grossem Schlüssel-k über den Rand */
.kontakt { background: #2B2A28; color: #F2EFE8; border-top: 0; }
.kontakt h2.t { color: #F2EFE8; }
.kontakt .text p { color: rgba(242, 239, 232, .74); }
.kontakt .knopf { background: #F2EFE8; color: #2B2A28; }
.kontakt .knopf:hover { background: #B9A57E; color: #2B2A28; }
.kontakt .knopf.rand { background: transparent; color: #F2EFE8; box-shadow: inset 0 0 0 1.5px #F2EFE8; }
.kontakt .knopf.rand:hover { background: #B9A57E; color: #2B2A28; box-shadow: none; }
.kontakt :focus-visible { outline-color: #B9A57E; }
.visitenkarte { position: relative; overflow: hidden; background: #F2EFE8; color: #7A6642; box-shadow: 0 28px 60px -30px rgba(0, 0, 0, .8); }
.visitenkarte .marke { color: #7A6642; position: relative; z-index: 1; }
.visitenkarte .zeilen { position: relative; z-index: 1; color: #7A6642; }
.visitenkarte .zeilen b { color: #7A6642; }
.visitenkarte .gross-k { position: absolute; right: -13%; bottom: -16%; height: 112%; width: auto; color: #7A6642; pointer-events: none; }
.fuss-seite { border-top: 0; }
@media (max-width: 600px) {
  .visitenkarte { transform: rotate(-1deg); width: calc(100% - 12px); justify-self: center; }
  .visitenkarte .gross-k { height: 92%; right: -17%; bottom: -12%; }
}

/* Über uns: Plattform als dunkle Eisen-Fläche */
.abschnitt.dunkel { background: #2B2A28; color: #F2EFE8; }
.abschnitt.dunkel + .abschnitt { border-top: 0; }
.dunkel .zweispalt h2 { color: #F2EFE8; }
.dunkel .zweispalt p { color: rgba(242, 239, 232, .74); }
.dunkel .textlink { color: #F2EFE8; border-bottom-color: #B9A57E; }
.dunkel .textlink:hover { color: #B9A57E; }
.dunkel :focus-visible { outline-color: #B9A57E; }

/* Visitenkarte: auf Desktop 50 mm nach links, 20 mm nach oben */
@media (min-width: 961px) {
  .visitenkarte { translate: -50mm -20mm; }
}
