/* =========================================================
   PROKAMIN – Website 2027
   Farben & Schrift laut Markenauftritt 2027
   Schrift: Plus Jakarta Sans (Ersatz für Gordita, lokal eingebunden – DSGVO-konform)
   ========================================================= */

@font-face { font-family: "PK Sans"; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PK Sans"; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "PK Sans"; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Markenfarben */
  --pk-rot: #FF2F2F;        /* Akzente, Bildmarke, Schlüsselwörter */
  --pk-dunkel: #320001;     /* Hauptfläche – nie reines Schwarz */
  --pk-weiss: #FFFFFF;      /* Wortmarke und Text auf Dunkel */
  --pk-stein: #DCDAD7;      /* Ruhiger Hintergrund, Nebentext */

  /* abgeleitete Töne */
  --pk-dunkel-2: #45070a;   /* etwas hellere Fläche auf Dunkel (Karten) */
  --pk-linie: rgba(255,255,255,.14);
  --pk-text-dim: #DCDAD7;   /* Nebentext auf Dunkel (Stein) – Kontrast 13:1 */

  --font: "PK Sans", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --sec: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--pk-weiss);
  background: var(--pk-dunkel);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Typografie (Headline Medium, -50 Laufweite) ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.05em; line-height: 1.04; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7.2vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.15; }
.hl { color: var(--pk-rot); }                 /* Hervorhebung nur über Farbe */
.eyebrow { display: inline-block; font-size: .875rem; font-weight: 500; letter-spacing: .02em; color: var(--pk-rot); margin-bottom: 18px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--pk-text-dim); max-width: 38ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px;
  font: 700 1.1875rem/1 var(--font); letter-spacing: -0.01em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--rot { background: var(--pk-rot); color: var(--pk-weiss); }
.btn--rot:hover { background: #ff4d4d; }
.btn--linie { border-color: rgba(255,255,255,.5); color: var(--pk-weiss); background: transparent; }
.btn--linie:hover { border-color: var(--pk-weiss); background: rgba(255,255,255,.06); }
.btn--dunkel { background: var(--pk-dunkel); color: var(--pk-weiss); }
.btn--dunkel:hover { background: var(--pk-dunkel-2); }
.btn:active { transform: translateY(1px); }
:focus-visible { outline: 3px solid var(--pk-rot); outline-offset: 3px; }
.sec--rot :focus-visible, .btn--rot:focus-visible { outline-color: var(--pk-weiss); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--pk-weiss); color: var(--pk-dunkel); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(50,0,1,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--pk-linie);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; }
.logo svg { width: 176px; height: auto; display: block; }
.pk-mark { fill: var(--pk-rot); }
.pk-word { fill: var(--pk-weiss); }
.pk-sub { fill: var(--pk-rot); font-family: var(--font); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--pk-text-dim); padding: 10px 0; transition: color .2s; }
.nav a:hover { color: var(--pk-weiss); }
.header .btn { min-height: 48px; padding: 10px 20px; font-size: 1rem; }
.header__tel { white-space: nowrap; }
.burger { display: none; width: 48px; height: 48px; background: none; border: 0; color: var(--pk-weiss); cursor: pointer; padding: 12px; }
.burger svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 44px 0 0; padding: 0; list-style: none; color: var(--pk-text-dim); font-size: .95rem; }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ""; width: 8px; height: 8px; background: var(--pk-rot); border-radius: 50%; flex: none; }
.hero__bild { position: relative; }
.hero__bild img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hero__bild::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 42%; height: 42%; border-right: 3px solid var(--pk-rot); border-bottom: 3px solid var(--pk-rot); pointer-events: none; }

/* große, angeschnittene Bildmarke als Hintergrundelement */
.watermark { position: absolute; pointer-events: none; opacity: .07; width: min(68vw, 820px); right: -22%; top: -18%; }
.watermark path { fill: var(--pk-rot); }

