/* =========================================================
   Kreis Kran GmbH – Desktop-Entwurf v2
   Formensprache: durchgehend eckig (keine Rundungen ausser Logo)
   ========================================================= */

:root {
  /* ---- Version Grün (Logo) ---- */
  --accent: #2D8D02;         /* exakt aus der Logodatei (RAL 6018 laut Legende) */
  --accent-dark: #236E02;    /* Hover, kleine Akzentschrift auf Weiss */
  --accent-light: #7BC74F;   /* Akzente auf dunklem Grund */
  --accent-tint: #EEF5EA;
  --ink: #101010;            /* Schwarz aus der Logodatei (RAL 9005) */
  --dark: #101010;           /* dunkle Flächen */
  --dark-2: #1B1C1A;
  --shade: 10,12,10;         /* Verlauf über dem Hero-Bild */
  --truck: #8C918A;
  --text: #1C1D1B;
  --text-muted: #5B5F58;
  --muted-2: #A3A89F;
  --line: #E1E4DD;
  --line-2: #D6DAD1;
  --bg: #FFFFFF;
  --bg-tint: #F4F5F2;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  --container: 1240px;
  --gutter: 40px;
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Version Orange + Schiefergrau (Farben aus Kranausleger und Fahrerkabine) ---- */
[data-theme="orange"] {
  --accent: #EC6A1C;         /* Ausleger-Orange */
  --accent-dark: #C85412;    /* Hover, kleine Akzentschrift auf Weiss (4,5 : 1) */
  --accent-light: #FF8F45;   /* Akzente auf Schiefergrau */
  --accent-tint: #FDEEE4;
  --ink: #1D2731;            /* sehr dunkles Blaugrau statt Schwarz */
  --dark: #2A3846;           /* Kabinen-Blaugrau */
  --dark-2: #334353;
  --shade: 22,32,43;
  --truck: #8E9BA8;
  --text: #1F2730;
  --text-muted: #56616C;
  --muted-2: #A2ABB4;
  --line: #E0E4E8;
  --line-2: #D3D9DF;
  --bg-tint: #F2F4F6;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
h2 { font-size: 48px; }
h3 { font-size: 34px; }
.display { font-size: 72px; letter-spacing: -0.015em; line-height: 1; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* ---------- Bausteine ---------- */

.eyebrow {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); }
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--accent-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.btn-lg { padding: 16px 30px; font-size: 21px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.section { padding: 128px 0; }

/* Asymmetrischer Abschnittskopf: Label links, Titel rechts */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 32px;
}
.section-head { margin-bottom: 72px; }
.col-label { grid-column: 1 / 4; align-self: start; padding-top: 22px; }
.col-main { grid-column: 4 / 13; }
.section-intro { font-size: 22px; color: var(--text-muted); margin: 28px 0 0; max-width: 680px; }

.list-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 32px 0 12px;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  margin-right: 12px;
  white-space: nowrap;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 48px; }
.brand img { width: 64px; height: auto; }
.logo-orange,
[data-theme="orange"] .logo-green { display: none; }
[data-theme="orange"] .logo-orange { display: block; }

.main-nav { display: flex; gap: 36px; margin-left: auto; }
.main-nav a {
  position: relative;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 24px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header-phone svg { width: 20px; height: 20px; fill: var(--accent); }
.header-phone:hover { color: var(--accent-dark); }

/* ---------- Kranhaken-Scrollanzeige ---------- */

.scroll-hook {
  position: fixed;
  top: var(--header-h);
  right: 22px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  --p: 0;
}
.scroll-hook-cable {
  width: 2px;
  height: calc(var(--p) * (100vh - var(--header-h) - 70px));
  min-height: 12px;
  background: var(--accent);
}
.scroll-hook-icon { width: 16px; height: 27px; fill: var(--accent); margin-top: -1px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: clamp(640px, calc(100vh - var(--header-h)), 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.06);
  animation: hero-zoom 2.4s var(--ease) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(var(--shade),.85) 0%, rgba(var(--shade),.55) 34%, rgba(var(--shade),0) 64%),
    linear-gradient(to right, rgba(var(--shade),.45) 0%, rgba(var(--shade),0) 55%);
}
.hero-content { position: relative; padding-bottom: 88px; }
.hero-title { color: #fff; font-size: 92px; line-height: .98; letter-spacing: -0.015em; }
.hero-title-brand { display: block; font-size: 34px; margin-bottom: 14px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 4px; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: line-up 1s var(--ease) forwards; }
.hero-title .line:nth-child(3) > span { animation-delay: .12s; }
@keyframes line-up { to { transform: none; } }
.hero-lead { max-width: 620px; font-size: 21px; line-height: 1.55; margin: 28px 0 36px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 16px; }
.hero-mail { margin: 22px 0 0; font-size: 17px; color: rgba(255,255,255,.85); }
.hero-mail a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.hero-credit {
  position: absolute;
  right: 56px;
  bottom: 28px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ---------- Kennzahlen ---------- */

.facts { background: var(--dark); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact {
  padding: 36px 0 36px 28px;
  border-left: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-value { font-family: var(--font-head); font-size: 44px; font-weight: 700; line-height: 1; }
.fact-label { font-size: 16px; color: rgba(255,255,255,.65); }

/* ---------- Leistungen: Umschalter ---------- */

.switch {
  display: grid;
  grid-template-columns: 1fr minmax(0, 620px);
  min-height: 760px;
  /* Bild läuft links bis an den Bildschirmrand */
  padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.switch-media { position: relative; overflow: hidden; background: var(--dark); }
.switch-figure {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.switch-figure.is-active { opacity: 1; transform: none; }
.switch-figure img { width: 100%; height: 100%; object-fit: cover; }
.switch-figure[data-panel-media="kran"] img { object-position: 30% 20%; }
.switch-figure[data-panel-media="buehne"] img { object-position: 50% 40%; }

.tile-label {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  display: flex;
  align-items: center;
}

.switch-body { padding: 0 0 0 72px; }

.switch-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.switch-tab {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 0 16px 22px 0;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--muted-2);
  transition: color .3s;
}
.switch-tab:hover { color: var(--ink); }
.switch-tab.is-active { color: var(--ink); }
.switch-tab-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.switch-indicator {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50%;
  height: 4px;
  background: var(--accent);
  transition: transform .45s var(--ease);
}
.switch[data-active="buehne"] .switch-indicator { transform: translateX(100%); }

.switch-panel.is-active { animation: panel-in .55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.service-num {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 10px;
}
.switch-panel h3 { font-size: 44px; margin-bottom: 18px; }
.service-lead { font-size: 20px; color: var(--text-muted); }

.arrow-list { list-style: none; margin: 0; padding: 0; }
.arrow-list li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-top: 1px solid var(--line);
}
.arrow-list li:last-child { border-bottom: 1px solid var(--line); }
.arrow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  border-left: 9px solid var(--accent);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.gear {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
}
.gear-single { grid-template-columns: 1fr; }
.gear div { background: #fff; padding: 16px 18px; transition: background-color .25s; }
.gear div:hover { background: var(--accent-tint); }
.gear dt { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--ink); }
.gear dd { margin: 2px 0 0; font-size: 15px; line-height: 1.45; color: var(--text-muted); }

/* Zielgruppen-Chips */
.audience {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 3px solid var(--ink);
}
.audience-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  border: 1.5px solid var(--ink);
  padding: 7px 16px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color .25s, color .25s;
}
.chips li:hover { background: var(--dark); color: #fff; }

/* ---------- Kran (dunkel) ---------- */

.section-dark { background: var(--dark); color: #fff; }
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark .section-intro { color: rgba(255,255,255,.7); }

.crane-intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: stretch;
}
.crane-photo { overflow: hidden; }
.crane-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.crane-photo:hover img { transform: scale(1.03); }

.spec-tiles {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
}
.spec-tiles div {
  background: var(--dark);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: background-color .25s;
}
.spec-tiles div:hover { background: var(--dark-2); }
.spec-tiles dt { font-size: 15px; color: rgba(255,255,255,.6); }
.spec-tiles dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

/* Lastenrechner */
.load { margin-top: 128px; }
.load-head { max-width: 760px; margin-bottom: 40px; }
.load-head h3 { font-size: 44px; margin-bottom: 14px; }
.load-help { color: rgba(255,255,255,.7); font-size: 19px; margin: 0; }

.load-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.load-visual { background: var(--dark-2); border: 1px solid rgba(255,255,255,.1); padding: 20px; }
.load-svg { width: 100%; height: auto; display: block; overflow: visible; }
.grid-lines line { stroke: rgba(255,255,255,.1); stroke-width: 1; }
.axis-labels text { fill: rgba(255,255,255,.45); font: 500 13px var(--font-body); text-anchor: middle; }
.axis-labels text[text-anchor="end"] { text-anchor: end; }
.load-points circle { fill: rgba(255,255,255,.28); transition: fill .3s; }
.load-points circle.is-active { fill: var(--accent-light); }
.guide { stroke: var(--accent-light); stroke-width: 1.5; stroke-dasharray: 5 5; transition: all .7s var(--ease); }
.truck rect, .truck circle { fill: var(--truck); }
.boom { transform-box: view-box; transform-origin: 0 0; transition: transform .8s var(--ease); }
.boom-bar { fill: #fff; transform-box: view-box; transform-origin: 0 0; transition: transform .8s var(--ease); }
.hook { transition: transform .8s var(--ease); }
.hook line { stroke: #fff; stroke-width: 1.5; }
.hook rect { fill: var(--accent); }
.hook-text { fill: #fff; font: 700 12px var(--font-head); }

.load-picker {
  border: 0;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(255,255,255,.25);
}
.load-picker label { position: relative; cursor: pointer; }
.load-picker input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.load-picker span {
  display: block;
  text-align: center;
  padding: 14px 4px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  border-left: 1px solid rgba(255,255,255,.25);
  transition: background-color .25s, color .25s;
}
.load-picker label:first-child span { border-left: 0; }
.load-picker label:hover span { color: #fff; background: rgba(255,255,255,.06); }
.load-picker input:checked + span { background: var(--accent); color: #fff; }
.load-picker input:focus-visible + span { outline: 3px solid var(--accent-light); outline-offset: -3px; }

.load-readout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.readout-label { display: block; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.readout-value { display: block; font-family: var(--font-head); font-size: 64px; font-weight: 700; line-height: 1.05; color: #fff; }

.load-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.load-table th, .load-table td { padding: 11px 16px; text-align: right; font-size: 18px; }
.load-table th:first-child, .load-table td:first-child { text-align: left; }
.load-table thead th {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.load-table tbody tr { border-bottom: 1px solid rgba(255,255,255,.1); cursor: pointer; transition: background-color .25s; }
.load-table tbody tr:hover { background: rgba(255,255,255,.05); }
.load-table tbody tr.is-active { background: color-mix(in srgb, var(--accent-light) 16%, transparent); }
.load-table tbody tr.is-active th { color: var(--accent-light); }
.load-table tbody th { font-weight: 700; }
.load-note { margin: 20px 0 0; font-size: 15px; color: rgba(255,255,255,.55); }
.load-note a { color: #fff; text-underline-offset: 3px; }

/* ---------- Carlo ---------- */

.pull { margin: 0 0 88px; }
.pull p {
  margin: 0;
  font-family: var(--font-head);
  font-size: 84px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 1000px;
}

.about-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 88px; align-items: center; }
.about-photo { position: relative; }
.about-photo::before {
  content: "";
  position: absolute;
  left: -24px;
  bottom: -24px;
  width: 55%;
  height: 55%;
  background: var(--accent);
}
.about-photo img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 30% 50%; }
.about-text h2 { margin-bottom: 26px; }
.about-text p { font-size: 20px; }
.values { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.values li { background: var(--accent-tint); color: var(--accent-dark); font-weight: 600; padding: 8px 14px; font-size: 16px; }

/* ---------- Kontakt ---------- */

.contact { background: var(--bg-tint); }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.action {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 44px 48px 48px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.action-green { background: var(--accent); }
.action-dark { background: var(--dark); }
.action::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,.18);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.action-dark::before { background: var(--accent); }
.action:hover::before { transform: none; }
.action-kicker { font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.action-main { font-family: var(--font-head); font-size: 52px; font-weight: 700; line-height: 1; }
.action-arrow {
  position: absolute;
  right: 44px;
  top: 40px;
  font-size: 40px;
  line-height: 1;
  transition: transform .4s var(--ease);
}
.action:hover .action-arrow { transform: translate(6px, -6px) rotate(-45deg); }

.contact-foot {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
}
.checklist .list-title { margin-top: 0; }
.checklist ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.checklist li { padding: 12px 0; border-top: 1px solid var(--line-2); }
.checklist li span { font-weight: 700; color: var(--accent-dark); }
.contact address { font-style: normal; font-size: 17px; line-height: 1.6; color: var(--text-muted); text-align: right; }
.contact address strong { color: var(--ink); }

/* ---------- Fusszeile ---------- */

.site-footer { background: var(--dark); color: rgba(255,255,255,.6); font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.footer-inner p { margin: 0; }
.footer-slogan { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- Einblenden beim Scrollen ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-img, .hero-title .line > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Personenkorb (Kran-Abschnitt) ---------- */

.basket {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.basket h3 { font-size: 36px; margin-bottom: 14px; }
.basket p { color: rgba(255,255,255,.7); font-size: 19px; margin: 0; }
.basket-table tbody tr { cursor: default; }
.basket-table tbody tr:last-child th { color: rgba(255,255,255,.7); font-weight: 500; }

/* ---------- Umschalter der Farbversionen (nur Entwurf) ---------- */

.theme-links a { border-bottom: 1px solid transparent; }
.theme-links a.is-current { color: #fff; border-bottom-color: var(--accent-light); }

/* =========================================================
   Responsive: Tablet und Mobile
   ========================================================= */

.nav-toggle, .nav-cta, .mobile-bar { display: none; }

/* ---------- Kleiner Desktop / Tablet quer (≤ 1180 px) ---------- */
@media (max-width: 1180px) {
  .main-nav { gap: 28px; }
  .header-inner { gap: 32px; }
  .display { font-size: 60px; }
  .hero-title { font-size: 80px; }
  .switch-body { padding-left: 48px; }
  .spec-tiles dd { font-size: 28px; }
  .readout-value { font-size: 54px; }
  .pull p { font-size: 72px; }
  .action-main { font-size: 42px; }
}

/* ---------- Tablet (≤ 980 px) ---------- */
@media (max-width: 980px) {
  :root { --header-h: 76px; --gutter: 32px; }
  body { font-size: 17px; }
  .section { padding: 96px 0; }
  h2 { font-size: 40px; }
  .display { font-size: 52px; }

  /* Navigation als ausklappbares Menü */
  .brand img { width: 54px; }
  .header-inner { gap: 16px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 0 12px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle { order: 3; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0,0,0,.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .main-nav a:not(.btn) { font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a.is-active:not(.btn) { color: var(--accent-dark); }
  .nav-cta { display: flex; margin-top: 24px; }

  /* Hero */
  .hero { height: clamp(600px, calc(100svh - var(--header-h)), 820px); }
  .hero-img { object-position: 64% 30%; }
  .hero-title { font-size: 68px; }
  .hero-title-brand { font-size: 28px; }
  .hero-credit { right: var(--gutter); }

  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 28px 0 28px 24px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .fact-value { font-size: 38px; }

  /* Abschnittsköpfe untereinander */
  .section-head { margin-bottom: 48px; }
  .grid-12 { display: block; }
  .col-label, .col-main { grid-column: 1 / -1; }
  .col-label { padding-top: 0; }
  .section-intro { font-size: 20px; margin-top: 20px; }

  /* Leistungs-Umschalter: Bild oben, Text darunter */
  .switch { grid-template-columns: 1fr; padding-right: 0; min-height: 0; }
  .switch-media { aspect-ratio: 4 / 3; }
  .switch-body { padding: 40px var(--gutter) 0; }
  .switch-tab { font-size: 24px; }

  .audience { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 64px; }

  /* Kran */
  .crane-intro { grid-template-columns: 1fr; }
  .crane-photo img { aspect-ratio: 4 / 3; height: auto; object-position: 50% 30%; }
  .load { margin-top: 96px; }
  .load-head h3 { font-size: 36px; }
  .load-grid { grid-template-columns: 1fr; gap: 32px; }
  .basket { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }

  /* Carlo */
  .pull { margin-bottom: 56px; }
  .pull p { font-size: 60px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-photo { margin-left: 20px; }
  .about-photo::before { left: -20px; bottom: -20px; }

  /* Kontakt */
  .contact-actions { grid-template-columns: 1fr; gap: 16px; }
  .contact-foot { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .contact address { text-align: left; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }

  .scroll-hook { display: none; }
}

/* ---------- Mobile (≤ 640 px) ---------- */
@media (max-width: 640px) {
  :root { --header-h: 68px; --gutter: 20px; }
  body { font-size: 17px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .section { padding: 72px 0; }
  h2 { font-size: 34px; }
  h3 { font-size: 28px; }
  .display { font-size: 40px; }
  .eyebrow { font-size: 13px; }
  .section-intro { font-size: 18px; }

  .brand img { width: 48px; }
  .header-phone { font-size: 0; gap: 0; width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--line); }
  .header-phone svg { width: 22px; height: 22px; }

  /* Hero: Foto oben (ganzer Kran sichtbar), Text darunter auf dunklem Grund */
  .hero { height: auto; display: block; background: var(--dark); }
  .hero-img { position: relative; height: 270px; object-position: 55% 45%; }
  .hero-shade { display: none; }
  .hero-content { padding-top: 32px; padding-bottom: 48px; }
  .hero-title { font-size: clamp(36px, 11vw, 48px); }
  .hero-title-brand { font-size: 22px; margin-bottom: 8px; }
  .hero-lead { font-size: 18px; margin: 20px 0 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-mail { font-size: 16px; }
  .hero-credit { display: none; }

  .fact { padding: 22px 0 22px 18px; }
  .fact-value { font-size: 30px; }
  .fact-label { font-size: 14px; }

  /* Umschalter */
  .switch-body { padding-top: 32px; }
  .switch-tabs { margin-bottom: 32px; }
  .switch-tab { font-size: 20px; padding-bottom: 16px; }
  .switch-tab-kicker { font-size: 12px; }
  .switch-panel h3 { font-size: 34px; }
  .service-lead { font-size: 18px; }
  .gear { grid-template-columns: 1fr; }
  .tile-label { font-size: 14px; padding: 12px 16px; }
  .badge { font-size: 11px; margin-right: 10px; }
  .chips li { font-size: 15px; padding: 6px 12px; }

  /* Kran */
  .spec-tiles { grid-template-columns: repeat(2, 1fr); }
  .spec-tiles div { padding: 18px 16px; gap: 12px; }
  .spec-tiles dt { font-size: 14px; }
  .spec-tiles dd { font-size: 24px; }
  .load-head h3 { font-size: 28px; }
  .load-help { font-size: 17px; }
  .load-visual { padding: 10px; }
  .load-picker { grid-template-columns: repeat(3, 1fr); }
  .load-picker label:nth-child(4) span { border-left: 0; }
  .load-picker label:nth-child(n+4) span { border-top: 1px solid rgba(255,255,255,.25); }
  .load-picker span { font-size: 17px; padding: 13px 4px; }
  .readout-value { font-size: 40px; }
  .load-table th, .load-table td { padding: 11px 8px; font-size: 16px; }
  .basket h3 { font-size: 28px; }

  /* Carlo */
  .pull p { font-size: 40px; }
  .about-photo { margin-left: 12px; }
  .about-photo::before { left: -12px; bottom: -12px; }
  .about-text p { font-size: 18px; }

  /* Kontakt */
  .action { padding: 28px 24px 30px; }
  .action-main { font-size: 32px; }
  .action-arrow { right: 22px; top: 24px; font-size: 30px; }
  .checklist ol { grid-template-columns: 1fr; }

  /* Feste Aktionsleiste */
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--dark);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 64px;
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
  }
  .mobile-bar svg { width: 20px; height: 20px; fill: currentColor; }
  .mobile-bar-cta { background: var(--accent); }
}
