/* ==========================================================================
   MS Kunststofftechnik Marco Schönstein
   Onepager — Stylesheet
   Struktur: 1 Tokens · 2 Reset · 3 Layout · 4 Typo · 5 Buttons · 6 Header
             7 Hero · 8 Ticker · 9 Sektionen · 10 Kontakt · 11 Footer
             12 Rechtsseiten · 13 Motion/Print
   ========================================================================== */

/* --- 1 Tokens ------------------------------------------------------------ */
:root {
  --ink:        #121215;
  --ink-soft:   #1a1b20;
  --ink-line:   #2c2d34;
  --bone:       #f4f2ec;
  --bone-deep:  #e7e3d9;
  --paper-line: #d8d3c6;
  --accent:     #ff4a17;
  --accent-ink: #d1370a;
  --steel:      #8b8b93;
  --steel-dark: #5d5e66;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-cond:    'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Barlow', 'Segoe UI', Arial, sans-serif;

  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --sec-y: clamp(4.5rem, 10vw, 8.5rem);

  /* feines Korn, damit die dunklen Flächen nicht wie flaches CSS wirken */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* --- 2 Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.075rem)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* --- 3 Layout ------------------------------------------------------------ */
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec-y); }
.section-dark {
  position: relative;
  background: var(--ink);
  color: var(--bone);
}
.section-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .05; mix-blend-mode: screen;
}
.section-dark > * { position: relative; z-index: 1; }

/* --- 4 Typo -------------------------------------------------------------- */
.kicker {
  font-family: var(--font-cond); font-weight: 600; font-size: .95rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink);
  margin: 0 0 1.1rem;
}
.section-dark .kicker { color: var(--accent); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2, .material-copy h2, .workshop-copy h2, .contact-copy h2 {
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.6rem);
  max-width: 20ch;
}
.section-intro {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--steel-dark);
  max-width: 56ch;
}
.section-dark .section-intro { color: #b6b6bd; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-cond); font-weight: 600; font-size: .95rem;
  letter-spacing: .2em; text-transform: uppercase; color: #c8c8cf;
  margin: 0 0 1.5rem;
}
.eyebrow .dot {
  width: 9px; height: 9px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 74, 23, .18);
}

/* --- 5 Buttons ----------------------------------------------------------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font-cond); font-weight: 600; font-size: 1.1rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .95rem 1.9rem; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff6236; }
/* Ghost-Buttons stehen ausschließlich auf dunklen Flächen: Hero, Kartenfeld,
   Datenschutz-Banner. Farbe deshalb ausdrücklich setzen und nicht über
   color: inherit erben — sonst hängt die Lesbarkeit an einer lückenlosen
   Vererbungskette, und die reißt schneller als man denkt. */
.btn-ghost { background: transparent; color: var(--bone); border-color: currentColor; }
@media (hover: hover) {
  .btn-ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
}
.btn-block { width: 100%; border: 0; }