/* ---------- Notruf-Band (Rot) ---------- */
.sec--rot { background: var(--pk-rot); color: var(--pk-dunkel); position: relative; overflow: hidden; }
.notruf { padding: clamp(40px, 6vw, 72px) 0; }
.notruf__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; position: relative; z-index: 1; }
.notruf__frage { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.04em; margin: 0; line-height: 1.1; }
.notruf__frage small { display: block; font-size: 1rem; letter-spacing: 0; margin-top: 8px; }
.notruf__nr { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--pk-weiss); text-decoration: none; white-space: nowrap; }
.notruf__nr:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.sec--rot .watermark { opacity: .12; right: -8%; top: -60%; width: 520px; }
.sec--rot .watermark path { fill: var(--pk-dunkel); }

/* ---------- Sektionen allgemein ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--stein { background: var(--pk-stein); color: var(--pk-dunkel); }
.sec__kopf { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec__kopf p { color: var(--pk-text-dim); font-size: 1.15rem; max-width: 56ch; }
.sec--stein .sec__kopf p { color: var(--pk-dunkel); }
.sec--stein .eyebrow { color: var(--pk-dunkel); }

/* ---------- Hauptleistung Kaminschleifen ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--pk-dunkel-2); margin-bottom: clamp(56px, 8vw, 96px); }
.feature__bild img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.feature__text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.feature__badge { align-self: flex-start; background: var(--pk-rot); color: var(--pk-dunkel); font-weight: 700; font-size: .85rem; padding: 6px 12px; margin-bottom: 22px; letter-spacing: .02em; }
.feature__text p { color: var(--pk-text-dim); }
.checks { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--pk-rot); }

/* ---------- Leistungs-Raster ---------- */
.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--pk-linie); border: 1px solid var(--pk-linie); }
.leistung { background: var(--pk-dunkel); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; transition: background-color .25s var(--ease); }
.leistung:hover { background: var(--pk-dunkel-2); }
.leistung__nr { font-size: .9rem; font-weight: 700; color: var(--pk-rot); margin-bottom: 28px; }
.leistung h3 { margin-bottom: 14px; }
.leistung p { color: var(--pk-text-dim); margin: 0; font-size: 1rem; }

