/* ==========================================================================
   Dallner Präzisionsschleiferei – modernes Design
   Farben, Schriften und Abstände zentral über die Variablen in :root ändern.
   ========================================================================== */

@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-v30-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-v30-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 400; font-display: swap; src: url('../fonts/open-sans-v36-latin-regular.woff2') format('woff2'); }

:root {
  --blue: #4f83bf;
  --blue-dark: #3a6aa3;
  --navy: #1b2d44;
  --navy-2: #2f4e72;
  --ink: #18222f;
  --muted: #5a6879;
  --bg: #ffffff;
  --bg-soft: #f2f5f9;
  --line: #e1e7ef;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(24, 34, 47, .06), 0 8px 24px rgba(24, 34, 47, .08);
  --shadow-lg: 0 2px 4px rgba(24, 34, 47, .06), 0 24px 48px rgba(24, 34, 47, .14);
  --container: 1200px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #dfe8f3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: #b9c8da; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(79, 131, 191, .35); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--blue-dark); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Tags ------------------------------------------------------------------- */
.tag-neu {
  display: inline-block;
  background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3em .8em; border-radius: 999px;
}

/* Ankündigung ------------------------------------------------------------ */
.announce { background: var(--navy); color: #cfdbea; font-size: .9rem; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .55rem 0; flex-wrap: wrap; text-align: center; }
.announce a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; color: #fff; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand img { width: 210px; height: auto; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .03em;
  color: var(--navy); text-decoration: none;
  padding: .55em 1em; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--bg-soft); color: var(--blue-dark); }
