/* Gestaltung: ein Brief an Heizungsbauer. Einziges Schmuckelement ist die
   Vorlauf-/Rücklauf-Leitung am linken Rand (.flow-line), angelehnt an ein Hydraulikschema. */
:root {
  --ink: #f3f5e9;
  --navy: #171d0e;
  --petrol: #d9ff53;
  --petrol-dark: #e9ff9e;
  --paper: #080a05;
  --sheet: #12160c;
  --sun: #d9ff53;
  --muted: #c3cbb3;
  --line: #485236;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  --gutter: clamp(20px, 6vw, 96px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
img, svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.35; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }
::selection { background: #d9ff53; color: #141906; }
.shell { width: min(1120px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: -100px; left: 20px; padding: 10px 18px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; }

/* Leitung: gelb = Vorlauf, petrol = Rücklauf */
main { position: relative; }
main::before, main::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; border-radius: 3px; pointer-events: none; }
main::before { left: calc(var(--gutter) / 2 - 5px); background: var(--sun); }
main::after { left: calc(var(--gutter) / 2 + 4px); background: var(--petrol); opacity: .55; }

/* Einstieg */
.hero { --stage-accent: #d9ff53; text-align: center; color: #fff; background: #080a05; padding-bottom: clamp(36px, 6vw, 76px); }
.hero-stage { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; min-height: 200px; padding: clamp(16px, 3vw, 36px) 20px 0; background: radial-gradient(ellipse at 50% 15%, #424d18 0%, #151b08 48%, #080a05 78%); }
.stage-lines { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; color: #bce14b; opacity: .44; filter: drop-shadow(0 0 9px #bce14b); }
.hero-sender { width: min(100%, clamp(165px, 28vw, 350px)); margin: 0; }
.hero-sender img { width: 100%; height: auto; border-radius: 18px; border: 1px solid #c9e45e55; }
.hero-sender figcaption { position: relative; margin: -22px auto 0; width: fit-content; padding: 4px 12px; border-radius: 999px; background: #131808; border: 1px solid #839746; font-size: 14px; font-weight: 700; }
.hero-sender figcaption span { color: #d1d9b2; font-weight: 400; }
.audience { display: inline-block; margin: 18px 0 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid #7d9142; color: #e1efb0; font-size: 14px; font-weight: 600; }
.hero h1 { max-width: 24ch; margin: 0 auto 12px; font: 750 clamp(32px, 4.8vw, 64px)/1.04 var(--sans); letter-spacing: -.045em; }
.hero h1 em { color: var(--stage-accent); font-style: normal; }
.hero-description { max-width: 60ch; margin: 0 auto 20px; font-size: clamp(15px, 1.6vw, 19px); color: #e4e7dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.hero .button-primary { width: min(100%, 405px); border-radius: 999px; background: var(--stage-accent); color: #141906; box-shadow: 0 0 24px #c4ff4055; }
.hero .button-primary:hover { background: #e9ff9e; }
.hero .button-primary:focus-visible { outline-color: #fff; }
.hero + .feedback-section { padding-top: clamp(40px, 7vw, 88px); }
.hero ~ .feedback-section .button-primary { border-radius: 999px; }

/* Buttons und Links */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 6px; border: 1.5px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.button-primary { background: var(--petrol); color: #141906; }
.button-primary:hover { background: var(--petrol-dark); }
.button-large { min-height: 56px; padding-inline: 30px; font-size: 17px; }
.feedback-copy { background: var(--sheet); border-color: #748456; color: var(--ink); }
.feedback-copy:hover { border-color: var(--navy); }
.button-sun { background: var(--sun); color: var(--navy); }
.button-sun:hover { background: #e9ff9e; }
.button-light { background: transparent; border-color: #748456; color: #fff; }
.button-light:hover { background: #ffffff14; border-color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--petrol); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--petrol); }

.section-intro { margin-bottom: 10px; color: var(--petrol); font-size: 15px; font-weight: 600; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin-bottom: 20px; }

/* Antwortformular */
.feedback-section { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-block: 24px clamp(64px, 9vw, 112px); }
.feedback-intro { position: sticky; top: 32px; }
.feedback-intro p { max-width: 38ch; color: var(--muted); }
.feedback-intro a { color: var(--petrol); font-weight: 600; }
.quick-reply { padding: 14px 16px; border-left: 3px solid var(--sun); background: #242e16; color: var(--ink) !important; font-size: 15px; }
.feedback-form { background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px #f3f5e955; }
.feedback-form > label, #feedback-manual label { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.3; }
.feedback-form > label[for="feedback-company"] { margin-top: 28px; font-size: 17px; }
.feedback-form label span { margin-left: 6px; font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--muted); }
#feedback-hint { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.feedback-form textarea, .feedback-form input[type="text"] { display: block; width: 100%; border: 1.5px solid #748456; border-radius: 4px; background: #090c06; padding: 12px 14px; font-size: 17px; line-height: 1.55; }
.feedback-form textarea { min-height: 150px; resize: vertical; }
.feedback-form textarea:focus, .feedback-form input[type="text"]:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px #d9ff5333; background: #fff; }
.feedback-choices { margin: 28px 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); }
.feedback-choices legend { padding: 0; margin-bottom: 12px; font-weight: 600; }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--petrol); background: #283719; }
.choice input { accent-color: var(--petrol); width: 18px; height: 18px; margin: 0; }
.feedback-choices > p { font-size: 14px; color: var(--muted); margin: 0; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.feedback-note { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
#feedback-status { font-weight: 600; color: var(--petrol); }
#feedback-status:empty { display: none; }
#feedback-manual { margin-top: 16px; }

/* Über mich */
.about-section { padding-block: clamp(64px, 9vw, 112px); background: var(--sheet); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder-note { position: relative; padding: 48px 36px 96px; background: var(--paper); border: 1px solid var(--line); transform: rotate(-1.5deg); }
.note-pin { position: absolute; top: -10px; left: calc(50% - 10px); width: 20px; height: 20px; border-radius: 50%; background: var(--sun); box-shadow: 0 2px 0 #b98d2f; }
.founder-note > p { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; color: var(--navy); margin-bottom: 28px; }
.note-signature { font-weight: 600; }
.note-signature > span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.note-sketch { position: absolute; bottom: 20px; right: 24px; width: 130px; fill: none; stroke: var(--petrol); stroke-width: 2; stroke-linecap: round; opacity: .7; }
.about-copy > p:not(.section-intro) { max-width: 36em; color: var(--muted); }

/* Gespräch */
.contact-section { background: var(--navy); color: #fff; padding-block: clamp(64px, 9vw, 112px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.contact-section h2 { font-size: clamp(34px, 4.6vw, 56px); }
.contact-grid > div:first-child > p { max-width: 36em; color: #d8dfca; margin-bottom: 30px; }
.contact-options { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-person { padding: 28px; border: 1px solid #ffffff2a; border-radius: 6px; }
.person-monogram { position: relative; width: 112px; margin-bottom: 18px; }
.person-monogram img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.person-monogram > span { position: absolute; right: 4px; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); border: 3px solid var(--navy); }
.contact-person h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 2px; }
.contact-person > p { font-size: 15px; color: #c3cbb3; margin-bottom: 18px; }
.contact-detail { display: flex; gap: 12px; align-items: center; min-height: 40px; text-decoration: none; font-size: 16px; }
.contact-detail svg { width: 18px; height: 18px; fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linejoin: round; }
.contact-detail:hover span { text-decoration: underline; }
.copy-email { min-height: 44px; padding: 0; margin-top: 4px; background: transparent; border: 0; color: #d9ff53; font-size: 14px; text-decoration: underline; }
.copy-status { display: block; min-height: 20px; font-size: 14px; color: var(--sun); }

/* Fragen */
.faq-section { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 88px); padding-block: clamp(64px, 9vw, 104px); }
.faq-section > h2 { font-size: clamp(28px, 3vw, 36px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; padding: 20px 40px 20px 0; cursor: pointer; font-weight: 600; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { position: absolute; right: 4px; top: 14px; font-size: 26px; color: var(--petrol); transition: transform .2s ease; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details p { max-width: 38em; color: var(--muted); padding-bottom: 8px; }

/* Fuß und Dialoge */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; font-size: 14px; }
.footer-name { text-decoration: none; font-weight: 600; }
.footer-name > span { display: block; color: var(--muted); font-weight: 400; }
.footer-inner > p { margin: 0; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links button { min-height: 44px; padding: 0; background: transparent; border: 0; color: var(--muted); font-size: 14px; }
.footer-links button:hover { color: var(--ink); text-decoration: underline; }
dialog { width: calc(100% - 40px); max-width: 600px; max-height: 85vh; padding: 0; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
dialog::backdrop { background: #000b; }
.dialog-inner { position: relative; padding: 44px 36px 28px; font-size: 15px; }
.dialog-inner h2 { font-size: 30px; }
.dialog-inner h3 { font-size: 17px; margin: 22px 0 6px; }
.dialog-close { position: absolute; right: 12px; top: 8px; width: 44px; height: 44px; background: transparent; border: 0; color: var(--muted); font-size: 28px; line-height: 1; }
.noscript-note { margin: 0; padding: 16px var(--gutter); background: #242e16; }

@media (max-width: 860px) {
  .feedback-section, .about-grid, .contact-grid, .faq-section { grid-template-columns: 1fr; }
  .feedback-intro { position: static; }
  .founder-note { max-width: 420px; }
  .footer-inner > p { display: none; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  main::before, main::after { display: none; }
  .hero-actions .button, .feedback-actions .button, .contact-options .button { width: 100%; }
  .feedback-form { padding: 22px 18px; margin-inline: -8px; }
  .founder-note { padding: 40px 26px 88px; }
  .dialog-inner { padding: 44px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.feedback-more { margin-block: 12px; }
.feedback-more summary { cursor: pointer; padding-block: 8px; }
.about-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }

.problem-fields { display: grid; gap: 14px; margin-bottom: 22px; }
.problem-fields label { display: block; font-weight: 700; margin-bottom: 6px; }
.feedback-form .problem-fields textarea { min-height: 78px; scroll-margin: 20px; }
.feedback-form .problem-fields textarea:focus { background: var(--sheet); }
.problem-next { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--petrol); text-decoration: underline; cursor: pointer; }

.feedback-keyboard-hint { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.feedback-form .feedback-submit { display: flex; width: 100%; min-height: 64px; margin: 24px 0 12px; font-size: 21px; font-weight: 700; border-radius: 999px; }
.feedback-submit:disabled { opacity: .65; cursor: wait; }
#feedback-status[data-state="error"] { color: #ffb8a6; }

.intro-video { margin-top: 28px; scroll-margin-top: 24px; }
.intro-video h3 { font-size: 21px; }
.video-player { width: 100%; aspect-ratio: 16 / 9; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-load { display: grid; place-items: center; position: relative; width: 100%; height: 100%; padding: 0; background: #131808; border: 0; }
.video-load img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 28%; opacity: .6; }
.video-play-icon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; padding-left: 4px; border-radius: 50%; background: var(--sun); color: #141906; font-size: 23px; }
.video-load-label { position: absolute; inset: auto 0 0; padding: 9px; background: #080a05e8; color: var(--ink); font-size: 14px; font-weight: 600; }
.intro-video .video-note { font-size: 13px; line-height: 1.5; margin: 12px 0 4px; }
.intro-video > .text-link { font-size: 14px; }

.video-load { text-decoration: none; color: var(--ink); }