/* ---------- Warum Prokamin (Stein) ---------- */
.gruende { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
.grund { border-top: 3px solid var(--pk-dunkel); padding-top: 24px; }
.grund__icon { width: 44px; height: 44px; color: var(--pk-dunkel); margin-bottom: 18px; }
.grund h3 { margin-bottom: 10px; }
.grund p { margin: 0; font-size: 1rem; }

/* ---------- Einsatzgebiet (Bild-Band) ---------- */
.gebiet { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.gebiet__bg { position: absolute; inset: 0; }
.gebiet__bg img { width: 100%; height: 100%; object-fit: cover; }
.gebiet__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(50,0,1,.15) 0%, rgba(50,0,1,.55) 45%, rgba(50,0,1,.96) 100%); }
.gebiet .wrap { position: relative; z-index: 1; padding-block: var(--sec) clamp(48px, 7vw, 88px); }
.regionen { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.regionen li { border: 1px solid rgba(255,255,255,.5); padding: 10px 18px; font-weight: 500; background: rgba(50,0,1,.4); }

/* ---------- Über uns ---------- */
.ueber { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.ueber__bild img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ueber__text p { color: var(--pk-text-dim); }
.zitat { margin: 36px 0 0; padding: 0 0 0 24px; border-left: 3px solid var(--pk-rot); }
.zitat p { color: var(--pk-weiss); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; margin-bottom: 14px; }
.zitat cite { font-style: normal; color: var(--pk-text-dim); font-size: .95rem; }
.zitat cite strong { color: var(--pk-weiss); font-weight: 700; }

/* ---------- Ablauf ---------- */
.ablauf { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: s; }
.schritt { counter-increment: s; position: relative; padding-top: 28px; border-top: 3px solid var(--pk-dunkel); }
.schritt::before { content: "0" counter(s); display: block; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--pk-dunkel); margin-bottom: 18px; }
.schritt h3 { margin-bottom: 10px; }
.schritt p { margin: 0; }

/* ---------- CTA-Band ---------- */
.cta { padding: clamp(56px, 8vw, 104px) 0; }
.cta__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta h2 { margin: 0; max-width: 16ch; }
.cta .btn--dunkel { min-height: 60px; }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 88px); }
.kontakt__liste { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.kontakt__liste li { display: flex; gap: 16px; }
.kontakt__liste svg { width: 24px; height: 24px; color: var(--pk-rot); flex: none; margin-top: 3px; }
.kontakt__liste span { display: block; font-size: .875rem; color: var(--pk-text-dim); }
.kontakt__liste a, .kontakt__liste address { font-style: normal; font-size: 1.15rem; font-weight: 500; text-decoration: none; }
.kontakt__liste a:hover { color: var(--pk-rot); }

.form { background: var(--pk-dunkel-2); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feld { display: flex; flex-direction: column; gap: 8px; }
.feld--voll { grid-column: 1 / -1; }
.feld label { font-size: .95rem; font-weight: 500; }
.feld label .opt { color: var(--pk-text-dim); font-weight: 400; }
.feld input, .feld select, .feld textarea {
  font: 400 1rem/1.4 var(--font); color: var(--pk-weiss);
  background: var(--pk-dunkel); border: 1px solid rgba(255,255,255,.28); border-radius: 0;
  padding: 14px 16px; min-height: 52px; width: 100%;
  transition: border-color .2s;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23DCDAD7' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--pk-rot); outline: none; box-shadow: 0 0 0 1px var(--pk-rot); }
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: var(--pk-rot); }
.fehler { color: #ff8a8a; font-size: .875rem; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--pk-text-dim); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--pk-rot); flex: none; }
.form .btn { justify-self: start; }
.form__hinweis { grid-column: 1 / -1; font-size: .875rem; color: var(--pk-text-dim); margin: 0; }
.form__status { grid-column: 1 / -1; margin: 0; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--pk-linie); padding: 56px 0 40px; font-size: .95rem; color: var(--pk-text-dim); }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .logo svg { width: 160px; }
.footer h4 { color: var(--pk-weiss); font-size: 1rem; font-weight: 700; margin: 0 0 14px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--pk-weiss); }
.footer__unten { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--pk-linie); font-size: .875rem; }

/* ---------- Mobile Anruf-Leiste ---------- */
.callbar { display: none; }

/* ---------- Rechtliches (Unterseiten) ---------- */
.recht { padding: clamp(48px, 8vw, 96px) 0 var(--sec); }
.recht .wrap { max-width: 820px; }
.recht h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
.recht h2 { font-size: 1.5rem; letter-spacing: -0.03em; margin-top: 2em; }
.recht p, .recht li { color: var(--pk-text-dim); }
.offen { background: rgba(255,47,47,.14); border: 1px dashed var(--pk-rot); padding: 2px 6px; color: var(--pk-weiss); }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.ist-sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .leistungen { grid-template-columns: repeat(2, 1fr); }
  .gruende { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--pk-dunkel); border-bottom: 1px solid var(--pk-linie); padding: 8px var(--pad) 24px;
    transform: translateY(-120%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
  }
  .nav.ist-offen { transform: none; visibility: visible; }
  .nav a { padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--pk-linie); }
  .nav .btn { margin-top: 20px; }
  .hero__grid, .feature, .ueber, .kontakt { grid-template-columns: 1fr; }
  .hero__bild { max-width: 520px; }
  .hero__bild::after { inset: auto -8px -8px auto; }
  .ablauf { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__in > :first-child { grid-column: 1 / -1; }
  body { padding-bottom: 72px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 60;
    border-top: 1px solid var(--pk-linie);
  }
  .callbar a { min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; text-decoration: none; }
  .callbar a:first-child { background: var(--pk-rot); color: var(--pk-dunkel); }
  .callbar a:last-child { background: var(--pk-dunkel); color: var(--pk-weiss); }
  .callbar svg { width: 20px; height: 20px; }
}
@media (max-width: 620px) {
  .leistungen, .gruende { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .header__tel { display: none; }
  .logo svg { width: 150px; }
  .gebiet { min-height: 480px; }
  .footer__in { grid-template-columns: 1fr; }
}