/* --- 6 Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 18, 21, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
  color: var(--bone);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand-mark { display: block; width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  letter-spacing: -.02em; white-space: nowrap;
}
.brand-text em {
  font-family: var(--font-cond); font-style: normal; font-weight: 500;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel); white-space: nowrap;
}

.main-nav ul { display: flex; align-items: center; gap: .35rem; }
.main-nav a {
  display: block; text-decoration: none; padding: .55rem .8rem;
  font-family: var(--font-cond); font-weight: 500; font-size: 1.03rem;
  letter-spacing: .1em; text-transform: uppercase; color: #d4d4da;
  transition: color .15s ease;
}
.main-nav a:hover { color: #fff; }
.nav-cta a {
  background: var(--accent); color: #fff !important; margin-left: .5rem; font-weight: 600;
}
.nav-cta a:hover { background: #ff6236; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--ink-line);
  width: 46px; height: 42px; padding: 0; cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 5px; justify-items: center; }
.nav-toggle-bars i { display: block; width: 20px; height: 2px; background: var(--bone); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gut) 1.25rem; }
  .main-nav a { padding: .9rem 0; font-size: 1.2rem; border-bottom: 1px solid var(--ink-line); }
  .nav-cta a { margin: .9rem 0 0; text-align: center; border-bottom: 0; }
}

/* --- 7 Hero -------------------------------------------------------------- */
.hero {
  position: relative; background: var(--ink); color: var(--bone);
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .06; mix-blend-mode: screen;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero h1 {
  font-size: clamp(2.7rem, 1.2rem + 7vw, 6.4rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.6rem;
}
.hero h1 .hl {
  color: var(--accent);
  /* handgezogener Unterstrich statt Farbverlauf */
  background: linear-gradient(var(--accent), var(--accent)) 0 92% / 100% 5px no-repeat;
  padding-bottom: .06em;
}
.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem);
  color: #c2c2c9; max-width: 48ch; margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-specs { border-top: 1px solid var(--ink-line); }
.hero-specs li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .95rem 0; border-bottom: 1px solid var(--ink-line);
}
.hero-specs span {
  font-family: var(--font-cond); font-size: .93rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--steel);
}
.hero-specs strong {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -.01em; text-align: right;
}

.hero-media { margin: 0; position: relative; z-index: 1; }
.hero-media img {
  width: 100%; height: clamp(240px, 42vw, 520px); object-fit: cover;
  filter: grayscale(.15) contrast(1.03);
}
.hero-media figcaption {
  width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto;
  padding: .85rem 0;
  font-family: var(--font-cond); font-size: .95rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--steel);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
}

/* --- 8 Ticker ------------------------------------------------------------ */
.ticker {
  background: var(--accent); color: #fff; overflow: hidden;
  border-block: 3px solid var(--ink);
  padding: .55rem 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker span {
  font-family: var(--font-cond); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.ticker i { font-style: normal; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --- 9 Sektionen --------------------------------------------------------- */
/* 9.1 Leistungen */
.service-list { border-top: 1px solid var(--paper-line); }
.service-list li {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1.5rem; align-items: start;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--paper-line);
  transition: background-color .2s ease;
}
.service-list li:hover { background: var(--bone-deep); }
.service-list .num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--steel-dark);
  transition: color .2s ease, -webkit-text-stroke-color .2s ease;
}
.service-list li:hover .num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.service-body h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .5rem; }
.service-body p { margin: 0; color: var(--steel-dark); max-width: 60ch; }
.service-tag {
  font-family: var(--font-cond); font-size: .9rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--steel-dark);
  border: 1px solid var(--paper-line); padding: .35rem .7rem; white-space: nowrap;
}
@media (max-width: 780px) {
  .service-list li { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .service-tag { grid-column: 2; justify-self: start; }
}

/* 9.2 Werkstoffe */
.material-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.material-media { margin: 0; }
.material-media img {
  width: 100%; height: 100%; max-height: 640px; object-fit: cover;
  filter: grayscale(.2);
}
.table-scroll { overflow-x: auto; margin-top: 2.2rem; }
.material-table { min-width: 560px; font-size: .98rem; }
.material-table th, .material-table td {
  text-align: left; padding: .95rem 1rem .95rem 0; border-bottom: 1px solid var(--ink-line);
  vertical-align: top;
}
.material-table thead th {
  font-family: var(--font-cond); font-weight: 600; font-size: .9rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--steel);
  border-bottom-color: var(--steel-dark);
}
.material-table tbody th {
  font-family: var(--font-display); font-weight: 700; white-space: nowrap; padding-right: 2rem;
}
.material-table tbody th em { font-style: normal; font-weight: 400; color: var(--steel); font-size: .85em; }
.material-table td { color: #b6b6bd; }
.material-table tbody tr:last-child th, .material-table tbody tr:last-child td { border-bottom: 0; }
.table-note {
  margin-top: 1rem; font-size: .9rem; color: var(--steel);
  border-left: 3px solid var(--accent); padding-left: .9rem;
}
@media (max-width: 900px) {
  /* minmax(0, 1fr) statt 1fr: sonst erlaubt das auto-Minimum der Spalte,
     dass die Tabelle die Rasterspalte aufdrückt und die Seite überläuft. */
  .material-grid { grid-template-columns: minmax(0, 1fr); }
  .material-media { order: -1; }
  .material-media img { max-height: 320px; }
}

/* Unter 640px wird aus der Tabelle ein Stapel Karten — seitwärts scrollen
   ist auf dem Handy unbrauchbar. Die Kopfzeile entfällt, die Spaltennamen
   kommen per data-label vor die Werte. */
@media (max-width: 640px) {
  .table-scroll { overflow-x: visible; }
  .material-table,
  .material-table tbody { display: block; min-width: 0; width: 100%; }
  /* thead ganz ausblenden: die Spaltennamen stehen unten per data-label
     wieder vor jedem Wert, der Werkstoffname bleibt als th die Zeilenüberschrift. */
  .material-table thead { display: none; }
  .material-table tr { display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--ink-line); }
  .material-table tbody tr:last-child { border-bottom: 0; }
  .material-table tbody th,
  .material-table td { display: block; padding: 0; border: 0; white-space: normal; }
  .material-table tbody th {
    font-size: 1.15rem; margin-bottom: .5rem;
    border-left: 3px solid var(--accent); padding-left: .7rem;
  }
  .material-table td { padding-left: .7rem; margin-top: .45rem; }
  .material-table td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-cond); font-weight: 600; font-size: .78rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--steel);
    margin-bottom: .1rem;
  }
}

