/* IKSA – Integrative Kommunikation Salzmann · Stylesheet
   Nah am alten Enfold-Design (Farbschema «Enfold 2017» der Altseite): Warmgrau #877e78 / #7a736e,
   Fuss #35383c, Sockel #928675, Lato. Modernisiert: Luft, Typografie, Mobil, Barrierefreiheit. */

@font-face { font-family: 'Lato'; src: url('/schriften/lato-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('/schriften/lato-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('/schriften/lato-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('/schriften/lato-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --taupe: #877e78;          /* Primärfarbe Altseite */
  --taupe-dunkel: #6c645f;   /* Textfarbe mit genügend Kontrast */
  --ueberschrift: #6f6863;
  --text: #4d4945;
  --grau: #6b6661;
  --hell: #f7f5f2;
  --sand: #efebe6;
  --linie: #e6e1db;
  --weiss: #ffffff;
  --fuss: #35383c;
  --sockel: #766b5d;          /* Altseite #928675, für Lesekontrast (WCAG AA) leicht abgedunkelt */
  --blau: #9cc2df;           /* Akzent aus der Altseite, sparsam */
  --breite: 1180px;
  --rand: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --schatten: 0 20px 50px -28px rgba(53, 56, 60, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--weiss); color: var(--text); font: 400 17px/1.75 'Lato', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--taupe-dunkel); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--fuss); }
h1, h2, h3 { color: var(--ueberschrift); font-weight: 300; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 400; }
p { margin: 0 0 1.1em; }
strong { color: var(--fuss); font-weight: 700; }
:focus-visible { outline: 2px solid var(--taupe-dunkel); outline-offset: 3px; }
::selection { background: var(--sand); color: var(--fuss); }

.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--fuss); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }
.inhalt { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 820px; }
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.abschnitt.hell { background: var(--hell); }
.zentriert { text-align: center; }

/* Gesperrte Grossbuchstaben wie im Original (Überschriften der Kacheln, Menü, Unterzeilen) */
.versal { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 400; color: var(--taupe-dunkel); }
.trenner { width: 48px; height: 1px; background: var(--taupe); border: 0; margin: 22px 0 26px; }
.zentriert .trenner, .intro .trenner { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- Wortmarke */
.wortmarke { display: inline-flex; flex-direction: column; align-items: center; color: var(--ueberschrift); text-decoration: none; line-height: 1; }
.wortmarke .zeichen { font-weight: 300; letter-spacing: .5em; margin-right: -.5em; font-size: 30px; }
.wortmarke .zeile { text-transform: uppercase; letter-spacing: .16em; margin-right: -.16em; font-size: 8.6px; margin-top: 8px; white-space: nowrap; }
.wortmarke:hover { color: var(--fuss); }

/* ---------------------------------------------------------------- Kopf */
.kopf { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease; }
.kopf.fest { border-bottom-color: var(--linie); box-shadow: 0 6px 24px -18px rgba(53, 56, 60, .5); }
.kopf-zeile { max-width: 1320px; margin: 0 auto; padding: 0 var(--rand); height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.kopf-nav { display: flex; align-items: center; gap: 2px; }
.kopf-nav a { padding: 10px 14px; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--grau);
  border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.kopf-nav a:hover, .kopf-nav a.aktiv { color: var(--fuss); border-bottom-color: var(--taupe); }
.sprache { display: flex; align-items: center; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--linie); }
.sprache a, .sprache span { padding: 6px 7px; font-size: .74rem; letter-spacing: .14em; text-decoration: none; color: var(--grau); }
.sprache span[aria-current] { color: var(--fuss); font-weight: 700; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--linie); background: #fff; cursor: pointer; position: relative; border-radius: 50%; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--fuss); content: ''; transition: transform .3s ease, top .3s ease, background .2s; }
.burger span { top: 22px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.menue { position: fixed; inset: 0; z-index: 90; background: #fff; padding: 120px var(--rand) 40px; display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.menue.offen { opacity: 1; visibility: visible; }
.menue-offen .kopf { position: fixed; left: 0; right: 0; top: 0; }
.menue > a { text-transform: uppercase; letter-spacing: .14em; font-size: 1.05rem; color: var(--fuss); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.menue-fuss { margin-top: 26px; color: var(--grau); line-height: 2; }

/* ---------------------------------------------------------------- Startbild (wie Original) */
.hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-start; justify-content: center; overflow: hidden; background: #eef0f1; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.25) 55%, rgba(255,255,255,0) 100%); }
.hero-text { position: relative; z-index: 1; text-align: center; padding: clamp(70px, 13vh, 150px) var(--rand) 0; }
.hero .wortmarke .zeichen { font-size: clamp(64px, 11vw, 150px); font-weight: 300; letter-spacing: .42em; margin-right: -.42em; color: var(--ueberschrift); }
.hero .wortmarke .zeile { font-size: clamp(12px, 1.6vw, 21px); letter-spacing: .2em; margin-right: -.2em; margin-top: clamp(18px, 3vw, 34px); color: var(--ueberschrift); }
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.hero-weiter { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--fuss); background: rgba(255,255,255,.85); text-decoration: none; }
.hero-weiter svg { width: 18px; height: 18px; animation: wippen 2.4s ease-in-out infinite; }
@keyframes wippen { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

.intro { text-align: center; max-width: 760px; margin: 0 auto; }
.intro p { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 300; line-height: 1.6; color: var(--ueberschrift); }

/* ---------------------------------------------------------------- Kacheln (Übersicht) */
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 30px); }
.kachel { display: block; text-decoration: none; color: inherit; }
.kachel .bild { overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand); }
.kachel .bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease, filter .6s ease; filter: saturate(.9); }
.kachel:hover .bild img { transform: scale(1.04); filter: saturate(1); }
.kachel .titel { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 2px 0; }
.kachel h3 { margin: 0; text-transform: uppercase; letter-spacing: .2em; font-size: 1.05rem; font-weight: 400; color: var(--ueberschrift); }
.kachel .zeile { display: block; margin-top: 6px; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; color: var(--grau); }
.kachel .pfeil { width: 36px; height: 36px; flex: none; border: 1px solid var(--linie); border-radius: 50%; display: grid; place-items: center; color: var(--taupe-dunkel);
  transition: background .3s ease, color .3s ease, border-color .3s ease; }
