/* Roland Püllen GmbH – Webseite
   Farben aus dem Logo: Rot + Graphit, warmes Weiß als Grund */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-700.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --rot: #C8001A;
  --rot-dunkel: #A30016;
  --rot-hell: #FF8A8A;
  --graphit: #1C1F24;
  --graphit-2: #2A2E35;
  --grund: #F6F4F0;
  --weiss: #FFFFFF;
  --linie: #E3DED6;
  --linie-2: #ECE8E1;
  --text: #1C1F24;
  --text-2: #3F444B;
  --text-3: #5A5F66;
  --gruen: #1C7C4A;
  --radius: 14px;
  --max: 1200px;
  --display: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.55; color: var(--text); background: var(--grund); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--weiss); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--weiss { background: var(--weiss); }
.section--dunkel { background: var(--graphit); color: #F6F4F0; }
.section--dunkel a:not(.btn) { color: #FFFFFF; }
.kicker { display: block; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rot); margin-bottom: 12px; }
.section--dunkel .kicker { color: var(--rot-hell); }
.lead { font-size: 20px; color: var(--text-2); max-width: 720px; }
.section--dunkel .lead { color: #D6D2CA; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stack > * + * { margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 8px; border: 2px solid transparent; font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer; }
.btn svg { width: 18px; height: 18px; flex: none; color: inherit; }
.btn--rot { background: var(--rot); color: #FFFFFF; }
.btn--rot:hover { background: var(--rot-dunkel); color: #FFFFFF; }
.btn--rahmen { border-color: var(--graphit); color: var(--graphit); background: transparent; }
.btn--rahmen:hover { background: var(--graphit); color: #FFFFFF; }
.btn--weiss { background: #FFFFFF; color: var(--graphit); }
.btn--weiss:hover { background: var(--grund); color: var(--graphit); }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 14px; }
.pfeil-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.pfeil-link svg { width: 18px; height: 18px; }

/* Notdienst-Leiste */
.topbar { background: var(--graphit); color: #F6F4F0; font-size: 15px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.topbar a { color: #FFFFFF; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.topbar a { white-space: nowrap; }
.topbar .badge { background: var(--rot); padding: 3px 9px; border-radius: 4px; font-size: 12px; letter-spacing: .05em; }
.topbar .kurz { display: none; }
.topbar .zeiten { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; }

/* Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 50; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--graphit); }
.marke img { width: 56px; height: 58px; }
.marke b { display: block; font-family: var(--display); font-weight: 800; font-size: 19px; }
.marke span { display: block; font-size: 14px; color: var(--text-3); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { position: relative; }
.nav a.nav-link { display: block; padding: 12px 14px; color: var(--graphit); text-decoration: none; font-weight: 600; font-size: 17px; border-radius: 6px; }
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"], .nav li.aktiv > a.nav-link { color: var(--rot); }
.nav .unter { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 10px; box-shadow: 0 12px 30px rgba(28, 31, 36, .12); }
.nav li:hover > .unter, .nav li:focus-within > .unter { display: block; }
.nav .unter a { display: block; padding: 10px 12px; color: var(--graphit); text-decoration: none; border-radius: 6px; font-size: 16px; }
.nav .unter a:hover { background: var(--grund); color: var(--rot); }
.kopf .anruf { flex: none; }
.menue-knopf { display: none; width: 48px; height: 48px; border: 1px solid var(--linie); border-radius: 8px; background: var(--weiss); color: var(--graphit); cursor: pointer; }
.menue-knopf svg { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--weiss); padding: 72px 0 80px; }
.hero > .wrap { position: relative; z-index: 1; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero .btn--rahmen:not(:hover) { background: var(--weiss); }
.hero--foto::before { background: url(../img/bilder/vm-hero-winter-1600.jpg) center 45% / cover no-repeat; opacity: .45; }
@media (min-width: 1700px) { .hero--foto::before { background-image: url(../img/bilder/vm-hero-winter-2400.jpg); } }
@media (max-width: 700px) { .hero--foto::before { background-image: url(../img/bilder/vm-hero-winter-800.jpg); } }
.hero--foto .lead, .hero--foto .vertrauen { color: var(--graphit); text-shadow: 0 0 3px #FFFFFF, 0 0 8px #FFFFFF, 0 0 14px #FFFFFF; }
.hero--foto .vertrauen { font-weight: 600; }
.hero > .bildquelle { position: absolute; right: 14px; bottom: 8px; z-index: 1; font-size: 11px; color: var(--graphit); text-shadow: 0 0 3px #FFFFFF, 0 0 6px #FFFFFF; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; }
.hero-karte { position: relative; border-radius: 18px; background: var(--graphit); color: #F6F4F0; padding: 40px; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.hero-karte .zeichen { position: absolute; right: -40px; top: -30px; width: 360px; opacity: .1; }
.hero-karte .hintergrund { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-karte:has(.hintergrund) .zeichen { display: none; }
.hero-karte:has(.hintergrund)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,31,36,0) 0%, rgba(28,31,36,.1) 22%, rgba(28,31,36,.82) 48%, rgba(28,31,36,.95) 100%); }
.hero-karte > :not(.hintergrund):not(.zeichen) { position: relative; z-index: 1; }
.bild { margin: 0 0 28px; }
.bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: var(--linie-2); }
.bild figcaption { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.hero-karte .bildquelle { position: absolute; right: 12px; top: 10px; z-index: 1; font-size: 11px; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.6); }

/* Videos (2-Klick) */
.video { margin: 0 0 28px; }
.video-rahmen { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--graphit); }
.video-rahmen img, .video-rahmen iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-rahmen img { opacity: .6; }
.video-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; background: transparent; color: #FFFFFF; font: 700 17px var(--body); cursor: pointer; }
.video-start .icon { width: 72px; height: 72px; padding: 18px 16px 18px 20px; border-radius: 50%; background: var(--rot); color: #FFFFFF; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.video-start:hover .icon, .video-start:focus-visible .icon { background: var(--rot-dunkel); transform: scale(1.05); }
.video figcaption { font-size: 15px; color: var(--text-2); margin-top: 8px; }
.hinweis-klein { font-size: 13px; color: var(--text-3); }

/* Haeufige Fragen */
.faq-gruppe { margin-bottom: 40px; }
.faq { background: var(--weiss); border: 1px solid var(--linie); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 700 26px/1 var(--display); color: var(--rot); }
.faq[open] summary::after { content: "–"; }
.faq .antwort { padding: 0 22px 18px; color: var(--text-2); }
.faq .antwort p:last-child { margin-bottom: 0; }
.hero-karte h2 { font-size: 30px; margin: 0; }
.hero-karte p { margin: 0; color: #D6D2CA; }
.hero-karte .kicker { color: var(--rot-hell); margin: 0; }
.hero-karte .pfeil-link { color: #FFFFFF; }
.vertrauen { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: 16px; color: var(--text-2); list-style: none; padding: 0; }
.vertrauen li { display: inline-flex; align-items: center; gap: 8px; }
.vertrauen svg { width: 18px; height: 18px; color: var(--gruen); flex: none; }

/* Seitenkopf Unterseiten */
.seitenkopf { background: var(--weiss); padding: 56px 0 48px; border-bottom: 1px solid var(--linie); }
.brotkrumen { font-size: 15px; color: var(--text-3); margin-bottom: 14px; }
.brotkrumen a { color: var(--text-3); text-decoration: none; }
.brotkrumen a:hover { color: var(--rot); }

/* Karten */
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.karte h3 { margin: 0; }
.karte p { margin: 0; color: var(--text-2); }
.karte .pfeil-link { margin-top: auto; padding-top: 8px; }
.karte--rot { background: var(--rot); border-color: var(--rot); color: #FFFFFF; }
.karte--rot p { color: #FFFFFF; }
.karte--rot a { color: #FFFFFF; }
.karte--rot a.btn--weiss, .band a.btn--weiss { color: var(--graphit); }
.karte--dunkel { background: var(--graphit-2); border-color: var(--graphit-2); color: #F6F4F0; }
.karte--dunkel p { color: #C9C4BB; }
.icon { width: 36px; height: 36px; color: var(--rot); flex: none; }
.karte--rot .icon { color: #FFFFFF; }
.karte--dunkel .icon { color: var(--rot-hell); }
.gross-nummer { font-family: var(--display); font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; }

/* Leistungslisten */
.liste-karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px 36px; }
.liste-karte h3 { margin-bottom: 12px; }
.leistung { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--linie-2); text-decoration: none; color: var(--graphit); }
.leistung .icon { width: 28px; height: 28px; }
.leistung b { display: block; font-size: 19px; }
.leistung span { display: block; font-size: 16px; color: var(--text-3); }
.leistung .weiter { width: 20px; height: 20px; color: #8A8E94; margin-left: auto; flex: none; }
.leistung:hover b { color: var(--rot); }

/* Inhaltsseiten */
.inhalt { max-width: 820px; }
.inhalt h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.4em; }
.inhalt h3 { margin-top: 1.2em; }
.inhalt li { margin-bottom: .4em; }
.seitenraster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.seitenleiste { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.hinweis { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px 28px; }
.schritte { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
.schritte li { counter-increment: s; background: var(--weiss); border: 1px solid var(--linie); border-radius: 12px; padding: 20px 24px 20px 72px; position: relative; }
.schritte li::before { content: counter(s); position: absolute; left: 22px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--rot); color: #FFFFFF; font: 800 18px/34px var(--display); text-align: center; }
.check-liste { list-style: none; padding: 0; }
.check-liste li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.check-liste li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 9px; border-left: 3px solid var(--gruen); border-bottom: 3px solid var(--gruen); transform: rotate(-45deg); }
table.tabelle { width: 100%; border-collapse: collapse; background: var(--weiss); border-radius: 12px; overflow: hidden; border: 1px solid var(--linie); margin-bottom: 1em; }
.tabelle th, .tabelle td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--linie-2); vertical-align: top; }
.tabelle th { background: var(--grund); font-weight: 700; }

/* Kundenstimmen */
.stimmen { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; background: var(--weiss); border: 1px solid var(--linie); border-radius: 18px; padding: 48px; }
.stimmen-wertung { text-align: center; padding: 28px; background: var(--grund); border-radius: 14px; }
.wertung-zahl { font: 800 64px/1 var(--display); color: var(--graphit); }
.wertung-zahl span { font-size: 22px; color: var(--text-3); }
.sterne { display: inline-flex; gap: 4px; margin: 12px 0 6px; color: #E0A100; }
.sterne .icon { width: 28px; height: 28px; color: #E0A100; }
.sterne .stern-teil { position: relative; display: inline-block; width: 28px; height: 28px; color: #D9D4CB; }
.sterne .stern-teil .icon { color: #D9D4CB; }
.sterne .stern-teil::after { content: ""; position: absolute; inset: 0; width: 30%; overflow: hidden; background: linear-gradient(#E0A100, #E0A100); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") left / 28px 28px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") left / 28px 28px no-repeat; }
.stimmen-wertung p { margin: 0; color: var(--text-2); }
.lob-liste { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 20px 0 28px; }
.lob-liste li { display: flex; gap: 10px; align-items: flex-start; }
.lob-liste .icon { width: 22px; height: 22px; color: var(--gruen); margin-top: 3px; }

/* Einzugsgebiet */
.gebiet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.orte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.orte li { display: flex; align-items: center; gap: 10px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.orte li.heim { grid-column: 1 / -1; background: var(--graphit); border-color: var(--graphit); color: #FFFFFF; }
.orte .icon { width: 22px; height: 22px; }
.orte li.heim .icon { color: var(--rot-hell); }

/* Aktuelles */
.teaser { text-decoration: none; color: inherit; }
.teaser:hover h3 { color: var(--rot); }
.datum { display: block; font-size: 15px; font-weight: 700; color: var(--text-3); letter-spacing: .02em; margin-bottom: 6px; }
.seitenkopf .datum { margin-bottom: 10px; }

/* Kunden-Login in der Leiste */
.topbar .portal-link { margin-left: auto; margin-right: 24px; font-weight: 600; }
.topbar .portal-link svg { width: 16px; height: 16px; }

/* Band */
.band { background: var(--rot); color: #FFFFFF; border-radius: 18px; padding: 48px 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.band h2 { margin: 0 0 8px; }
.band p { margin: 0; }

/* Formular */
.formular { background: var(--weiss); border: 1px solid var(--linie); border-radius: 18px; padding: 36px; display: grid; gap: 16px; }
.formular .zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.formular label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; }
.formular input[type=text], .formular input[type=tel], .formular input[type=email], .formular select, .formular textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #C9C4BB; border-radius: 8px; font: 400 17px var(--body); color: var(--text); background: #FFFFFF; }
.formular textarea { min-height: 140px; resize: vertical; }
.formular .zustimmung { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--text-2); }
.formular .zustimmung input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.formular .falle { position: absolute; left: -9999px; }
.meldung { padding: 16px 20px; border-radius: 10px; font-weight: 600; }
.meldung--ok { background: #E6F4EC; color: #155D38; }
.meldung--fehler { background: #FBE9EB; color: #8A0012; }

.kontakt-liste { list-style: none; padding: 0; display: grid; gap: 18px; }
.kontakt-liste li { display: flex; gap: 14px; align-items: flex-start; }
.kontakt-liste .icon { width: 24px; height: 24px; margin-top: 3px; }

/* Einbettungen (Heizungsrechner usw.) */
.einbettung { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px; min-height: 200px; }

/* Fuss */
.fuss { background: var(--graphit); color: #C9C4BB; font-size: 16px; padding: 56px 0 32px; }
.fuss a { color: #C9C4BB; text-decoration: none; }
.fuss a:hover { color: #FFFFFF; }
.fuss .spalten { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.fuss b { color: #FFFFFF; display: block; margin-bottom: 10px; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fuss .unten { border-top: 1px solid #3A3F47; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; }

/* Responsive */
@media (max-width: 1080px) {
  .kopf .anruf span { display: none; }
  .nav a.nav-link { padding: 12px 10px; font-size: 16px; }
}
@media (max-width: 960px) {
  body { font-size: 17px; }
  .section { padding: 56px 0; }
  .grid-2, .seitenraster { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .seitenleiste { position: static; }
  .menue-knopf { display: inline-flex; align-items: center; justify-content: center; }
  .kopf .anruf { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--weiss); border-bottom: 1px solid var(--linie); padding: 8px 20px 20px; max-height: calc(100vh - 140px); overflow: auto; }
  .nav.offen { display: block; }
  .nav > ul { flex-direction: column; }
  .nav .unter { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; }
  .band { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .fuss .spalten { grid-template-columns: 1fr 1fr; }
  .hero { padding: 40px 0 48px; }
  .hero-karte { min-height: 0; padding: 28px; }  .topbar .zeiten { display: none; }
  .stimmen, .gebiet { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; }
  .gebiet { padding: 0; }
  .lob-liste { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; }
}
@media (max-width: 560px) {
  .formular { padding: 22px 18px; }
  .formular .zwei { grid-template-columns: 1fr; }
  .fuss .spalten { grid-template-columns: 1fr; }
  .karte, .liste-karte { padding: 24px 20px; }
  .marke b { font-size: 17px; }
  .marke > span > span { display: none; }
  .topbar .lang { display: none; }
  .topbar .portal-link { margin-right: 14px; font-size: 14px; }
  .topbar .kurz { display: inline; }
  .btn { width: 100%; justify-content: center; }
}
