/* Kobel Design – gemeinsames Stylesheet
   Akzentfarbe: Pantone 300 U = #006eb6 (unten bei --accent ändern) */

:root {
  --accent: #006eb6;
  --accent-dark: #005a96;
  --ink: #0f1a24;
  --text: #14202b;
  --muted: #47525d;
  --muted-2: #55616d;
  --line: #dde2e7;
  --bg-2: #f4f6f8;
  --bg-3: #eef1f4;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
a:focus-visible, button:focus-visible, .slider:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.12; text-wrap: balance; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--accent); padding: 12px 18px; z-index: 10;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; }
.section { padding: clamp(48px, 6vw, 96px) var(--gutter); }
.section.alt { background: var(--bg-2); }

.eyebrow {
  font-size: 15px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
h1 { font-size: clamp(34px, 5vw, 62px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; }
h3 { font-size: 24px; font-weight: 700; }
.lead { font-size: 20px; color: var(--muted); max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; font: inherit; font-size: 17px; font-weight: 600;
  background: var(--accent); color: #fff; border: 1.5px solid var(--accent); cursor: pointer;
}
.btn-outline { background: transparent; color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: #9aa5b0; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 16px; letter-spacing: .02em; }
.btn-white { background: #fff; color: var(--accent); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--accent); }

/* Kopfzeile */
.site-header { border-bottom: 1px solid var(--line); padding: 16px var(--gutter); background: #fff; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.logo {
  display: flex; align-items: baseline; gap: 10px; padding: 6px 0;
  font-weight: 700; font-size: 24px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.logo img { height: 46px; width: auto; }
.foot .logo img { height: 40px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav a:not(.btn) { font-size: 16px; font-weight: 500; color: #3a4651; padding: 12px 0; }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }

/* Seitenkopf */
.page-head { padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(24px, 3vw, 40px); }
.page-head .lead { margin-top: 20px; }
.page-head .lead + .lead { margin-top: 0; }

/* Faktenleiste */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; }
.fact { flex: 1 1 240px; padding: 24px 24px 24px 0; }
.fact strong { display: block; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.fact span { font-size: 16px; color: var(--muted-2); }

/* Hero-Bild */
.hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 60%; background: var(--bg-3); }

/* Galerie */
.gallery { columns: 3 320px; column-gap: 16px; }
.gallery a { display: block; margin: 0 0 16px; break-inside: avoid; background: var(--bg-3); }
.gallery img { width: 100%; }

/* Hochformat-Galerie */
.tall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; max-width: 900px; }
.tall figure:last-child { grid-column: 1 / -1; }
.tall figure { margin: 0; }
.tall img { width: 100%; background: var(--bg-3); }
.tall figcaption { font-size: 15px; color: var(--muted-2); padding-top: 8px; }

.clip { display: block; width: 100%; max-width: 340px; height: auto; aspect-ratio: 608 / 1080; background: var(--bg-3); margin: 0 auto; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; max-width: 900px; }
.duo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-3); }

/* Slider ohne JavaScript */
.slider {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  background: var(--bg-3); scrollbar-width: thin; scrollbar-color: var(--accent) var(--bg-3);
}
.slider img {
  flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 9; object-fit: contain;
  scroll-snap-align: start;
}
.slider-hint { font-size: 14px; color: var(--muted-2); padding: 8px 0 0; }

/* Produktkarten Panoramen */
.product { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); }
.product + .product { margin-top: 32px; }
.product-media { flex: 1 1 520px; min-width: 0; padding: 20px; }
.product-body { flex: 1 1 380px; min-width: 0; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.product-size { font-size: 16px; color: var(--muted-2); margin-top: 6px; }
.variants {
  flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px; padding: 0 clamp(20px, 3vw, 40px) clamp(24px, 3vw, 40px);
}
.variant { display: flex; flex-direction: column; gap: 4px; background: var(--bg-2); padding: 20px; }
.variant b { display: block; font-size: 17px; color: var(--ink); }
.variant small { font-size: 15px; color: var(--muted-2); }
.variant .stock { margin-top: 6px; font-size: 15px; font-weight: 700; color: #1d7448; }
.variant .stock::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #1d7448; margin-right: 8px; }
.variant .price { margin: 10px 0 14px; }
.variant .btn { margin-top: auto; }
.note { margin: 0; font-size: 15px; color: var(--muted-2); }
.price { font-size: 22px; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Schritte */
.steps { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 36px; }
.step { flex: 1 1 280px; min-width: 0; border-top: 3px solid var(--accent); padding-top: 20px; }
.step .num { font-weight: 700; font-size: 48px; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { font-size: 16px; color: var(--muted-2); margin: 0; }

/* Zwei Spalten */
.cols { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.cols > * { flex: 1 1 440px; min-width: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* Projektgalerie */
.projects { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.projects figure { flex: 1 1 260px; min-width: 0; margin: 0; }
.projects img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-3); }
.projects figcaption { font-size: 15px; color: var(--muted-2); padding-top: 8px; }

/* Dienstleistungs-Karten */
.cards { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.card {
  flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3vw, 40px); background: var(--bg-2); border-top: 4px solid var(--accent);
}
.card .num { font-weight: 700; font-size: 20px; letter-spacing: .12em; color: var(--accent); }
.card h2, .card h3 { font-size: 32px; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: #2c3742; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: "—"; color: var(--accent); }

/* Inhaltsseiten (Text mit Listen) */
.prose { max-width: 820px; }
.prose h2 { margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.defs { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.defs li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.defs strong { display: block; color: var(--ink); font-size: 19px; margin-bottom: 4px; }
.defs span { color: var(--muted); font-size: 17px; }

/* Kontaktband */
.band { background: var(--accent); color: #fff; padding: clamp(44px, 6vw, 84px) var(--gutter); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.band .txt { flex: 1 1 480px; min-width: 0; }
.band h2 { color: #fff; font-size: clamp(30px, 4vw, 50px); margin-bottom: 14px; }
.band p { margin: 0; font-size: 20px; max-width: 560px; }
.band .act { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.band .tel { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 20px; }

/* Fusszeile */
.site-footer { background: var(--bg-3); padding: clamp(40px, 5vw, 64px) var(--gutter) 28px; }
.foot { display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; }
.foot > div { flex: 1 1 220px; font-size: 16px; color: #2c3742; }
.foot .logo { padding: 0; margin-bottom: 12px; }
.foot a { display: flex; align-items: center; min-height: 44px; }
.foot .org { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.copy { border-top: 1px solid #d3d9df; margin-top: 40px; padding-top: 20px; font-size: 14px; color: var(--muted-2); }

/* Startseite */
.hero { padding: clamp(40px, 6vw, 88px) var(--gutter); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.hero-txt { flex: 1 1 420px; min-width: 0; }
.hero-txt h1 { margin-bottom: 22px; }
.hero-pic { flex: 1 1 480px; min-width: 0; }
.hero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-3); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 36px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-3); }
.tile-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.tile h3 { font-size: 24px; }
.tile p { margin: 0; font-size: 16px; color: var(--muted); }
.tile .link-arrow { margin-top: auto; padding-top: 8px; }
.more { margin-top: 28px; font-size: 16px; color: var(--muted); }
.more a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.contact-grid > * { flex: 1 1 340px; min-width: 0; }
.contact-grid h2 { font-size: 26px; margin-bottom: 14px; }
.contact-grid p { margin: 0 0 1.4em; }
.hours { margin: 0 0 1.4em; padding: 0; list-style: none; max-width: 420px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { text-align: right; }
.big-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 700; color: var(--accent); }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .product-media { padding: 12px; }
  .site-header { padding-top: 10px; padding-bottom: 6px; }
  .bar { gap: 0 16px; }
  .site-header .logo img { height: 38px; }
  .nav { gap: 0 6px; width: 100%; flex-wrap: nowrap; justify-content: space-between; }
  .nav a:not(.btn) { font-size: clamp(11px, 3.4vw, 14.5px); padding: 8px 0; white-space: nowrap; }
  .nav .btn { display: none; }
}