.kachel .pfeil svg { width: 16px; height: 16px; }
.kachel:hover .pfeil { background: var(--taupe); border-color: var(--taupe); color: #fff; }

/* ---------------------------------------------------------------- Knöpfe */
.knopf, .knopf-linie { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: var(--radius); cursor: pointer; border: 0;
  text-transform: uppercase; letter-spacing: .16em; font: 400 .78rem/1 'Lato', sans-serif; text-decoration: none; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.knopf { background: var(--taupe-dunkel); color: #fff; }
.knopf:hover { background: var(--fuss); color: #fff; }
.knopf-linie { background: transparent; color: var(--fuss); box-shadow: inset 0 0 0 1px var(--taupe); }
.knopf-linie:hover { background: var(--taupe-dunkel); color: #fff; }
.knopf svg, .knopf-linie svg { width: 16px; height: 16px; }
.knopf-gruppe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------------------------------------------------------------- Unterseiten */
.seiten-band { position: relative; height: clamp(240px, 28vw, 380px); overflow: hidden; background: #eef0f1; display: flex; align-items: flex-start; justify-content: center; }
.seiten-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; }
.seiten-band::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.35); }
.seiten-band .wortmarke { position: relative; z-index: 1; margin-top: clamp(30px, 4.5vw, 64px); }
.seiten-band .wortmarke .zeichen { font-size: clamp(38px, 6vw, 64px); letter-spacing: .42em; margin-right: -.42em; }
.seiten-band .wortmarke .zeile { font-size: clamp(9px, 1vw, 12px); margin-top: 14px; }
.krumen { font-size: .8rem; color: var(--grau); padding: 22px 0 0; letter-spacing: .04em; }
.krumen a { color: var(--grau); text-decoration: none; }
.krumen a:hover { color: var(--fuss); }
.krumen span { margin: 0 8px; opacity: .5; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.zweispaltig .bild { position: relative; }
.zweispaltig .bild img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.zweispaltig .bild::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--taupe); z-index: -1; }
.zweispaltig .text .lead { font-size: 1.15rem; color: var(--ueberschrift); }
.rollen { font-style: italic; color: var(--ueberschrift); font-size: 1.1rem; }

/* Promobox der Altseite, modern */
.anfrage-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 90px);
  padding: clamp(26px, 3.5vw, 40px) clamp(24px, 4vw, 48px); background: var(--hell); border-left: 2px solid var(--taupe); }
.anfrage-box p { margin: 0; font-size: 1.12rem; color: var(--ueberschrift); max-width: 560px; }
.anfrage-box .versal { display: block; margin-bottom: 6px; }

/* Partner */
.partner-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.partner-liste a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 26px; background: #fff; border: 1px solid var(--linie);
  text-decoration: none; color: var(--fuss); letter-spacing: .04em; transition: border-color .25s ease, transform .25s ease; }
.partner-liste a:hover { border-color: var(--taupe); transform: translateY(-2px); }
.partner-liste small { display: block; color: var(--grau); font-size: .82rem; }
.partner-liste svg { width: 16px; height: 16px; color: var(--taupe); flex: none; }