/* 9.3 Ablauf */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); }
.steps li { background: var(--bone); padding: clamp(1.6rem, 3vw, 2.3rem); }
.step-num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem; letter-spacing: .04em; color: var(--accent-ink); margin-bottom: 1.4rem;
}
.steps h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.steps p { margin: 0; color: var(--steel-dark); font-size: .98rem; }

/* 9.4 Werkstatt */
.workshop-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.workshop-copy p { color: #b6b6bd; max-width: 56ch; }
.workshop-copy p:last-child { margin-bottom: 0; }
.workshop-copy h2 { margin-bottom: 1.5rem; }

/* Standort-Claim — steht als eigene Spalte neben dem Text */
.workshop-grid .claim {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.9rem);
  line-height: 1.04; letter-spacing: -.035em;
  color: var(--bone); margin: 0;
  padding-top: 1.7rem; border-top: 3px solid var(--accent);
}
.workshop-grid .claim em { font-style: normal; color: var(--accent); }
/* Zahlenleiste — derzeit nicht im HTML, weil Gründungsjahr, Mitarbeiterzahl
   und Hallenfläche noch fehlen. Styling bleibt stehen, damit der Block per
   Copy-Paste zurückkann, sobald die Zahlen da sind (Snippet in der README). */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); margin: 0;
}
.facts > div { background: var(--ink); padding: 1.1rem 1.2rem; }
.facts dt {
  font-family: var(--font-cond); font-size: .85rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--steel); margin-bottom: .35rem;
}
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; }
@media (max-width: 900px) {
  .workshop-grid { grid-template-columns: 1fr; }
}

/* 9.5 Referenzen — eine große Aufnahme statt Kachelgalerie */
.feature { margin: 0; }
.feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(.12); }
.feature figcaption {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
  margin-top: 1.2rem; padding-top: 1.2rem; border-top: 2px solid var(--ink);
}
.feature figcaption strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); letter-spacing: -.02em;
}
.feature figcaption span { color: var(--steel-dark); max-width: 52ch; }
@media (max-width: 700px) {
  .feature figcaption { grid-template-columns: 1fr; gap: .5rem; }
  .feature img { aspect-ratio: 4 / 3; }
}

