/* EFS – Event-Fallschirm-Shop
   Farbwelt aus den Schirmstoffen: Signal-Blau, Sonnengelb, Signalrot auf kühlem Weiß. */

:root {
  --ink: #14213d;          /* Tiefes Marineblau – Text */
  --ink-soft: #4a5672;
  --line: #d9dfea;
  --paper: #ffffff;
  --sky: #eef3fb;          /* Himmel – Flächen */
  --blue: #1f4fa8;         /* Schirm-Blau – Aktionen */
  --blue-dark: #163a7c;
  --sun: #f2c200;          /* Sonnengelb */
  --red: #d62828;          /* Signalrot – Warnungen */
  --green: #1d7a46;
  --radius: 6px;
  --wrap: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

h1, h2, h3 {
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; font-stretch: 112%; }
p { margin: 0 0 1em; max-width: 68ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
.band { background: var(--sky); }

/* ---------- Kopf ---------- */
.site-head { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-stretch: 125%; font-size: 1.05rem; }
.brand .logo-img { height: 48px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"], .nav a:hover { border-bottom-color: var(--sun); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-weight: 600; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .nav.open { display: flex; }
  .site-head .wrap { flex-wrap: wrap; }
  .nav a { padding: 10px 0; }
}

/* ---------- Fuß ---------- */
.site-foot { background: var(--ink); color: #c9d2e6; padding: 40px 0; font-size: .95rem; }
.site-foot a { color: #fff; }
.site-foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.site-foot strong { color: #fff; }

/* ---------- Schaltflächen & Formulare ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff; border: 2px solid var(--blue);
  border-radius: var(--radius); padding: 12px 20px; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; min-height: 48px;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.secondary { background: #fff; color: var(--blue); }
.btn.secondary:hover { background: var(--sky); color: var(--blue-dark); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn.danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn.small { padding: 6px 12px; min-height: 36px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], input[type=number], select, textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(31,79,168,.18); }
.field { margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }

/* ---------- Hinweise ---------- */
.note { border-left: 4px solid var(--blue); background: var(--sky); padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; margin: 12px 0; }
.note.warning { border-color: var(--red); background: #fdecec; }
.note.ok { border-color: var(--green); background: #e8f5ee; }
.note.tip { border-color: var(--sun); background: #fff8d9; }
.error { color: var(--red); font-weight: 600; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .82rem; font-weight: 700; background: var(--sky); color: var(--ink); white-space: nowrap; }
/* Auftrag (Farben wie im Planungskalender: Anfrage grau, Angebot orange, Rechnung offen blau) */
.pill.s-anfrage { background: #e6e8ec; color: #3f4756; }
.pill.s-angebot { background: #fde3c4; color: #8a4a00; }
.pill.s-bestaetigt { background: #d6e8fb; color: #124a87; }
.pill.s-ausgegeben { background: #d9f0e1; color: #16613a; }
.pill.s-zurueckgenommen { background: #ece4fb; color: #4a2a8a; }
.pill.s-abgeschlossen { background: #eef0f3; color: #5b6475; }
.pill.s-abgelehnt, .pill.s-storniert { background: #fdecec; color: var(--red); }
/* Schirm */
.pill.s-einsatzbereit { background: #e8f5ee; color: var(--green); }
.pill.s-im_einsatz { background: #dfe8fa; color: var(--blue-dark); }
.pill.s-trocknung { background: #dff3fb; color: #0b5d7a; }
.pill.s-nachschau { background: #ece4fb; color: #4a2a8a; }
.pill.s-reparatur, .pill.s-fehlt { background: #fdecec; color: var(--red); }
.pill.s-reinigung { background: #fff3c2; color: #6b5300; }
.pill.s-packen { background: #fff3c2; color: #6b5300; }
.pill.s-ausgemustert { background: #eef0f3; color: #8a93a3; }
.pill.s-offen { background: #fde3c4; color: #8a4a00; }
.pill.s-bezahlt, .pill.s-erledigt { background: #e8f5ee; color: var(--green); }
.pill.s-beim_schneider { background: #dfe8fa; color: var(--blue-dark); }
.pill.flag { background: var(--red); color: #fff; }

/* ---------- Startseite: Schirm-Held ---------- */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); }
/* Bilder-Slider */
.slider { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--sky); box-shadow: 0 18px 40px rgba(20,33,61,.22), 0 2px 6px rgba(20,33,61,.12); }
.slider-track { display: flex; height: 100%; transition: transform .8s cubic-bezier(.4,.1,.2,1); }
.slide { flex: 0 0 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.slider:hover .slider-btn, .slider-btn:focus-visible { opacity: 1; }
.slider-btn.prev { left: 12px; } .slider-btn.next { right: 12px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; padding: 0 40px; }
.slider-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 2px rgba(0,0,0,.4); transition: background .2s, transform .2s; }
.slider-dots i.on { background: #fff; transform: scale(1.35); }
@media (prefers-reduced-motion: reduce) { .slider-track { transition: none; } }
@media (hover: none) { .slider-btn { opacity: .85; } }
@media (max-width: 560px) { .slider-dots { display: none; } .sizes { gap: 6px; } .size-dot small { display: none; } }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .slider { order: -1; }
}

/* Größenwahl: Schirme in 3D, im echten Größenverhältnis */
.sizes { display: flex; align-items: flex-end; gap: 12px; margin: 28px 0 8px; }
/* schrumpfen gemeinsam (Verhältnis bleibt), statt umzubrechen */
.size-dot { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--ink); font-weight: 800; font-stretch: 112%; }
.size-dot .cn { display: block; max-width: 100%; height: auto; overflow: visible; transition: transform .2s ease; filter: drop-shadow(0 6px 6px rgba(20,33,61,.18)); }
.size-dot .cn-shadow { transition: transform .2s ease, opacity .2s; transform-box: fill-box; transform-origin: center; }
.size-dot:hover .cn, .size-dot:focus-visible .cn { transform: translateY(-6px); }
.size-dot:hover .cn-shadow { transform: scale(.85); opacity: .7; }
.size-dot small { font-weight: 500; color: var(--ink-soft); font-size: .8rem; font-stretch: 100%; }
@media (prefers-reduced-motion: reduce) { .size-dot .cn, .size-dot .cn-shadow { transition: none; } }

/* Schritte */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 52px; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--sun); font-weight: 800; display: grid; place-items: center; font-stretch: 125%; }
.steps h3 { margin-bottom: .3em; }

/* ---------- Katalog ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filters button { font: inherit; font-weight: 600; border: 1.5px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 99px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; }
.product { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.product .img { aspect-ratio: 4/3; background: var(--sky); border-radius: var(--radius); overflow: hidden; }
.product .img img { width: 100%; height: 100%; object-fit: cover; }
.product h3 { margin: 12px 0 2px; }
.product .price { font-weight: 700; margin-top: auto; padding-top: 6px; }
.swatches { display: flex; gap: 6px; margin: 6px 0; }
.swatch { display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); vertical-align: middle; flex: none; }

/* ---------- Produktseite ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } }
.pdp .gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--sky); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.kit { padding-left: 1.2em; margin: 8px 0 0; }
.kit li.sub { list-style: circle; margin-left: 1.2em; color: var(--ink-soft); }
.variant-picks { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-picks label { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); padding: 8px 12px; border-radius: var(--radius); cursor: pointer; font-weight: 600; }
.variant-picks input { position: absolute; opacity: 0; pointer-events: none; }
.variant-picks label:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue) inset; }
.variant-picks label:has(input:focus-visible) { outline: 3px solid var(--sun); }

.box { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.box + .box { margin-top: 20px; }

/* Kalender */
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head button { background: none; border: 1.5px solid var(--line); border-radius: var(--radius); width: 40px; height: 36px; font: inherit; cursor: pointer; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: .9rem; }
.cal .dow { font-weight: 700; color: var(--ink-soft); font-size: .78rem; padding: 4px 0; }
.cal button { font: inherit; border: 0; padding: 0; height: 40px; border-radius: 4px; background: #fff; color: var(--ink); cursor: pointer; }
.cal button.we { font-weight: 700; }
.cal button.free { background: #eaf6ef; }
.cal button.busy { background: repeating-linear-gradient(-45deg, #fbe3e3 0 5px, #fff 5px 9px); color: #a0a8b8; cursor: not-allowed; text-decoration: line-through; }
.cal button.past { color: #c2c8d4; cursor: default; background: #fff; }
.cal button.in { background: #cddbf5; }
.cal button.start, .cal button.end { background: var(--blue); color: #fff; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-soft); margin-top: 8px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }

.summary { width: 100%; border-collapse: collapse; margin: 8px 0; }
.summary td { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.summary tr.total td { font-weight: 800; border-bottom: 0; font-size: 1.1rem; }

/* ---------- Kundenbereich ---------- */
.timeline { list-style: none; padding: 0; margin: 16px 0; display: flex; gap: 0; overflow-x: auto; }
.timeline li { flex: 1; min-width: 92px; text-align: center; font-size: .82rem; color: var(--ink-soft); position: relative; padding-top: 26px; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--line); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--blue); border-color: var(--blue); }
.timeline li.done::after { background: var(--blue); }
.timeline li.now { color: var(--ink); font-weight: 700; }
.timeline li.now::before { background: var(--sun); border-color: var(--ink); }

.code-big { font-size: 2.4rem; font-weight: 800; letter-spacing: .14em; font-stretch: 125%; }
.bay-big { font-size: 3.2rem; font-weight: 800; font-stretch: 125%; line-height: 1; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.checklist .code { font-size: .8rem; color: var(--ink-soft); display: block; }

/* ---------- Tag-Seite (Handy) ---------- */
.tag-page { max-width: 560px; margin: 0 auto; padding: 24px 20px 60px; }
.tag-code { font-size: .85rem; color: var(--ink-soft); }
.tag-title { font-size: 1.6rem; }
.actions { display: grid; gap: 14px; margin: 20px 0; }
.action { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; }
.progress { height: 10px; background: var(--sky); border-radius: 99px; overflow: hidden; margin: 8px 0; }
.progress span { display: block; height: 100%; background: var(--blue); transition: width .3s; }
.role-bar { background: var(--ink); color: #fff; font-size: .85rem; padding: 6px 20px; display: flex; justify-content: space-between; gap: 10px; }
.role-bar a, .role-bar button { color: var(--sun); background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }

/* ---------- Team-Bereich ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs button { font: inherit; font-weight: 700; background: none; border: 0; padding: 10px 14px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; color: var(--ink-soft); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--sun); }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-size: .82rem; color: var(--ink-soft); font-weight: 700; background: #fafbfd; position: sticky; top: 0; }
table.data tr.child td:first-child { padding-left: 26px; color: var(--ink-soft); }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.toolbar .field { margin: 0; }

/* Etiketten zum Drucken */
.labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.label-card { border: 1px dashed #9aa5bb; padding: 10px; text-align: center; break-inside: avoid; page-break-inside: avoid; background: #fff; }
.label-card svg { width: 100%; height: auto; max-width: 150px; margin: 0 auto; display: block; }
.label-card .lc-code { font-weight: 800; font-stretch: 125%; font-size: 1rem; letter-spacing: .02em; }
.label-card .lc-name { font-size: .78rem; color: var(--ink-soft); line-height: 1.3; }
.label-card.big .lc-code { font-size: clamp(1.3rem, 2.6vw, 2.2rem); overflow-wrap: anywhere; }
@media print {
  .no-print, .site-head, .site-foot, .tabs, .role-bar { display: none !important; }
  body { font-size: 12px; }
  .labels { grid-template-columns: repeat(4, 1fr); gap: 6mm; }
  .labels.big { grid-template-columns: repeat(2, 1fr); }
  section { padding: 0; }
}

.demo-flag { background: var(--sun); color: var(--ink); text-align: center; font-size: .85rem; font-weight: 600; padding: 6px 12px; }
.hidden { display: none !important; }
.spaced > * + * { margin-top: 12px; }

/* Schirm-Auswahl auf der Produktseite */
.unit-picks { display: grid; gap: 8px; }
.unit-pick { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); padding: 8px 12px; border-radius: var(--radius); cursor: pointer; font-weight: 400; margin: 0; }
.unit-pick input { position: absolute; opacity: 0; pointer-events: none; }
.unit-pick:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue) inset; }
.unit-pick:has(input:focus-visible) { outline: 3px solid var(--sun); }
.unit-pick .mini { flex: none; display: block; }
.cmap { max-width: 100%; height: auto; display: block; }
.cmap .feld { stroke: rgba(20,33,61,.35); stroke-width: .6; }
.cal button.busy { cursor: pointer; }

/* Anfahrt */
.anfahrt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
@media (max-width: 820px) { .anfahrt { grid-template-columns: 1fr; } }
.routes { list-style: none; padding: 0; margin: 0 0 14px; }
.routes li { padding: 9px 0 9px 32px; border-bottom: 1px solid var(--line); position: relative; }
.routes li::before { content: "A"; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 5px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.routes span { display: block; color: var(--ink-soft); font-size: .92rem; }
.map-box { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #e7eef9, #d7e2f3); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(20,33,61,.12); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent { height: 100%; display: grid; place-content: center; text-align: center; padding: 24px; gap: 4px; }
.map-consent p { margin: 0 auto 8px; }
.map-consent .btn { justify-self: center; }
