/* Intermezzo Werbung – Stylesheet
   Schriften liegen lokal (keine Verbindung zu Google Fonts). */

@font-face { font-family: "Adventor"; src: url("../fonts/adventor-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #1e1a4d;
  --brand: #393185;
  --brand-hell: #5a52b8;
  --mist: #c6d2d4;
  --paper: #f2f4f5;
  --white: #ffffff;
  --signal: #f4c430;
  --signal-dunkel: #e0ad12;
  --text: #3a3d57;
  --text-leise: #5d6078;
  --linie: #d9dde3;
  --display: "Adventor", "Century Gothic", "Avant Garde", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "kern", "calt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand-hell); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--ink); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1.2 var(--sans); text-decoration: none;
  padding: .95em 1.4em; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-shop { background: var(--signal); color: var(--ink); }
.btn-shop:hover { background: var(--signal-dunkel); color: var(--ink); }
.btn-linie { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-linie:hover { background: var(--ink); color: var(--white); }
.btn-dunkel { background: var(--ink); color: var(--white); }
.btn-dunkel:hover { background: var(--brand); color: var(--white); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Kopfzeile */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--linie); backdrop-filter: saturate(1.4) blur(8px); }
.kopf .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.kopf .logo img { width: 164px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; padding: .5em .8em; border-radius: 4px; }
.nav a:not(.btn):hover { background: var(--paper); }
.nav .btn { margin-left: 10px; padding: .7em 1.1em; }
.nav-tel { display: none; }
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .kopf .logo img { width: 124px; }
  .nav .btn { padding: .65em .95em; font-size: .95rem; }
}

/* Hero */
.hero { background: var(--mist) url("../img/titelbild-1360.webp") no-repeat right center / cover; position: relative; }
.hero .wrap { min-height: min(78vh, 680px); display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero-text { max-width: 660px; }
.hero h1 { margin-bottom: .45em; max-width: 13em; }
.hero-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink); font-size: 1.2rem; font-weight: 500; }
.hero-liste li { display: flex; align-items: center; gap: .6em; }
.hero-liste svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.hero-kontakt { margin-top: 30px; }
.hero-label { margin: 18px 0 8px; font-weight: 600; color: var(--ink); }
.hero-kontakt .hero-aktionen { margin-top: 0; }
.hero .lead { font-size: 1.2rem; color: var(--ink); max-width: 30em; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-fakten { margin: 34px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--ink); font-weight: 500; font-size: .98rem; }
.hero-fakten li { display: flex; align-items: center; gap: .5em; }
.hero-fakten svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
@media (max-width: 860px) {
  .hero { background-image: none; }
  .hero .wrap { min-height: 0; padding-top: 40px; padding-bottom: 0; flex-direction: column; align-items: stretch; }
  .hero-bild { display: block; margin: 32px calc(var(--rand) * -1) 0; aspect-ratio: 4 / 3; background: url("../img/titelbild-760.webp") no-repeat 78% center / cover; }
}
@media (min-width: 861px) { .hero-bild { display: none; } }

/* Abschnitte */
.abschnitt { padding: clamp(64px, 9vw, 112px) 0; }
.abschnitt.grau { background: var(--paper); }
.kopftext { max-width: 720px; margin-bottom: 44px; }
.kopftext p { font-size: 1.15rem; }