/* --- 10 Kontakt ---------------------------------------------------------- */
.section-contact { background: var(--bone-deep); border-top: 1px solid var(--paper-line); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}
.contact-list { margin-top: 2.5rem; border-top: 1px solid var(--paper-line); }
.contact-list li {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--paper-line);
}
.cl-label {
  font-family: var(--font-cond); font-size: .9rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--steel-dark); padding-top: .18rem;
}
.contact-list a { font-family: var(--font-display); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); }
.contact-list a:hover { color: var(--accent-ink); }
.contact-list address { font-style: normal; }
@media (max-width: 480px) {
  .contact-list li { grid-template-columns: 1fr; gap: .25rem; }
}

.contact-form { background: var(--bone); border: 1px solid var(--paper-line); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.form-hint { font-size: .9rem; color: var(--steel-dark); margin-bottom: 1.5rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 1.25rem; }
.field { margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: .45rem; }
.field label {
  font-family: var(--font-cond); font-weight: 600; font-size: .95rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--paper-line); border-radius: 0;
  padding: .8rem .9rem; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 74, 23, .15);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--accent-ink); background: #fff6f3; }

.field-check { flex-direction: row; align-items: flex-start; gap: .7rem; margin-bottom: 1.75rem; }
.field-check input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--accent); }
.field-check label { font-family: var(--font-body); font-weight: 400; font-size: .92rem; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.field-check a { color: var(--accent-ink); }

.form-status { margin: 1rem 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.is-error { color: var(--accent-ink); font-weight: 600; }
.form-status.is-ok { color: #1d6b3a; font-weight: 600; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* --- 11 Footer ----------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--bone); }
.footer-map {
  position: relative; line-height: 0;
  border-bottom: 3px solid var(--accent);
  height: clamp(280px, 32vw, 400px);
  background: #0d0d10;
}
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.85); }

/* Vorschaufläche vor dem Laden der Karte — abstrahiertes Straßenraster */
.map-consent {
  position: absolute; inset: 0; overflow: hidden;
  display: grid; place-items: center; padding: var(--gut);
  line-height: 1.6;
}
.map-consent::before {
  content: ""; position: absolute; inset: -10%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.07) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 3px, transparent 3px 296px),
    linear-gradient(118deg, transparent 47.6%, rgba(255,255,255,.09) 47.6% 48.9%, transparent 48.9%),
    linear-gradient(28deg,  transparent 62.0%, rgba(255,255,255,.06) 62.0% 62.8%, transparent 62.8%);
  transform: rotate(-1.5deg);
}
.map-pin {
  position: absolute; left: 22%; top: 38%; width: 18px; height: 18px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 74, 23, .22), 0 0 0 14px rgba(255, 74, 23, .1);
}
.map-consent-box {
  position: relative; z-index: 1; max-width: 34rem; text-align: center;
  background: rgba(18, 18, 21, .88);
  border: 1px solid var(--ink-line);
  backdrop-filter: blur(3px);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--bone);
}
.map-kicker {
  font-family: var(--font-cond); font-weight: 600; font-size: .9rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem;
}
.map-address {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); letter-spacing: -.02em; margin-bottom: .7rem;
}
.map-note { font-size: .9rem; color: #a9a9b1; margin-bottom: 1.4rem; }
.map-note a { color: var(--bone); }
.map-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.map-actions .btn { padding: .7rem 1.35rem; font-size: 1rem; }
.footer-body { padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
}
.footer-brand .brand-mark { width: 54px; height: 54px; margin-bottom: 1.1rem; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; margin-bottom: .6rem; }
.footer-name em { font-family: var(--font-cond); font-style: normal; font-weight: 500; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); }
.footer-claim { color: var(--accent); font-family: var(--font-cond); font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; }

