/* Parkteam AG – parkteam.de
   Stylesheet der neuen Website. Farben, Abstände und Schriften entsprechen dem Parkteam-Designsystem. */

@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/instrument-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/instrument-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/instrument-sans-600.woff2") format("woff2"); }

:root {
  --blue: #1A5C74;
  --blue-dark: #134657;
  --ink: #231F20;
  --muted: #545A5F;
  --subtle: #6B7176;
  --line: #DDE2E5;
  --line-strong: #7E858A;
  --tint: #EAF1F4;
  --surface-muted: #F4F6F7;
  --green: #91C73E;
  --on-blue-muted: #CFE0E7;
  --error: #B3261E;
  --success: #3D6B12;
  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --content: 1200px;
  --gutter: 24px;
  --section: 128px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #FFFFFF; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.visually-hidden { 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: 100; background: var(--blue); color: #FFFFFF; padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #FFFFFF; }
[hidden] { display: none !important; }

.wrap { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* ---------- Typografie ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.eyebrow--plain::before { display: none; }
.eyebrow::before { content: ""; width: 24px; height: 6px; border-radius: 3px; background: var(--green); flex: none; }
.label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.h1 { font-size: clamp(36px, 4.1vw, 58px); line-height: 1.09; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.h1 .accent { color: var(--blue); }
.h2 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); max-width: 560px; }
.text-muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 6px; border: 1.5px solid transparent; font: 600 16px/20px var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.btn--primary { background: var(--blue); color: #FFFFFF; }
.btn--primary:hover { background: var(--blue-dark); color: #FFFFFF; }
.btn--light { background: #FFFFFF; color: var(--blue); }
.btn--light:hover { background: var(--tint); color: var(--blue-dark); }
.link-arrow { font-weight: 600; font-size: 16px; line-height: 20px; color: var(--blue); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-logo img { height: 44px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; height: var(--header-h); }
.main-nav a { display: flex; align-items: center; height: 100%; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; border-top: 2px solid transparent; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; background: none; border: 0; font: 500 15px/20px var(--font); color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); min-height: 640px; }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 80px 56px 80px max(var(--gutter), calc((100% - var(--content)) / 2)); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 8px; }
/* Foto füllt die komplette rechte Spalte; die Kachel sitzt auf der Kante zwischen Text und Bild */
.hero { position: relative; }
.hero__visual { position: relative; background: var(--tint); }
.hero__slabs { display: none; } /* alte Schrägen, falls noch in einer HTML-Datei vorhanden */
.hero__frame { position: absolute; inset: 0; overflow: hidden; background: var(--tint); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__badge { position: absolute; left: -72px; bottom: 56px; z-index: 1; width: min(300px, 70%); display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: #FFFFFF; border-radius: 8px; box-shadow: 0 16px 32px rgba(19, 70, 87, .16); }
.hero__badge-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.hero__badge strong { display: block; font-size: 22px; line-height: 28px; font-weight: 600; }
.hero__badge span { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }

/* Kontakt: flacher Kopfbereich */
.page-head { position: relative; background: var(--tint); overflow: hidden; }
.page-head__slabs { position: absolute; right: 0; top: 0; height: 100%; width: 520px; }
.page-head .wrap { position: relative; min-height: 360px; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-block: 64px; }
.page-head .h1 { max-width: 640px; }

/* ---------- Bildplatzhalter (bis die echten Bilder da sind) ---------- */
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: var(--tint); color: var(--muted); font-size: 13px; line-height: 19px; }
.hero__frame .ph { background: var(--tint); }
.ph strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Abschnitte ---------- */
.section { padding-top: var(--section); }
.section--last { padding-bottom: var(--section); }
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.intro__head { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.intro > p { max-width: 460px; color: var(--muted); }
.note-line { margin-top: 32px; font-size: 15px; line-height: 23px; color: var(--muted); }

/* Karten: Geschäftsbereiche, Leistungen, Stärken */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 40px; background: var(--surface-muted); border-radius: 8px 8px 0 0; border-bottom: 3px solid var(--blue); color: var(--ink); }
.cards[style*="--cols: 4"] .card { padding: 32px; }
.card__icon { width: 56px; height: 56px; border-radius: 8px; background: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 16px; }
.card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: 8px 8px 0 0; }
.card:has(.link-arrow:hover) { background: var(--tint); }

.service-extra { margin-top: 24px; display: flex; align-items: center; gap: 24px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 8px; }
.service-extra__icon { width: 48px; height: 48px; border-radius: 8px; background: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.service-extra h3 { font-size: 20px; line-height: 26px; font-weight: 600; }
.service-extra p { color: var(--muted); }

/* Bildspalten: Produkte, Medien */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tile { display: flex; flex-direction: column; gap: 10px; }
.tile__media { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--tint); margin-bottom: 14px; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__media--cover img { object-fit: contain; padding: 24px; }
.tile h3 { display: flex; align-items: center; gap: 10px; }
.tile h3::before { content: ""; width: 16px; height: 4px; border-radius: 2px; background: var(--green); flex: none; }
.tile p { color: var(--muted); }
.tile .link-arrow { margin-top: 8px; }

/* Blaues Band */
.band { position: relative; overflow: hidden; margin-top: var(--section); background: var(--blue); color: #FFFFFF; }
.band__mark { position: absolute; right: 96px; top: -24px; height: 380px; width: auto; opacity: .07; pointer-events: none; }
.band .wrap { position: relative; padding-block: 88px; }
.band .label { color: var(--on-blue-muted); }
.band__title { margin-bottom: 48px; }
.band .intro > p { color: var(--on-blue-muted); max-width: 480px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 48px; }
.fact { display: flex; flex-direction: column; gap: 10px; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .25); }
.fact strong { margin-top: 8px; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.fact span { font-size: 16px; line-height: 24px; color: var(--on-blue-muted); }
.band--shop .wrap { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding-block: 80px; }
.band--shop .band__text { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.band--shop h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; font-weight: 600; }
.band--shop p { color: var(--on-blue-muted); }

/* Logos */
.logos { padding-top: 96px; }
.logos .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.logos__label { flex: none; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.logos ul { gap: 20px 48px; justify-content: center; }
.logos img { display: block; height: var(--h, 32px); width: auto; filter: grayscale(1); opacity: .5; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }
.logo-ph { height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px dashed var(--line-strong); color: var(--subtle); font-size: 13px; white-space: nowrap; }

/* Abschluss / CTA */
.cta { padding-block: 96px; }
.cta__box { position: relative; overflow: hidden; background: var(--surface-muted); border-radius: 12px; }
.cta__slab { position: absolute; right: 0; top: 0; height: 100%; width: 40%; }
.cta__mark { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); height: 80%; max-height: 320px; width: auto; }
.cta__content { position: relative; max-width: 640px; padding: 88px 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta__content::before { content: ""; width: 40px; height: 6px; border-radius: 3px; background: var(--green); }
.cta__content p { font-size: 20px; line-height: 1.55; color: var(--muted); }

/* History-Hinweis */
.history-note { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 96px; padding-block: 96px 128px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 20px; font-weight: 500; }
.field .opt { color: var(--subtle); font-weight: 400; }
.field input, .field select, .field textarea { font: 400 17px/24px var(--font); color: var(--ink); background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: 6px; padding: 12px 16px; width: 100%; }
.field input, .field select { min-height: 50px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.field--captcha input { max-width: 200px; }
.field__hint { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--subtle); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.check.is-invalid input { outline: 2px solid var(--error); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 16px 20px; border-radius: 6px; font-size: 15px; line-height: 22px; }
.form-msg--error { background: #FBEDEC; color: var(--error); }
.contact-card { padding: 32px; background: var(--surface-muted); border-radius: 8px 8px 0 0; border-bottom: 3px solid var(--blue); display: flex; flex-direction: column; gap: 24px; }
.contact-card dl { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row__icon { width: 44px; height: 44px; border-radius: 8px; background: var(--tint); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-row dt { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.contact-row dd { margin: 2px 0 0; }
.b2b-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; font-size: 15px; line-height: 23px; color: var(--muted); }
.b2b-note::before { content: ""; width: 24px; height: 6px; border-radius: 3px; background: var(--green); flex: none; margin-top: 9px; }
.b2b-note a { font-weight: 600; }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: 96px 128px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: 40px; }
.legal h2 { font-size: 22px; line-height: 28px; font-weight: 600; margin: 40px 0 12px; }
.legal p { margin: 0 0 14px; color: var(--muted); overflow-wrap: anywhere; }
.legal ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); }
.legal li { margin-bottom: 8px; overflow-wrap: anywhere; }
.legal li strong, .legal p strong { color: var(--ink); font-weight: 600; }
.legal__stand { margin-top: 40px !important; font-size: 14px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--muted); }
.review-note { margin-bottom: 32px; padding: 14px 18px; border-radius: 6px; background: var(--surface-muted); font-size: 14px; line-height: 21px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 4fr 3fr 3fr 2fr; gap: 48px; padding-block: 64px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { font-size: 14px; line-height: 21px; color: var(--muted); max-width: 280px; }
.footer-col h2 { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a, .footer-col li { font-size: 15px; line-height: 22px; color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(19, 70, 87, .10); }
  .main-nav:not(.is-open) { display: none; }
  .main-nav ul { flex-direction: column; gap: 0; height: auto; padding: 8px var(--gutter) 24px; }
  .main-nav a { height: auto; padding: 14px 0; font-size: 20px; font-weight: 600; border: 0; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--blue); padding-left: 14px; }
  .facts { --cols: 2 !important; row-gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .cards { --cols: 2 !important; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  :root { --section: 80px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 48px var(--gutter) 40px; gap: 20px; }
  /* Mobil: Foto über die volle Breite, Kachel mittig auf der Unterkante */
  .hero__visual { display: flex; flex-direction: column; align-items: center; background: none; padding-bottom: 8px; }
  .hero__frame { position: relative; inset: auto; width: 100%; aspect-ratio: 13 / 10; max-height: 560px; }
  .hero__badge { position: relative; left: auto; bottom: auto; margin-top: -40px; width: min(258px, calc(100% - 2 * var(--gutter))); padding: 16px 18px; gap: 14px; }
  .hero__badge-icon { width: 40px; height: 40px; }
  .hero__badge strong { font-size: 19px; line-height: 24px; }
  .hero__badge span { font-size: 13px; line-height: 18px; }
  .intro { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .band .wrap { padding-block: 64px; }
  .band__mark { right: -30px; top: -20px; height: 260px; }
  .band--shop .wrap { flex-direction: column; align-items: stretch; gap: 24px; }
  .logos { padding-top: 64px; }
  .logos .wrap { gap: 20px; }
  .logos ul { gap: 16px 28px; }
  .logos img { height: calc(var(--h, 32px) * .85); }
  .cta { padding-block: 64px; }
  .cta__content { padding: 48px 24px 200px; max-width: none; }
  .cta__slab { top: auto; bottom: 0; width: 100%; height: 200px; }
  .cta__mark { top: auto; bottom: 24px; right: 48px; transform: none; height: 150px; }
  .page-head .wrap { min-height: 0; padding-block: 48px; padding-right: 110px; }
  .page-head__slabs { width: 140px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .site-logo img { height: 36px; }
  .cards, .tiles { grid-template-columns: 1fr !important; --cols: 1 !important; }
  .card { padding: 24px !important; }
  .card__icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .service-extra { align-items: flex-start; padding: 20px; gap: 16px; }
  .btn { width: 100%; }
  .hero__actions { gap: 8px; }
  .hero__actions .link-arrow { width: 100%; text-align: center; padding: 12px 0; }
  .band--shop .btn { width: 100%; }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-block: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .fact strong { font-size: 21px; }
  .fact span { font-size: 14px; line-height: 21px; }
  .facts { gap: 32px 20px; }
  .fact { padding-left: 0; padding-top: 20px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
}
@media (max-width: 479px) {
  :root { --gutter: 16px; }
  .band--media .facts { --cols: 1 !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
