/* Schriften lokal eingebunden (keine Verbindung zu Google, DSGVO) */
@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:200;font-display:swap;src:url("fonts/roboto-slab-latin-200-normal.woff2") format("woff2")}
@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:300;font-display:swap;src:url("fonts/roboto-slab-latin-300-normal.woff2") format("woff2")}
@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/roboto-slab-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2")}
/* Layout idea: Galerie-Ruhe. Weißraum, Haarlinien, eine leichte Slab-Schrift wie im Logo, Blau nur als Akzent. */
:root {
  --paper: #ffffff;
  --mist: #f4f6f7;
  --ink: #1f2224;
  --grey: #6b6d70;
  --hair: #e3e6e8;
  --blue: #006199;
  --sky: #00aede;
  --display: "Roboto Slab", Rockwell, Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
.label { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--hair); }
.logo { height: 44px; width: auto; }
nav { display: flex; gap: 36px; font-size: .92rem; }
nav a { text-decoration: none; color: var(--grey); transition: color .2s; }
nav a:hover { color: var(--ink); }
.tel { font-size: .92rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Hero */
.hero { padding: 96px 0 112px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.hero h1 { font-size: clamp(3rem, 7vw, 6.2rem); line-height: 1; font-weight: 200; margin-top: 28px; }
.hero h1 span { color: var(--blue); }
.hero .lead { margin-top: 36px; max-width: 38ch; color: var(--grey); font-size: 1.15rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 48px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: .98rem; letter-spacing: .01em; border: 0; cursor: pointer; font-family: inherit; transition: background-color .25s; }
.btn:hover { background: var(--blue); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.link { text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--hair); padding-bottom: 3px; transition: border-color .2s; }
.link:hover { border-color: var(--ink); }

.hero-photo { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mist); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { transform: scale(1.06); opacity: .0; } to { transform: none; opacity: 1; } }
.hero-photo figcaption, .ba figcaption, .gallery figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 18px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: var(--paper); }

/* Vorher / Nachher */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba.after figcaption { background: var(--blue); color: #fff; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; list-style: none; margin: 0; padding: 0; }
.gallery li { position: relative; margin: 0; overflow: hidden; background: var(--mist); }
.gallery li.tall { grid-row: span 2; }
.gallery li.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery li:hover img { transform: scale(1.03); }

/* Sections */
section { padding: 128px 0; border-top: 1px solid var(--hair); }
.head { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; margin-bottom: 72px; }
.head h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.08; }
.head p { color: var(--grey); max-width: 46ch; margin-top: 22px; }