.footer-col h3 {
  font-family: var(--font-cond); font-weight: 600; font-size: .9rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin-bottom: 1.1rem;
}
.footer-col address { font-style: normal; margin-bottom: .9rem; color: #c2c2c9; }
.footer-col p, .footer-col li { color: #c2c2c9; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.5rem;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-cond); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- 12 Rechtsseiten (Impressum / Datenschutz) --------------------------- */
.legal-hero { background: var(--ink); color: var(--bone); padding-block: clamp(3rem, 7vw, 5.5rem); }
.legal-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); }
.legal-hero p { color: var(--steel); margin: 1rem 0 0; font-family: var(--font-cond); letter-spacing: .12em; text-transform: uppercase; }

.legal { padding-block: clamp(3rem, 7vw, 5.5rem); }
.legal-body { max-width: 72ch; }
.legal-body h2 {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  margin: 2.8rem 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--paper-line);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font-size: 1.15rem; margin: 1.8rem 0 .6rem; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.1em; }
.legal-body li { margin-bottom: .4rem; }
.legal-body address { font-style: normal; }
.legal-body a { color: var(--accent-ink); }
.legal-note {
  background: var(--bone-deep); border-left: 4px solid var(--accent);
  padding: 1.1rem 1.3rem; font-size: .95rem; margin-bottom: 2.5rem;
}
.back-link {
  display: inline-block; margin-top: 3rem; text-decoration: none;
  font-family: var(--font-cond); letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 2px solid var(--accent); padding-bottom: .2rem;
}

/* --- 12b Feinschliff sehr schmale Displays ------------------------------- */
@media (max-width: 560px) {
  .eyebrow { align-items: flex-start; font-size: .85rem; letter-spacing: .14em; }
  .eyebrow .dot { margin-top: .42rem; flex: none; }
  .hero-specs li { flex-wrap: wrap; }
  .hero-specs strong { text-align: left; }
  .btn { padding: .9rem 1.35rem; font-size: 1.02rem; }
  .hero-actions .btn { flex: 1 1 12rem; text-align: center; }
  .map-actions .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
}

/* --- 12c Datenschutz-Banner ---------------------------------------------- */
.consent {
  position: fixed; inset: auto 0 0 0; z-index: 150;
  background: var(--ink); color: var(--bone);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, .35);
}
.consent[hidden] { display: none; }
.consent-inner {
  width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding-block: clamp(1.1rem, 2.5vw, 1.6rem);
}
.consent-title {
  font-size: 1.15rem; margin-bottom: .4rem;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em;
}
.consent-text { margin: 0; font-size: .92rem; line-height: 1.55; color: #b6b6bd; max-width: 74ch; }
.consent-text a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.consent-actions .btn { padding: .7rem 1.3rem; font-size: 1rem; white-space: nowrap; }

/* Beide Knöpfe stehen auf Anthrazit — Rahmen und Schrift knochenweiß,
   damit „Nur notwendige“ genauso gut lesbar ist wie „Alle akzeptieren“. */
.consent-actions .btn-ghost { border-color: var(--bone); }
.consent-actions .btn:focus-visible { outline: 3px solid var(--bone); outline-offset: 3px; }

/* Fußzeile: Einstellungen erneut aufrufen — sieht aus wie ein Link, ist aber
   ein Button, weil es eine Aktion auslöst und kein Ziel ansteuert. */
.linkbutton {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
}
.linkbutton:hover { color: var(--accent); }

@media (max-width: 720px) {
  .consent-inner { grid-template-columns: minmax(0, 1fr); }
  .consent-actions .btn { flex: 1 1 12rem; text-align: center; }
  .consent-text { font-size: .88rem; }
}

/* --- 13 Motion / Print --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

@media print {
  .site-header, .ticker, .footer-map, .hero-actions, .contact-form, .consent { display: none; }
  body { background: #fff; color: #000; }
  .hero, .section-dark, .site-footer { background: #fff !important; color: #000 !important; }
}