.nav a[aria-current="page"] { background: rgba(79, 131, 191, .12); color: var(--blue-dark); }
.nav .btn { margin-left: .6rem; padding: .7em 1.3em; }
.nav .btn:hover { background: var(--blue-dark); color: #fff; }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy);
  padding: .6em 1em; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile .burger, .nav-mobile .burger::before, .nav-mobile .burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-mobile .burger::before, .nav-mobile .burger::after { content: ''; position: absolute; left: 0; }
.nav-mobile .burger::before { top: -6px; }
.nav-mobile .burger::after { top: 6px; }
.nav-mobile[open] .burger { background: transparent; }
.nav-mobile[open] .burger::before { top: 0; transform: rotate(45deg); }
.nav-mobile[open] .burger::after { top: 0; transform: rotate(-45deg); }
.nav-mobile nav {
  position: absolute; right: 0; top: calc(100% + .6rem);
  width: min(82vw, 320px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .6rem; display: grid;
}
.nav-mobile nav a { padding: .85em 1em; border-radius: var(--radius-sm); text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 700; }
.nav-mobile nav a[aria-current="page"], .nav-mobile nav a:hover { background: var(--bg-soft); color: var(--blue-dark); }
.nav-mobile nav .btn { justify-content: center; margin-top: .4rem; color: #fff; }

@media (max-width: 960px) {
  .nav { display: none; }
  .nav-mobile { display: block; }
  .brand img { width: 170px; }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem); background:
  radial-gradient(1000px 500px at 85% -10%, rgba(79, 131, 191, .16), transparent 60%),
  linear-gradient(180deg, #f7f9fc 0%, #fff 100%); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 .accent { background: linear-gradient(90deg, var(--blue) 0%, var(--navy-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 34em; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust svg { flex-shrink: 0; color: var(--blue); }
.pill-link {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .35rem 1rem .35rem .35rem; margin-bottom: 1.6rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .9rem; color: var(--navy); text-decoration: none; box-shadow: var(--shadow);
}
.pill-link:hover { color: var(--blue-dark); border-color: var(--blue); }

.hero-media { position: relative; }
.hero-media .main-img { border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1rem 1.2rem; display: flex; align-items: center; gap: .9rem; font-size: .9rem; line-height: 1.35;
}
.float-card strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.float-card--a { left: -2rem; bottom: 2.5rem; }
.float-card--b { right: -1.2rem; top: 2rem; }
.float-card img { width: 42px; }
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin: 1rem auto 0; width: 100%; }
  .float-card--a { left: .8rem; bottom: -1.2rem; }
  .float-card--b { right: .8rem; top: -1rem; }
}

/* Kennzahlen ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 1.8rem 1.4rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--navy); line-height: 1.1; margin-bottom: .35rem; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Leistungskarten -------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
  text-decoration: none; color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  scroll-margin-top: 110px;
}
a.card:hover, .card:target { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.card:target { outline: 3px solid var(--blue); }
.card-icon { width: 92px; height: 84px; margin-bottom: 1.2rem; display: grid; place-items: center; background: var(--bg-soft); border-radius: 16px; }
.card-icon img { width: 76px; height: auto; }
.card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .45rem; }
.card h3 em { font-style: italic; font-weight: 400; color: var(--muted); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .tag-neu { position: absolute; top: 1.2rem; right: 1.2rem; }
.card .more { margin-top: auto; padding-top: 1rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--blue-dark); }
.card--highlight { background: linear-gradient(160deg, #fff 0%, #eef4fb 100%); border-color: rgba(79, 131, 191, .35); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Zweispaltige Inhalte --------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist li::before {
  content: ''; flex-shrink: 0; width: 24px; height: 24px; margin-top: .15rem; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(255, 255, 255, .16); }
.cert-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 2.4rem; display: flex; gap: 2rem; align-items: center; }
.cert-card img { width: 120px; flex-shrink: 0; }
.cert-card h3 { color: var(--navy); }
.cert-card p { color: var(--muted); }
@media (max-width: 520px) { .cert-card { flex-direction: column; text-align: center; } }

/* Video-Karte ------------------------------------------------------------ */
.video-card { position: relative; display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.video-card:hover img { transform: scale(1.04); }
.video-card .play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .25s;
}
.video-card:hover .play { transform: scale(1.08); }
.video-card .play svg { margin-left: 5px; color: var(--blue); }
.video-frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: .8rem; line-height: 1.5; margin: .8rem .4rem 0; color: var(--muted); }
.video-note a { color: inherit; text-decoration: underline; }
.section--dark .video-note { color: rgba(255, 255, 255, .62); }
.video-card .caption { position: absolute; left: 1.2rem; bottom: 1.2rem; background: rgba(27, 45, 68, .82); color: #fff; padding: .45em 1em; border-radius: 999px; font-size: .85rem; font-family: var(--font-head); font-weight: 700; }

/* Kundenlogos ------------------------------------------------------------ */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.logos li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 1.6rem; min-height: 120px; }
.logos img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos { padding: 0; margin: 0; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* Flyer ------------------------------------------------------------------ */
.flyer { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 3rem); }
.flyer img { max-width: 340px; margin: -5rem auto 0; filter: drop-shadow(0 20px 30px rgba(24, 34, 47, .2)); }
@media (max-width: 760px) { .flyer { grid-template-columns: 1fr; text-align: center; } .flyer img { margin-top: 0; max-width: 240px; } }

/* CTA-Band --------------------------------------------------------------- */
.cta { border-radius: 28px; padding: clamp(2.2rem, 5vw, 4rem); background:
  radial-gradient(600px 300px at 100% 0%, rgba(79, 131, 191, .45), transparent 70%),
  linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #dfe8f3; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: #b9c8da; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Seitenkopf (Unterseiten) ----------------------------------------------- */
.page-hero { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); color: #dfe8f3; overflow: hidden;
  background: radial-gradient(800px 400px at 90% 0%, rgba(79, 131, 191, .5), transparent 65%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #b9c8da; max-width: 40em; font-size: 1.15rem; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: #9fb3cb; }
.breadcrumb a { color: #cfdbea; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Galerie ---------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 846 / 600; background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Maschinenpark ---------------------------------------------------------- */
.machine-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.machine-card h3 { margin: 0; padding: 1.2rem 1.6rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; }
.machine-card ul { list-style: none; margin: 0; padding: .4rem 1.6rem 1rem; }
.machine-card li { padding: .8rem 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.machine-card li:last-child { border-bottom: 0; }
.machine-card li span { display: block; color: var(--muted); font-size: .9rem; }

/* Chronik ---------------------------------------------------------------- */
.timeline { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 980px; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--blue), var(--line)); transform: translateX(-50%); }
.timeline li { position: relative; width: 50%; padding: 0 3rem 2.6rem 0; }
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 2.6rem 3rem; }
.timeline li::before { content: ''; position: absolute; top: .35rem; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.timeline li:nth-child(even)::before { left: -9px; right: auto; }
.timeline .year { font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: 1.3rem; }
.timeline .box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-top: .5rem; box-shadow: var(--shadow); }
.timeline .box img { border-radius: var(--radius-sm); margin-bottom: .9rem; aspect-ratio: 720 / 520; object-fit: cover; }
.timeline .box p { margin: 0; }
@media (max-width: 760px) {
  .timeline::before { left: 9px; }
  .timeline li, .timeline li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 2.2rem 2.6rem; }
  .timeline li::before, .timeline li:nth-child(even)::before { left: 0; right: auto; }
}

/* Kontakt ---------------------------------------------------------------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.info-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(79, 131, 191, .12); color: var(--blue-dark); margin-bottom: 1rem; }
.info-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { font-weight: 700; }
@media (max-width: 860px) { .info-cards { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy); }
.form input, .form textarea {
  font: inherit; font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: .85em 1em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form textarea { min-height: 160px; resize: vertical; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form .row-2 { grid-template-columns: 1fr; } }
.form .hint { font-size: .85rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: .9rem 1.1rem; border-radius: 12px; font-size: .92rem; line-height: 1.5; }
.form-status.is-ok { background: #e8f3ec; color: #1d5b33; }
.form-status.is-error { background: #fbeaea; color: #8a1f1f; }
div.form-status { display: grid; gap: 1rem; padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: 24px; }
div.form-status p { margin: 0; font-size: 1rem; }

/* Fließtext (Impressum, Datenschutz, Artikel) ---------------------------- */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose h4 { font-size: 1rem; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { word-break: break-word; }

/* Artikel-Liste ---------------------------------------------------------- */
.post { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.4rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.post img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.post .body { padding: 2rem 2.4rem 2rem 0; }
@media (max-width: 760px) { .post { grid-template-columns: 1fr; } .post .body { padding: 0 1.6rem 1.8rem; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #b9c8da; padding: 4.5rem 0 0; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #dfe8f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-grid p { margin: 0 0 .4em; }
.footer-logo { background: #fff; display: inline-block; padding: .7rem 1rem; border-radius: 12px; margin-bottom: 1.2rem; }
.footer-logo img { width: 180px; }
.social { display: flex; gap: .6rem; margin-top: .4rem; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s; }
.social a:hover { background: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 1.4rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Nach oben -------------------------------------------------------------- */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); text-decoration: none; z-index: 40; }
.to-top:hover { background: var(--blue-dark); color: #fff; }

/* Einblenden beim Scrollen (nur mit JavaScript aktiv) -------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Handy: kompaktere Ankündigung und Leistungskarten im Querformat ----------- */
@media (max-width: 560px) {
  .announce .container { gap: .5rem; font-size: .85rem; }
  .announce .announce-text { display: none; }
  .card { flex-direction: row; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; }
  .card-icon { width: 64px; height: 58px; margin: 0; flex-shrink: 0; }
  .card-icon img { width: 52px; }
  .card h3 { font-size: .95rem; margin-bottom: .2rem; }
  .card p { font-size: .88rem; line-height: 1.5; }
  .card .more { display: none; }
  .card .tag-neu { top: .7rem; right: .7rem; }
}
.announce-short { display: none; }
@media (max-width: 560px) { .announce-short { display: inline; } }
.card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }

/* Leistungsfenster (Seite Leistungen) ------------------------------------ */
.details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.detail {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 110px;
  transition: box-shadow .25s, transform .25s;
}
.detail:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.detail:target { outline: 3px solid var(--blue); }
.detail-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.detail-media > img { width: 100%; height: 100%; object-fit: cover; }
.detail-media .tag-neu { position: absolute; top: 1rem; right: 1rem; }
.img-placeholder {
  position: absolute; inset: 1rem; display: grid; place-content: center; justify-items: center; gap: .6rem;
  border: 2px dashed #c5d3e4; border-radius: var(--radius-sm);
  background: repeating-linear-gradient(-45deg, #f2f5f9 0 14px, #edf2f8 14px 28px);
  color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.img-placeholder img { width: 96px; opacity: .55; }
.detail-body { padding: 1.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.detail-body h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.detail-body h3 em { font-style: italic; font-weight: 400; color: var(--muted); }
.detail-body p { color: var(--muted); }
.checklist--small { gap: .5rem; margin-bottom: 1.2rem; font-size: .95rem; }
.checklist--small li::before { width: 20px; height: 20px; background-size: 12px; }
.detail-link { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-decoration: none; }
@media (max-width: 860px) { .details { grid-template-columns: 1fr; } }

/* Bildershow im Startbereich: 6 Bilder, je 5 s, weiche Überblendung (reines CSS) */
.hero-slides { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy); }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: hero-fade 30s infinite; }
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: -25s; }
.hero-slides img:nth-child(3) { animation-delay: -20s; }
.hero-slides img:nth-child(4) { animation-delay: -15s; }
.hero-slides img:nth-child(5) { animation-delay: -10s; }
.hero-slides img:nth-child(6) { animation-delay: -5s; }
@keyframes hero-fade {
  0%      { opacity: 1; }
  16.67%  { opacity: 1; }
  20%     { opacity: 0; }
  96.67%  { opacity: 0; }
  100%    { opacity: 1; }
}
.hero-media:hover .hero-slides img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hero-slides img { animation: none; }
  .hero-slides img:first-child { opacity: 1; }
}

/* Handy/Tablet: Bild zuerst, Text darunter */
@media (max-width: 960px) {
  .hero { padding-top: 2rem; }
  .hero-media { order: -1; margin: 0 auto 2.6rem; }
  .float-card--b { top: .8rem; }
}


/* ==========================================================================
   Dezente Animationen
   ========================================================================== */

/* Lesefortschritt als feine Linie unter dem Header */
.site-header { transition: box-shadow .3s, background .3s; }
.site-header .container { transition: min-height .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(24, 34, 47, .08); background: rgba(255, 255, 255, .94); }
.site-header.is-scrolled .container { min-height: 66px; }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--navy-2));
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}
@supports (animation-timeline: scroll()) {
  html:not(.js) .scroll-progress { animation: progress-grow linear both; animation-timeline: scroll(root); }
  @keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Startbereich: sanftes Einblenden beim Laden */
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .pill-link, .hero h1, .hero .lead, .hero-actions, .trust, .hero-media { animation: fade-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 { animation-delay: .08s; }
.hero .lead { animation-delay: .16s; }
.hero-actions { animation-delay: .24s; }
.trust { animation-delay: .32s; }
.hero-media { animation-delay: .12s; }
.float-card { animation: fade-up .7s .55s cubic-bezier(.2, .7, .2, 1) both; }
.float-card--b { animation-delay: .7s; }

/* Buttons: Lichtreflex beim Überfahren */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn--primary:hover::after { left: 130%; }

/* Leistungskarten: Icon dreht sich leicht wie eine Schleifscheibe */
.card-icon img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
a.card:hover .card-icon img { transform: rotate(-12deg) scale(1.08); }
.detail .img-placeholder img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.detail:hover .img-placeholder img { transform: rotate(-10deg) scale(1.06); }

/* Chronik: Punkte füllen sich beim Erreichen */
.timeline li::before { transition: background .5s, box-shadow .5s; }
.js .timeline li.is-visible::before { background: var(--blue); box-shadow: 0 0 0 6px rgba(79, 131, 191, .18); }

/* Kennzahlen: feste Breite, damit beim Hochzählen nichts springt */
.stat strong { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .hero .pill-link, .hero h1, .hero .lead, .hero-actions, .trust, .hero-media, .float-card { animation: none; }
  .btn--primary::after, .card-icon img, .detail .img-placeholder img { transition: none; }
  .scroll-progress { animation: none !important; }
}

/* Zeitstrahl (Über uns): Linie füllt sich beim Scrollen, Einträge gleiten von ihrer Seite herein */
.js .timeline::before { background: var(--line); }
.js .timeline::after {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--blue), var(--navy-2));
  transform: translateX(-50%) scaleY(var(--fill, 0)); transform-origin: top;
}
.js .timeline li.reveal { transform: translateX(-36px); }
.js .timeline li.reveal:nth-child(even) { transform: translateX(36px); }
.js .timeline li.reveal.is-visible { transform: none; }
.js .timeline .year { display: inline-block; opacity: 0; transform: scale(.7); transform-origin: left center;
  transition: opacity .5s .2s, transform .6s .2s cubic-bezier(.3, 1.6, .5, 1); }
.js .timeline li.is-visible .year { opacity: 1; transform: none; }
.js .timeline .box img { clip-path: inset(0 100% 0 0 round 10px); transition: clip-path 1s .25s cubic-bezier(.6, 0, .2, 1); }
.js .timeline li.is-visible .box img { clip-path: inset(0 0 0 0 round 10px); }
.js .timeline li.is-visible::before { animation: dot-pulse 1.1s ease-out; }
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79, 131, 191, .55); }
  70%  { box-shadow: 0 0 0 16px rgba(79, 131, 191, 0); }
  100% { box-shadow: 0 0 0 6px rgba(79, 131, 191, .18); }
}
@media (max-width: 760px) {
  .js .timeline::after { left: 9px; }
  .js .timeline li.reveal, .js .timeline li.reveal:nth-child(even) { transform: translateX(24px); }
  .js .timeline li.reveal.is-visible { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .timeline::after { transform: translateX(-50%); }
  .js .timeline .year { opacity: 1; transform: none; transition: none; }
  .js .timeline .box img { clip-path: none; transition: none; }
  .js .timeline li.reveal, .js .timeline li.reveal:nth-child(even) { transform: none; }
  .js .timeline li.is-visible::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) { .js .timeline::after { transform: none; } }
.section:has(> .container > .timeline) { overflow-x: clip; }

/* Zeitstrahl ohne JavaScript: gleiche Effekte über CSS-Scroll-Animationen (moderne Browser) */
@supports (animation-timeline: view()) {
  html:not(.js) .timeline { view-timeline-name: --zeitstrahl; }
  html:not(.js) .timeline::before { background: var(--line); }
  html:not(.js) .timeline::after {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(var(--blue), var(--navy-2));
    transform-origin: top;
    animation: zeitstrahl-fill linear both;
    animation-timeline: --zeitstrahl;
    animation-range: cover 40vh cover calc(100% - 60vh);
  }
  @keyframes zeitstrahl-fill { from { transform: translateX(-50%) scaleY(0); } to { transform: translateX(-50%) scaleY(1); } }

  html:not(.js) .timeline li { animation: zeit-links linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  html:not(.js) .timeline li:nth-child(even) { animation-name: zeit-rechts; }
  @keyframes zeit-links { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
  @keyframes zeit-rechts { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }

  html:not(.js) .timeline .box img { animation: zeit-foto linear both; animation-timeline: view(); animation-range: entry 20% entry 90%; }
  @keyframes zeit-foto { from { clip-path: inset(0 100% 0 0 round 10px); } to { clip-path: inset(0 0 0 0 round 10px); } }

  @media (max-width: 760px) {
    html:not(.js) .timeline::after { left: 9px; }
    html:not(.js) .timeline li, html:not(.js) .timeline li:nth-child(even) { animation-name: zeit-rechts; }
    @keyframes zeitstrahl-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  }
  @media (prefers-reduced-motion: reduce) {
    html:not(.js) .timeline::after, html:not(.js) .timeline li, html:not(.js) .timeline .box img { animation: none; }
    html:not(.js) .timeline::before { background: linear-gradient(var(--blue), var(--line)); }
    html:not(.js) .timeline::after { content: none; }
  }
}

/* Startbereich: große Schleifscheibe als Wasserzeichen, dreht sich langsam */
.hero > .container { position: relative; z-index: 1; }
.hero-wheel {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(820px, 90vw); height: auto; aspect-ratio: 1;
  right: -14%; top: 50%; margin-top: calc(min(820px, 90vw) / -2);
  color: var(--blue); opacity: .14;
  animation: hero-wheel-spin 60s linear infinite;
}
@keyframes hero-wheel-spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) {
  .hero-wheel { width: 560px; right: -260px; top: auto; bottom: -120px; margin-top: 0; opacity: .1; }
}
@media (prefers-reduced-motion: reduce) { .hero-wheel { animation: none; } }

/* Maschinenpark: Liste links, Foto erscheint rechts beim Überfahren */
.machines { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.machines-group { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 1.6rem 0 .6rem .9rem; }
.machines-group:first-child { margin-top: 0; }
.machine {
  position: static; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: .8rem;
  padding: .85rem 1rem; border-radius: var(--radius-sm); cursor: default; outline: none;
  border-left: 3px solid transparent;
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.machine + .machine { margin-top: .2rem; }
.machine-count {
  display: grid; place-items: center; height: 34px; border-radius: 999px;
  background: rgba(79, 131, 191, .12); color: var(--blue-dark);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.machine-count--empty { background: none; position: relative; }
.machine-count--empty::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); opacity: .5; }
.machine-text strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .98rem; line-height: 1.35; }
.machine-text span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: .15rem; }

.machine:hover, .machine:focus-visible,
.machines:not(:has(.machine:hover, .machine:focus-visible)) .machine:nth-of-type(1) {
  background: #fff; box-shadow: var(--shadow); border-left-color: var(--blue);
}

/* Bildrahmen rechts läuft beim Scrollen mit (sticky); die Bilder liegen übereinander im Rahmen */
.machines-stage {
  position: sticky; top: 100px; align-self: start;
  aspect-ratio: 4 / 3.45; border-radius: 22px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.machine-figure {
  position: absolute; inset: 0; margin: 0; background: #fff;
  opacity: 0; transform: scale(1.015);
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.machine-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.machine-figure .img-placeholder { position: relative; inset: auto; aspect-ratio: 4 / 3; margin: 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.machine-figure .img-placeholder svg { color: #9fb3cb; }
.machine-figure figcaption { padding: .9rem 1.2rem; font-size: .9rem; color: var(--muted); }
/* Zeile n überfahren → Bild n zeigen; ohne Überfahren das erste Bild */
.machines:has(.machine:nth-of-type(1):is(:hover, :focus-visible)) .machine-figure:nth-of-type(1),
.machines:has(.machine:nth-of-type(2):is(:hover, :focus-visible)) .machine-figure:nth-of-type(2),
.machines:has(.machine:nth-of-type(3):is(:hover, :focus-visible)) .machine-figure:nth-of-type(3),
.machines:has(.machine:nth-of-type(4):is(:hover, :focus-visible)) .machine-figure:nth-of-type(4),
.machines:has(.machine:nth-of-type(5):is(:hover, :focus-visible)) .machine-figure:nth-of-type(5),
.machines:has(.machine:nth-of-type(6):is(:hover, :focus-visible)) .machine-figure:nth-of-type(6),
.machines:has(.machine:nth-of-type(7):is(:hover, :focus-visible)) .machine-figure:nth-of-type(7),
.machines:has(.machine:nth-of-type(8):is(:hover, :focus-visible)) .machine-figure:nth-of-type(8),
.machines:has(.machine:nth-of-type(9):is(:hover, :focus-visible)) .machine-figure:nth-of-type(9),
.machines:has(.machine:nth-of-type(10):is(:hover, :focus-visible)) .machine-figure:nth-of-type(10),
.machines:has(.machine:nth-of-type(11):is(:hover, :focus-visible)) .machine-figure:nth-of-type(11),
.machines:has(.machine:nth-of-type(12):is(:hover, :focus-visible)) .machine-figure:nth-of-type(12),
.machines:has(.machine:nth-of-type(13):is(:hover, :focus-visible)) .machine-figure:nth-of-type(13),
.machines:has(.machine:nth-of-type(14):is(:hover, :focus-visible)) .machine-figure:nth-of-type(14),
.machines:has(.machine:nth-of-type(15):is(:hover, :focus-visible)) .machine-figure:nth-of-type(15),
.machines:has(.machine:nth-of-type(16):is(:hover, :focus-visible)) .machine-figure:nth-of-type(16),
.machines:has(.machine:nth-of-type(17):is(:hover, :focus-visible)) .machine-figure:nth-of-type(17),
.machines:has(.machine:nth-of-type(18):is(:hover, :focus-visible)) .machine-figure:nth-of-type(18),
.machines:has(.machine:nth-of-type(19):is(:hover, :focus-visible)) .machine-figure:nth-of-type(19),
.machines:has(.machine:nth-of-type(20):is(:hover, :focus-visible)) .machine-figure:nth-of-type(20),
.machines:not(:has(.machine:hover, .machine:focus-visible)) .machine-figure:nth-of-type(1) { opacity: 1; transform: none; }
.machine-thumb { display: none; }

@media (max-width: 860px) {
  .machines { grid-template-columns: 1fr; gap: 0; }
  .machines-stage { display: none; }
  .machine { grid-template-columns: 38px 1fr 72px; gap: .7rem; padding: .8rem .8rem; background: #fff; border: 1px solid var(--line); border-left-width: 3px; margin-top: .5rem; }
  .machine:hover, .machine:focus-visible, .machines:not(:has(.machine:hover, .machine:focus-visible)) .machine:nth-of-type(1) { box-shadow: none; }
  .machine-thumb { display: block; width: 72px; border-radius: 10px; overflow: hidden; }
  .machine-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .machine-thumb .img-placeholder { position: relative; inset: auto; aspect-ratio: 4 / 3; margin: 0; border-radius: 10px; }
  .machine-thumb .img-placeholder span { display: none; }
  .machine-thumb .img-placeholder svg { width: 26px; height: 26px; color: #9fb3cb; }
}
@media (prefers-reduced-motion: reduce) { .machine, .machine-figure { transition: none; } }
.machines-list, .machine-text { min-width: 0; }
.machine-text strong, .machine-text span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* Ablauf „Von der Zeichnung zum fertigen Bauteil“ (Startseite) */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; position: relative; counter-reset: none; }
.process::before {
  content: ''; position: absolute; left: 7%; right: 7%; top: 44px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); opacity: .45;
}
.process-step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.process-icon {
  position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--blue-dark); border: 2px solid rgba(79, 131, 191, .35); box-shadow: var(--shadow);
  margin-bottom: 1rem; transition: transform .35s cubic-bezier(.2, .7, .2, 1), background .3s, color .3s, border-color .3s;
}
.process-step:hover .process-icon { transform: translateY(-4px); background: var(--blue); color: #fff; border-color: var(--blue); }
.process-num {
  position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; box-shadow: 0 0 0 3px #fff;
}
.process-step h3 { font-size: .95rem; margin-bottom: .35rem; hyphens: auto; }
.process-step p { font-size: .86rem; line-height: 1.5; color: var(--muted); margin: 0 0 .7rem; }
.process-step--goal .process-icon { background: linear-gradient(135deg, var(--blue), var(--navy-2)); color: #fff; border-color: transparent; }

@media (max-width: 1080px) {
  .process { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .process::before { left: 43px; right: auto; top: 44px; bottom: 44px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--blue) 0 8px, transparent 8px 14px); }
  .process-step { display: grid; grid-template-columns: 88px 1fr; column-gap: 1.2rem; text-align: left; align-items: start; padding-bottom: 1.6rem; }
  .process-icon { grid-row: span 3; margin: 0; }
  .process-step h3 { margin-top: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .process-icon { transition: none; } }

/* ==========================================================================
   Präzision in Zahlen (Leistungen) – abschaltbar über FEATURES['praezision']
   ========================================================================== */
.precision { position: relative; overflow: hidden; color: #dfe8f3;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 48px),
    radial-gradient(900px 420px at 85% 0%, rgba(79, 131, 191, .45), transparent 65%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.precision h2 { color: #fff; }
.precision .section-head p { color: #b9c8da; }
.precision-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.metric { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.8rem 1.6rem 1.6rem;
  background: rgba(27, 45, 68, .55); backdrop-filter: blur(2px); transition: background .3s; }
.metric:hover { background: rgba(79, 131, 191, .22); }
.metric::before { content: ''; position: absolute; left: 1.6rem; top: 0; width: 32px; height: 3px; background: var(--blue); border-radius: 0 0 3px 3px; }
.metric-note { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb3cb; }
.metric-value { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: #fff; line-height: 1.15; font-variant-numeric: tabular-nums; }
.metric-value small { font-size: .55em; font-weight: 400; color: #b9c8da; margin-left: .15em; }
.metric-label { color: #dfe8f3; font-size: .95rem; }
.metric--open .metric-value { color: rgba(255, 255, 255, .45); }
.metric-tag { align-self: flex-start; margin-top: .4rem; font-family: var(--font-head); font-weight: 700; font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; padding: .25em .7em; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .35); color: #b9c8da; }
.precision-hint { text-align: center; margin: 2rem 0 0; color: #b9c8da; }
.precision-hint a { color: #fff; font-weight: 700; }
@media (max-width: 1080px) { .precision-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .metric { padding: 1.4rem 1.1rem 1.2rem; } .metric::before { left: 1.1rem; } }

/* ==========================================================================
   Karriere – abschaltbar über FEATURES['karriere']
   ========================================================================== */
.career-media { position: relative; }
.career-media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.career-badge { left: -1.2rem; bottom: -1.4rem; }
@media (max-width: 860px) { .career-badge { left: .8rem; } }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .25s, box-shadow .25s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(79, 131, 191, .12); color: var(--blue-dark); margin-bottom: 1.1rem; }
.benefit h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.benefit p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 1080px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

.jobs { display: grid; gap: 1.2rem; max-width: 900px; margin: 0 auto; }
.job { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); }
.job--open { border-left-color: var(--line); background: var(--bg-soft); box-shadow: none; }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.job h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.job-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0; }
.job-meta span { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .3em .8em; border-radius: 999px; background: rgba(79, 131, 191, .12); color: var(--blue-dark); }
.job > p { color: var(--muted); margin-bottom: .8rem; }
.job details { border-top: 1px solid var(--line); padding-top: .8rem; }
.job summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--blue-dark); list-style: none; display: inline-flex; align-items: center; gap: .5rem; }
.job summary::-webkit-details-marker { display: none; }
.job summary::after { content: '+'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(79, 131, 191, .12); transition: transform .25s; }
.job details[open] summary::after { content: '–'; }
.job-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 1rem; }
.job-lists h4 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: .7rem; }
@media (max-width: 640px) { .job { padding: 1.3rem 1.2rem; } .job-lists { grid-template-columns: 1fr; } .job-head .btn { width: 100%; justify-content: center; } }

.apply-steps { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1.2rem; }
.apply-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.apply-steps li > span { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; }
.apply-steps strong { display: block; font-family: var(--font-head); color: var(--navy); }
.apply-steps div { color: var(--muted); }
.contact-person { background: #fff; border-radius: 24px; padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-lg); }
.contact-person h3 { font-size: 1.5rem; margin-bottom: .1rem; }
.contact-person .btn { margin: .4rem 0 1rem; }
.contact-person .hint { font-size: .85rem; color: var(--muted); margin: 0; }

/* Aktuelles: Abstand zwischen mehreren Beiträgen */
.post + .post { margin-top: 2rem; }