/* Zielgruppen */
.audience { padding: 0 0 128px; border-top: 0; }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aud { position: relative; display: grid; grid-template-columns: 1fr 180px; text-decoration: none; background: var(--mist); overflow: hidden; transition: background-color .3s; }
.aud:hover { background: #e9eef1; }
.aud-body { padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.aud .no { font-family: var(--display); font-weight: 300; color: var(--blue); font-size: .95rem; }
.aud h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; }
.aud p { color: var(--grey); }
.aud .chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.aud .chips li { font-size: .8rem; padding: 4px 10px; border: 1px solid #cfd6da; border-radius: 999px; color: var(--ink); background: var(--paper); }
.aud .go { margin-top: auto; padding-top: 10px; display: inline-flex; gap: 10px; align-items: center; font-weight: 600; color: var(--blue); }
.aud .go span { transition: transform .25s; }
.aud:hover .go span { transform: translateY(3px); }
.aud img { width: 100%; height: 100%; object-fit: cover; }
.aud.biz { background: var(--ink); color: #fff; }
.aud.biz:hover { background: #2a2e31; }
.aud.biz p { color: #a9b0b4; }
.aud.biz .no, .aud.biz .go { color: var(--sky); }
.aud.biz .chips li { background: transparent; color: #fff; border-color: #43494d; }

.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.group { background: var(--mist); padding: 40px 40px 16px; }
.group-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); scroll-margin-top: 100px; }
.group-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 300; }
.group-head p { color: var(--grey); font-size: .9rem; }
.group .services { grid-template-columns: 1fr; }
.group .services li { border-top: 1px solid #dde2e5; }
.group .services li:first-child { border-top: 0; }
.group .services li:nth-last-child(-n+2) { border-bottom: 0; }
.group .services h3 { font-size: 1.35rem; }
.group.biz { background: var(--ink); color: #fff; }
.group.biz .group-head { border-color: var(--sky); }
.group.biz .group-head p, .group.biz .services p { color: #a9b0b4; }
.group.biz .services .no { color: var(--sky); }
.group.biz .services li { border-top-color: #33393d; }
.group.biz .services li:first-child { border-top: 0; }

/* Leistungen */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.services li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 30px 0; border-top: 1px solid var(--hair); }
.services li:nth-last-child(-n+2) { border-bottom: 1px solid var(--hair); }
.services .no { font-family: var(--display); font-weight: 300; color: var(--blue); font-size: .95rem; padding-top: 4px; font-variant-numeric: tabular-nums; }
.services h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; }
.services p { grid-column: 2; color: var(--grey); font-size: .98rem; max-width: 44ch; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 28px; }
.steps .no { font-family: var(--display); font-weight: 200; font-size: 3.4rem; line-height: 1; color: var(--blue); }
.steps h3 { font-size: 1.35rem; font-weight: 400; margin: 22px 0 10px; }
.steps p { color: var(--grey); }

/* Gebiet */
.area { background: var(--mist); border-top: 0; }
.area .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.area h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.08; }
.towns { font-family: var(--display); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.55; color: var(--grey); }
.towns strong { font-weight: 400; color: var(--ink); }
.towns i { font-style: normal; color: var(--sky); padding: 0 .35em; }
.area .note { margin-top: 28px; color: var(--grey); }

/* Kontakt */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 96px; }
.contact h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.08; }
.contact .intro { color: var(--grey); margin-top: 22px; max-width: 36ch; }
.lines { margin-top: 48px; display: grid; gap: 0; }
.lines a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-top: 1px solid var(--hair); text-decoration: none; transition: color .2s; }
.lines a:last-child { border-bottom: 1px solid var(--hair); }
.lines a:hover { color: var(--blue); }
.lines small { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.lines span { font-variant-numeric: tabular-nums; word-break: break-all; text-align: right; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.f { display: flex; flex-direction: column; gap: 8px; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.f input, .f select, .f textarea { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #c9cdd0; padding: 8px 0 12px; border-radius: 0; transition: border-color .2s; }
.f select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--grey) 50%) right 6px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--grey) 50%) right 0 center / 6px 6px no-repeat; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); }
.f textarea { min-height: 96px; resize: vertical; }
.f input[aria-invalid="true"] { border-color: #b3261e; }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.form-end small { color: var(--grey); font-size: .85rem; flex: 1 1 220px; }
.sent { grid-column: 1 / -1; display: none; gap: 24px; align-items: center; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--hair); }
.sent.show { display: flex; }
.sent p { width: 100%; }

/* Impressum + Footer */
#impressum { padding: 96px 0; }
#impressum .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
#impressum h2 { font-size: 1.8rem; }
#impressum p { color: var(--grey); margin-bottom: 14px; }
.ph { background: #fff4bf; color: var(--ink); padding: 0 4px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; border-top: 1px solid var(--hair); font-size: .85rem; color: var(--grey); }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

.callbar { display: none; }

@media (max-width: 960px) {
  nav { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero .wrap, .head, .area .wrap, .contact .wrap, #impressum .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .services { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .groups { grid-template-columns: 1fr; }
  .group { padding: 32px 24px 8px; }
  .services li:nth-last-child(2) { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 88px 0; }
  .head { margin-bottom: 48px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .logo { height: 34px; }
  .tel { display: none; }
  form { grid-template-columns: 1fr; }
  .aud { grid-template-columns: 1fr; }
  .aud img { height: 180px; order: -1; }
  .group-head { flex-direction: column; gap: 4px; }
  .ba-grid { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: sticky; bottom: 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--hair); }
  .callbar a { text-align: center; padding: 16px; text-decoration: none; font-weight: 600; font-size: .95rem; }
  .callbar a:first-child { background: var(--ink); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img { animation: none; }
  .gallery img { transition: none; }
}

/* Ergänzungen für die sichere Version (statt Inline-Styles, wegen Content-Security-Policy) */
section.no-top { border-top: 0; }
.more { margin-top: 28px; color: var(--grey); }
h2.mt { margin-top: 22px; }
.mail-reveal { cursor: pointer; }
.legal { max-width: 72ch; margin-left: calc(33.333% + 27px); }
.legal h3 { font-size: 1.35rem; font-weight: 400; margin: 40px 0 12px; }
.legal h3:first-child { margin-top: 0; }
.legal p { color: var(--grey); }
@media (max-width: 960px) { .legal { margin-left: 0; } }
