/* =====================================================================
   SKERGETH – Kompetenzzentrum für Orthopädietechnik
   Stylesheet 2026 – basierend auf dem Design der bisherigen Website
   Farben: Navy #07003A (Kopf/Fuß), Grün #94C12E (Akzent),
           Pastell: Grün #D3E7A6, Blau #B9CDE6, Pfirsich #F5CC9B
   ===================================================================== */
:root {
  --navy: #07003A;
  --navy-2: #140d52;
  --green: #94C12E;
  --green-dark: #6f9a16;
  --pastel-green: #D3E7A6;
  --pastel-blue: #B9CDE6;
  --pastel-peach: #F5CC9B;
  --light: #F4F4F4;
  --ink: #141414;
  --muted: #595959;
  --line: #d9d9d9;
  --font: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
  --radius: 6px;
  --shadow: 0 6px 22px rgba(7, 0, 58, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover, a:focus { color: var(--navy); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.small { font-size: 14px; color: var(--muted); }
.big { font-size: 20px; font-weight: 700; color: var(--navy); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: #000; padding: 10px 16px; z-index: 1000; }
.skip:focus { left: 10px; top: 10px; }
.todo { background: #fff3a0; padding: 0 4px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: var(--radius); border: 0; cursor: pointer; font-family: inherit; font-size: 16px; transition: background .15s, transform .15s; }
.btn:hover, .btn:focus { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); border: 2px solid var(--green); padding: 10px 20px; }
.btn-light:hover { background: var(--green); color: #fff; }
.btn-small { font-size: 14px; padding: 8px 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex: 1 1 auto; }
.brand-smiley { width: 46px; height: 46px; }
.brand-text { height: 44px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a { display: block; color: #fff; text-decoration: none; padding: 10px 12px; font-size: 15px; border-bottom: 3px solid transparent; transition: border-color .15s, color .15s; }
.main-nav a:hover, .main-nav a:focus, .main-nav a.active { border-bottom-color: var(--green); color: #fff; }
.nav-small a { font-size: 13px; opacity: .8; }
.menu-btn { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: 15px; cursor: pointer; align-items: center; gap: 8px; }
.burger { width: 20px; height: 2px; background: #fff; position: relative; display: inline-block; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
@media (max-width: 900px) {
  .brand-text { height: 36px; max-width: 100%; object-fit: contain; object-position: left; }
  .header-inner { gap: 10px; }
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.15); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .main-nav a { padding: 12px 24px; border-bottom: 0; border-left: 4px solid transparent; }
  .main-nav a:hover, .main-nav a.active { border-left-color: var(--green); background: rgba(255,255,255,.05); }
}

@media (max-width: 420px) { .brand-text { height: 30px; } .brand-smiley { width: 38px; height: 38px; } .menu-btn { padding: 7px 9px; flex: 0 0 auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(88vh, 760px); min-height: 420px; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: flex-end; justify-content: center; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.slide.active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,0,58,.75) 0%, rgba(7,0,58,.15) 45%, rgba(0,0,0,0) 70%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 20px 70px; max-width: 820px; }
.hero-claim { font-size: clamp(32px, 5.5vw, 62px); font-weight: 700; margin: 0 0 .3em; text-shadow: 0 3px 16px rgba(0,0,0,.55); letter-spacing: -.01em; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); margin: 0 0 1.4em; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.scroll-hint { color: #fff; text-decoration: none; display: inline-flex; flex-direction: column; align-items: center; font-size: 15px; opacity: .9; }
.scroll-hint span { font-size: 34px; line-height: .6; animation: bob 1.6s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.dots { position: absolute; bottom: 18px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.dots button.active { background: var(--green); border-color: var(--green); }

/* ---------- Sektionen ---------- */
.section { padding: 64px 0; }
.bg-green { background: var(--pastel-green); }
.bg-blue { background: var(--pastel-blue); }
.bg-peach { background: var(--pastel-peach); }
.bg-light { background: var(--light); }
.bg-white { background: #fff; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .02em; margin-bottom: 28px; }
.section-title small { display: block; font-size: clamp(17px, 2vw, 22px); font-weight: 400; letter-spacing: 0; color: var(--ink); margin-top: 4px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.two-col figure { margin: 0; }
.two-col figure img { border-radius: var(--radius); }
.about { grid-template-columns: 300px 1fr; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 260px; } }
.portrait { margin: 0; }
.portrait img { border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait figcaption { margin-top: 8px; font-weight: 700; color: var(--navy); }
.werte { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 20px 0 24px; }
.werte li { background: rgba(255,255,255,.6); border-left: 4px solid var(--green); padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.werte strong { display: block; color: var(--navy); }
.werte span { font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .werte { grid-template-columns: 1fr; } }

.iso-badge { margin-top: 18px; background: #fff; border-radius: var(--radius); padding: 12px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); box-shadow: 0 2px 8px rgba(7,0,58,.08); }
.iso-badge img { width: 70px; flex: 0 0 auto; }
.footer-iso { background: #fff; padding: 6px; border-radius: 4px; margin-top: 8px; }

/* ---------- Zitat-Bänder (Vollbild-Fotos) ---------- */
.band { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; background-attachment: fixed; text-align: center; color: #fff; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(7,0,58,.38); }
.band .wrap { position: relative; }
.band p { font-size: clamp(24px, 3.6vw, 40px); font-weight: 400; margin: 0; max-width: 820px; margin-inline: auto; text-shadow: 0 3px 18px rgba(0,0,0,.6); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) { .band { background-attachment: scroll; min-height: 280px; } }

/* ---------- Produkt-Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.tile { background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: 0 2px 8px rgba(7,0,58,.08); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.tile:hover, .tile:focus { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--navy); }
.tile .pic { display: block; height: 190px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; }
.tile .pic img { max-height: 100%; width: auto; object-fit: contain; }
.tile-title { display: block; font-weight: 700; color: var(--navy); padding: 12px 14px 2px; font-size: 16px; line-height: 1.3; }
.tile-sub { display: block; font-size: 13px; color: var(--muted); padding: 0 14px 14px; }

/* ---------- Sicherheitsschuhe ---------- */
.shoe img { margin-inline: auto; max-width: 380px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 36px 0; }
@media (max-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); } }
.features figure { margin: 0; background: rgba(255,255,255,.55); border-radius: var(--radius); padding: 16px; text-align: center; }
.features img { max-height: 150px; width: auto; margin: 0 auto 10px; }
.features figcaption { font-size: 14px; }
.features strong { display: block; color: var(--navy); margin-bottom: 4px; letter-spacing: .04em; }

/* ---------- Galerien ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 30px; }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-6 { grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1000px) { .gallery-4 { grid-template-columns: repeat(3, 1fr); } .gallery-6 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .gallery, .gallery-4, .gallery-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(7,0,58,.08); display: flex; flex-direction: column; }
.gallery .pic { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 12px; background: #fff; }
.gallery .pic img { max-height: 100%; width: auto; object-fit: contain; }
.gallery figcaption { padding: 10px 12px 12px; font-size: 14px; border-top: 1px solid var(--line); flex: 1; }
.gallery figcaption strong { display: block; color: var(--navy); margin-bottom: 2px; }
.gallery figcaption p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- Jobs ---------- */
.jobs { grid-template-columns: 280px 1fr; align-items: center; }
@media (max-width: 800px) { .jobs { grid-template-columns: 1fr; } .uncle { max-width: 220px; } }
.uncle { margin: 0; }

/* ---------- Filialen ---------- */
.filialen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .filialen { grid-template-columns: 1fr; } }
.filiale { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(7,0,58,.08); display: grid; grid-template-columns: 220px 1fr; }
@media (max-width: 560px) { .filiale { grid-template-columns: 1fr; } .filiale img { height: 180px; } }
.filiale img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.filiale-body { padding: 18px 20px; }
.filiale h3 { margin-bottom: 6px; }
.filiale h4 { margin: 10px 0 4px; font-size: 14px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.filiale address { font-style: normal; }
.zeiten { list-style: none; padding: 0; margin: 0 0 8px; }
.zeiten li { font-size: 15px; }

/* ---------- Formular ---------- */
.kontaktformular .feld { margin-bottom: 14px; }
.kontaktformular label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; color: var(--navy); }
.kontaktformular input[type=text], .kontaktformular input[type=email], .kontaktformular input[type=tel], .kontaktformular textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #bbb; border-radius: var(--radius); background: #fff; }
.kontaktformular input:focus, .kontaktformular textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.kontaktformular .check { display: flex; gap: 10px; align-items: flex-start; }
.kontaktformular .check input { margin-top: 5px; }
.kontaktformular .check label { font-weight: 400; font-size: 14px; color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.kontaktbox { background: var(--light); border-radius: var(--radius); padding: 24px; border-top: 5px solid var(--green); }
.kontaktbox h3 { margin-bottom: 6px; }

/* ---------- Unterseiten ---------- */
.subhero { background: var(--navy) center/cover no-repeat; color: #fff; padding: 56px 0 48px; position: relative; }
.subhero[style]::before { content: ""; position: absolute; inset: 0; background: rgba(7,0,58,.72); }
.subhero .wrap { position: relative; }
.subhero h1 { color: #fff; margin-bottom: 8px; }
.subhero .nr { color: var(--green); font-weight: 400; }
.subhero .lead { font-size: clamp(17px, 2vw, 21px); margin: 0; opacity: .95; }
.crumbs { font-size: 13px; opacity: .85; margin-bottom: 14px; }
.crumbs a { color: #fff; }
.beratung { background: var(--pastel-green); border-radius: var(--radius); padding: 24px; border-left: 6px solid var(--green); }
.beratung h2 { font-size: 20px; }
.beratung .btn { margin: 4px 6px 4px 0; }
.backlinks { font-size: 15px; }
.text ul li { margin-bottom: 4px; }
.zweispaltig { columns: 2; column-gap: 30px; }
@media (max-width: 560px) { .zweispaltig { columns: 1; } }
.sign { font-weight: 700; color: var(--navy); font-size: 18px; }
.hist img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hist figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* Produktkarten mit Details (Bandagen & Orthesen) */
.produkte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .produkte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .produkte { grid-template-columns: 1fr; } }
.produkt { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 8px rgba(7,0,58,.08); overflow: hidden; display: flex; flex-direction: column; }
.produkt .pic { height: 210px; display: flex; align-items: center; justify-content: center; padding: 16px; background: #fff; border-bottom: 1px solid var(--line); }
.produkt .pic img { max-height: 100%; width: auto; object-fit: contain; }
.pic-empty { background: var(--light); }
.produkt-body { padding: 16px 18px 18px; font-size: 14px; }
.produkt-body h3 { font-size: 18px; margin-bottom: 10px; }
.produkt-body h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 12px 0 4px; }
.produkt-body ul { padding-left: 18px; margin: 0 0 6px; }
.produkt-body .feature-list { color: var(--ink); }
.produkt-body .cost ul { list-style: none; padding: 0; }
.produkt-body .cost li { display: inline-block; background: var(--pastel-green); border-radius: 20px; padding: 2px 10px; margin: 2px 4px 2px 0; font-size: 13px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--green); }
.timeline li { position: relative; padding: 0 0 26px 28px; display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green); }
.timeline .jahr { font-weight: 700; color: var(--navy); }
.timeline h3 { font-size: 18px; margin-bottom: 4px; }
.timeline p { margin: 0; font-size: 15px; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Schritte, Downloads, Hersteller */
.schritte { list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0 36px; }
@media (max-width: 800px) { .schritte { grid-template-columns: 1fr; } }
.schritte li { counter-increment: s; background: var(--light); border-radius: var(--radius); padding: 20px 20px 20px 64px; position: relative; }
.schritte li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.schritte strong { display: block; color: var(--navy); margin-bottom: 4px; }
.schritte span { font-size: 15px; }
.downloads li { margin-bottom: 6px; }
.hersteller { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0 36px; }
@media (max-width: 700px) { .hersteller { grid-template-columns: 1fr; } }
.hersteller a { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--navy); font-weight: 700; }
.hersteller a:hover { border-color: var(--green); box-shadow: var(--shadow); }

.kontaktformular select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #bbb; border-radius: var(--radius); background: #fff; }
.kontaktformular input[type=file] { width: 100%; font: inherit; padding: 10px; border: 2px dashed #bbb; border-radius: var(--radius); background: var(--light); }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .feld-reihe { grid-template-columns: 1fr; } }
.schritte-vertikal { grid-template-columns: 1fr; }
.text > .beratung { margin-top: 20px; }

/* Rechtliches */
.legal { max-width: 860px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.daten { display: grid; grid-template-columns: 240px 1fr; gap: 6px 16px; margin: 0 0 1em; }
.daten dt { font-weight: 700; color: var(--navy); }
.daten dd { margin: 0; }
@media (max-width: 600px) { .daten { grid-template-columns: 1fr; gap: 0 0; } .daten dd { margin-bottom: 8px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 52px 0 24px; margin-top: 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--green); font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--green); }
.footer-logo { margin-bottom: 14px; border-radius: 50%; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { text-decoration: none; }
.slogan { color: var(--green); font-weight: 700; font-size: 18px; }
.social a { font-weight: 700; text-decoration: none; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 18px; font-size: 13px; opacity: .8; }

/* ---------- Druck ---------- */
@media print {
  .site-header, .site-footer, .hero, .band, .btn, .dots, .scroll-hint { display: none !important; }
  body { font-size: 12pt; }
}

/* Produktseiten: Inhalte direkt unter der Einleitung, Beratung am Seitenende */
.subhero { padding: 40px 0 34px; }
.produkt-intro { padding: 36px 0 28px; }
.produkt-intro .text { max-width: 900px; }
.produkt-intro .text p:last-child { margin-bottom: 0; }
.produkt-intro .intro-links { margin: 18px 0 0; }
.produkt-intro .intro-links .btn { margin: 4px 6px 4px 0; }
.produkt-intro + .section { padding-top: 44px; }
.produkt-beratung { padding-top: 48px; }
.produkt-beratung .beratung { margin-bottom: 28px; scroll-margin-top: 110px; }
#beratung { scroll-margin-top: 100px; }

/* Produktseiten kompakter: Buttons neben der Einleitung, Listen mehrspaltig */
.subhero { padding: 30px 0 26px; }
.produkt-intro { padding: 30px 0 26px; }
.produkt-intro .text ul { columns: 3 220px; column-gap: 32px; margin: 8px 0 12px; }
.produkt-intro .text li { break-inside: avoid; }
.produkt-intro + .section { padding-top: 36px; }
@media (min-width: 900px) {
  .produkt-intro .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
  .produkt-intro .text { max-width: none; }
  .produkt-intro .intro-links { margin: 4px 0 0; display: flex; flex-direction: column; gap: 8px; }
  .produkt-intro .intro-links .btn { margin: 0; text-align: center; white-space: nowrap; }
}