/* ---------------------------------------------------------------- Kontakt */
.kontakt-raster { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.kontakt-daten { font-style: normal; line-height: 1.9; }
.kontakt-daten a { text-decoration: none; }
.kontakt-daten .versal { display: block; margin: 22px 0 4px; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.formular .voll { grid-column: 1 / -1; }
.formular label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--taupe-dunkel); margin-bottom: 8px; }
.formular input, .formular select, .formular textarea { width: 100%; font: 400 1rem/1.4 'Lato', sans-serif; color: var(--fuss); background: var(--hell);
  border: 1px solid var(--linie); border-radius: var(--radius); padding: 13px 15px; transition: border-color .2s ease, background .2s ease; }
.formular select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2335383c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--taupe); background: #fff; }
.formular textarea { min-height: 150px; resize: vertical; }
.formular .haken { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: .92rem; color: var(--text); margin: 0; }
.formular .haken input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--taupe-dunkel); }
.formular .haken input:focus-visible { outline: 2px solid var(--taupe-dunkel); outline-offset: 2px; }
.formular .honig { position: absolute; left: -9999px; }

/* Rechtstexte */
.rechtstext { max-width: 760px; }
.rechtstext h2 { font-size: 1.4rem; font-weight: 400; margin-top: 2em; }

/* ---------------------------------------------------------------- Fuss (wie Original: dunkel + Sockel) */
.fuss { background: var(--fuss); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.fuss a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss :focus-visible { outline-color: #fff; }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: clamp(56px, 7vw, 80px) 0; }
.fuss .wortmarke { color: #fff; align-items: flex-start; }
.fuss .wortmarke .zeichen { font-size: 34px; }
.fuss h2 { color: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 400; margin-bottom: 16px; }
.fuss ul { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.sockel { background: var(--sockel); color: rgba(255, 255, 255, .92); font-size: .8rem; letter-spacing: .06em; }
.sockel .inhalt { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.sockel a { color: #fff; text-decoration: none; }
.sockel a:hover { text-decoration: underline; }

.nach-oben { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 44px; height: 44px; display: grid; place-items: center; background: var(--fuss); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; border-radius: 50%; }
.nach-oben.sichtbar { opacity: 1; visibility: visible; }
.nach-oben:hover { background: var(--taupe); color: #fff; }

/* ---------------------------------------------------------------- Einwilligung (Google Analytics) */
.einwilligung { position: fixed; left: 22px; bottom: 22px; z-index: 120; width: min(420px, calc(100vw - 32px));
  background: var(--weiss); color: var(--text); border-radius: var(--radius); border-top: 3px solid var(--taupe); padding: 22px 24px 22px;
  box-shadow: 0 24px 60px -20px rgba(53, 56, 60, .5), 0 0 0 1px var(--linie); font-size: .92rem; line-height: 1.6; }
.einwilligung[hidden] { display: none; }
.einwilligung p { margin: 0 0 12px; }
.einwilligung-titel { color: var(--fuss); font-size: 1.15rem; font-weight: 400; letter-spacing: .01em; }
.einwilligung-knoepfe { display: flex; gap: 10px; margin-top: 16px; }
.einwilligung-knoepfe button { flex: 1; justify-content: center; padding: 14px 12px; }
.einwilligung-links { font-size: .86rem; }
.link-knopf { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; }
.sockel .link-knopf { color: #fff; }
.sockel .link-knopf:hover { text-decoration: underline; }
/* Solange das Banner offen ist: unten Platz, damit nichts dauerhaft verdeckt bleibt (auch Tastaturfokus) */
.einwilligung-offen { scroll-padding-bottom: var(--einwilligung-h, 0px); }
.einwilligung-offen body { padding-bottom: var(--einwilligung-h, 0px); }
/* Das bewusst geöffnete Menü hat Vorrang vor dem Banner */
.menue-offen .einwilligung { display: none; }
@media (max-width: 620px) {
  .einwilligung { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 20px; }
}

/* Einblenden (ausfallsicher, siehe seite.js) */
.js-animiert .einblenden { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js-animiert .einblenden.sichtbar { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1040px) {
  .kopf-nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .kacheln, .zweispaltig, .kontakt-raster, .fuss-raster { grid-template-columns: 1fr; }
  .zweispaltig .bild { max-width: 520px; }
  .hero { min-height: 72vh; }
}
@media (max-width: 600px) {
  .kopf-zeile { height: 80px; }
  .wortmarke .zeichen { font-size: 25px; }
  .wortmarke .zeile { font-size: 7.4px; }
  .formular { grid-template-columns: 1fr; }
  .zweispaltig .bild::after { inset: 12px -10px -12px 12px; }
  .anfrage-box { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