/* Shop-Band */
.shopband { background: var(--ink); color: #dcdaf0; }
.shopband .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.shopband h2 { color: var(--white); margin-bottom: .3em; }
.shopband p { color: #c9c6e6; }
.sortiment { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.sortiment li { padding: .7em 0; border-bottom: 1px solid rgba(255,255,255,.14); color: var(--white); font-weight: 500; }
.shopband .btn { margin-top: 12px; }
@media (max-width: 860px) { .shopband .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* Ablauf */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: schritt; border-top: 2px solid var(--ink); }
.ablauf li { counter-increment: schritt; padding: 26px 28px 8px 0; }
.ablauf li + li { padding-left: 28px; border-left: 1px solid var(--linie); }
.ablauf li::before { content: counter(schritt); display: block; font: 700 2.4rem/1 var(--display); color: var(--brand); margin-bottom: 16px; }
.ablauf p { color: var(--text-leise); }
@media (max-width: 760px) {
  .ablauf { grid-template-columns: 1fr; }
  .ablauf li, .ablauf li + li { padding: 22px 0 6px; border-left: 0; border-bottom: 1px solid var(--linie); }
}

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.leistung { padding: 28px 0; border-top: 1px solid var(--linie); display: grid; grid-template-columns: 44px 1fr; gap: 0 18px; }
.leistung svg { width: 32px; height: 32px; color: var(--brand); margin-top: 2px; }
.leistung p { margin: 0; color: var(--text-leise); }
@media (max-width: 760px) { .leistungen { grid-template-columns: 1fr; } }

/* Referenzen: Auftragsbuch */
.auftraege { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--linie); border: 2px solid var(--linie); }
.auftrag { background: var(--white); display: flex; flex-direction: column; }
.auftrag img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper); }
.auftrag .info { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.auftrag .menge { font: 700 1.9rem/1 var(--display); color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.auftrag .einheit { font-size: .85rem; color: var(--text-leise); margin-bottom: 10px; }
.auftrag .produkt { font-weight: 600; color: var(--ink); line-height: 1.3; }
.auftrag .kunde { font-size: .95rem; color: var(--text-leise); }
@media (max-width: 960px) { .auftraege { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .auftraege { grid-template-columns: repeat(2, 1fr); } .auftrag .menge { font-size: 1.5rem; } .auftrag .info { padding: 12px 12px 16px; } }

.auftrag.mehr { display: none; }
.auftraege.offen .auftrag.mehr { display: flex; }
.mehr-knopf { margin-top: 28px; text-align: center; }

.kunden { margin-top: 56px; display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.kunden h3 { margin: 0; }
.kunden p { max-width: none; margin: 0; font-size: 1.05rem; line-height: 1.85; color: var(--text); }
@media (max-width: 760px) { .kunden { grid-template-columns: 1fr; gap: 12px; } }

/* Metalletiketten */
.metall { background: #3a3647; color: #e2e0ea; overflow: hidden; }
.metall .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.metall h2 { color: var(--white); }
.metall p { color: #d3d0de; }
.metall img { border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.metall-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.metall .btn-linie { border-color: #d3d0de; color: var(--white); }
.metall .btn-linie:hover { background: var(--white); color: var(--ink); }
@media (max-width: 860px) { .metall .wrap { grid-template-columns: 1fr; } }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.kontakt-raster > * { min-width: 0; }
@media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; } }
.kontaktdaten { font-style: normal; }
.kontaktdaten dl { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.kontaktdaten dt { color: var(--text-leise); }
.kontaktdaten dd { margin: 0; color: var(--ink); font-weight: 500; }
.kontaktdaten dd a { color: var(--ink); }
.zeiten { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--linie); }
.zeiten h3 { font-size: 1.1rem; }
.zeiten table { border-collapse: collapse; }
.zeiten td { padding: 4px 24px 4px 0; }
.zeiten td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }

.formular { background: var(--paper); border-radius: 8px; padding: clamp(22px, 4vw, 40px); }
.formular h3 { margin-bottom: 4px; }
.formular .hinweis { font-size: .95rem; color: var(--text-leise); margin-bottom: 20px; }
.feld { margin-bottom: 16px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .feld-paar { grid-template-columns: 1fr; } }
label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
label .opt { font-weight: 400; color: var(--text-leise); }
input, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1.5px solid #c4c8d2; border-radius: 6px; padding: .8em .9em;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(57,49,133,.18); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.datenschutz-hinweis { font-size: .9rem; color: var(--text-leise); margin: 4px 0 18px; }
.meldung { padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; font-weight: 500; }
.meldung.fehler { background: #fde8e6; color: #8a1c12; border: 1px solid #f3b7b0; }
.meldung[hidden] { display: none; }

/* Fußzeile */
.fuss { background: var(--ink); color: #c9c6e6; padding: 56px 0 28px; font-size: .97rem; }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.fuss img { width: 150px; margin-bottom: 16px; }
.fuss h3 { color: var(--white); font: 600 1rem/1.3 var(--sans); margin-bottom: 12px; }
.fuss a { color: var(--white); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss button.link { background: none; border: 0; padding: 0; color: var(--white); font: inherit; cursor: pointer; text-align: left; }
.fuss button.link:hover { text-decoration: underline; }
.fuss-unten { max-width: none; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
@media (max-width: 760px) { .fuss-raster { grid-template-columns: 1fr; } }

/* Rechtstexte */
.rechtstext { padding: 56px 0 96px; }
.rechtstext .wrap { max-width: 820px; }
.rechtstext h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .6em; }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2em; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.5em; font-family: var(--sans); font-weight: 600; }
.rechtstext p, .rechtstext li { max-width: 72ch; }
.platzhalter { background: #fff3c4; color: #6b4d00; padding: 0 .3em; border-radius: 3px; font-weight: 600; }
.entwurf { background: #fff8dc; border: 1px solid #f0d77a; border-radius: 6px; padding: 14px 18px; margin-bottom: 32px; font-size: .97rem; }

/* Danke / 404 */
.einfach { min-height: 60vh; display: flex; align-items: center; padding: 72px 0; }
.einfach .btn { margin-top: 12px; margin-right: 8px; }

/* Cookie-Hinweis */
.consent {
  position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-left: auto;
  background: var(--white); color: var(--text); border: 1px solid var(--linie);
  border-radius: 10px; box-shadow: 0 20px 50px rgba(30,26,77,.25);
  padding: 22px 22px 18px;
}
.consent[hidden] { display: none; }
.consent h2 { font: 600 1.1rem/1.3 var(--sans); color: var(--ink); margin: 0 0 8px; }
.consent p { font-size: .95rem; margin: 0 0 16px; }
.consent-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent .btn { padding: .8em 1em; font-size: .95rem; }
.consent-links { margin-top: 12px; font-size: .88rem; }
@media (max-width: 420px) { .consent-knoepfe { grid-template-columns: 1fr; } }
