/* KNX-home – Homepage 2027 (Gold/Schwarz) */

/* Schriften lokal eingebunden (keine Verbindung zu Google, DSGVO-freundlich) */
@font-face { font-family: 'Sora'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/sora-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/sora-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/manrope-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/manrope-latin-700-normal.woff2') format('woff2'); }
:root {
  --bg: #111110;
  --surface: #1C1B19;
  --line: #33302B;
  --line-strong: #5A554C;
  --text: #F2EEE6;
  --muted: #B5ADA0;
  --dim: #8C857A;
  --accent: #D4AF72;
  --accent-hover: #E8CB98;
  --light-bg: #F3EFE7;
  --light-surface: #E6DFD2;
  --light-text: #1C1B19;
  --light-muted: #5C564C;
  --light-accent: #7A5A22;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --wrap: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.eyebrow {
  font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}

h1, h2, h3 { margin: 0; }
p { margin: 0; }

.h-display {
  font-family: var(--font-display); font-weight: 300; letter-spacing: -0.03em;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.1;
}
.h-display strong, .hero h1 strong { font-weight: 600; color: var(--accent); }

.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); }
.btn-outline { min-height: 44px; padding: 0 20px; font-size: 15px; border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--bg); }
.btn-ghost { color: var(--text); font-weight: 500; padding: 0 22px; }
.btn-ghost:hover { color: var(--accent); }
.btn-dark { background: var(--light-text); color: var(--light-bg); min-height: 54px; padding: 0 28px; }
.btn-dark:hover { background: #000; color: var(--light-bg); }

/* Header */
.site-header .wrap {
  padding-top: 22px; padding-bottom: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 48px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.brand-name span { color: var(--accent); }
.brand-sub { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.main-nav a { color: var(--text); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 32px; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 6.4vw, 72px); line-height: 1.05; letter-spacing: -0.035em;
}
.hero-lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-logo { flex: 1 1 320px; max-width: 420px; width: 100%; height: auto; }

.placeholder {
  border-radius: 24px; background: var(--surface); border: 1px dashed #4A463F;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 15px; text-align: center; padding: 24px;
}
.hero-photo { margin-top: 32px; aspect-ratio: 21 / 9; }

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.band { background: var(--surface); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }

/* Tagesablauf */
.day-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px; background: var(--line); border-radius: 20px; overflow: hidden;
}
.day-card { background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.day-time { font-family: var(--font-display); font-size: 40px; color: var(--accent); line-height: 1.2; }
.day-card h3, .feature h3 { font-size: 20px; font-weight: 600; }
.day-card p, .feature p { font-size: 15px; color: var(--muted); }

/* Warum KNX */
.offen-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.offen-head p { max-width: 680px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature { padding: 32px; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 12px; }
.feature svg { color: var(--accent); }
.brands { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.brands-label { font-size: 14px; color: var(--muted); }
.brands-list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; color: var(--dim); letter-spacing: -0.01em;
}

/* Leistungen */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; }
.split-intro { display: flex; flex-direction: column; gap: 16px; }
.service-list { margin: 0; padding: 0; list-style: none; }
.service-list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.service-list li:last-child { border-bottom: 1px solid var(--line); }
.service-name { font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 26px); }
.service-desc { font-size: 15px; color: var(--muted); text-align: right; }

/* Schauraum */
.light { background: var(--light-bg); color: var(--light-text); }
.light a:not(.btn) { color: var(--light-accent); }
.light .split { align-items: center; }
.light .eyebrow { color: var(--light-accent); letter-spacing: 0.14em; }
.light .split-intro { gap: 18px; }
.light .split-intro p { color: var(--light-muted); }
.light .split-intro .address { color: var(--light-text); font-weight: 500; }
.light .btn-dark { align-self: flex-start; }
.light .placeholder { aspect-ratio: 1 / 1; background: var(--light-surface); border-color: #A89F8F; color: var(--light-muted); }

/* Kontakt */
.contact-intro { display: flex; flex-direction: column; gap: 18px; }
.contact-phone { font-family: var(--font-display); font-size: clamp(26px, 3vw, 32px); color: var(--text); text-decoration: none; }
.contact-phone:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.field input, .field textarea {
  min-height: 50px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; color: var(--text); font: inherit; font-size: 17px; padding: 8px 0;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.contact-form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; min-height: 1.6em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #F0A58A; }

/* Footer */
.site-footer .wrap {
  padding-top: 32px; padding-bottom: 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted);
}
.site-footer nav { display: flex; gap: 20px; }

/* Rechtstexte */
.legal { max-width: 820px; margin: 0 auto; padding: 72px 24px 104px; display: flex; flex-direction: column; gap: 20px; }
.legal h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-top: 16px; }

@media (max-width: 720px) {
  .hero { padding-top: 48px; padding-bottom: 72px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .main-nav { order: 3; width: 100%; gap: 4px 20px; }
  .service-desc { text-align: left; }
  .hero-actions .btn { width: 100%; }
  .hero-logo { max-width: 220px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Unterseiten */
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 16px; }
.audience-item { padding: 28px 32px; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 8px; }
.audience-item h2 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--accent); }
.audience-item p { color: var(--muted); font-size: 16px; }
.service-list .service-desc { max-width: 340px; }
.service-link { color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px; }
.service-link:hover { color: var(--accent); }
.service-link .arrow { color: var(--accent); font-size: 0.8em; }
.note { font-size: 14px; color: var(--muted); margin-top: -72px; padding-bottom: 72px; max-width: var(--wrap); }
@media (max-width: 720px) { .note { margin-top: -40px; padding-bottom: 48px; } }
.day-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.service-list--stacked li { flex-direction: column; align-items: flex-start; gap: 4px; }
.service-list--stacked .service-desc { text-align: left; max-width: none; }

/* Fotos */
.photo { width: 100%; height: auto; border-radius: 24px; object-fit: cover; background: var(--surface); }
.hero-photo { aspect-ratio: 21 / 9; margin-top: 32px; }
.photo-wide { aspect-ratio: 2 / 1; }
.photo-square { aspect-ratio: 1 / 1; }
.split-intro .photo-wide { margin-top: 16px; }
.day-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.photo-4x3 { aspect-ratio: 4 / 3; }
.form-hint { font-size: 14px; color: var(--muted); }
.legal h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-top: 4px; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.field-error { color: #F0A58A; font-size: 14px; min-height: 0; }
.field-error:empty { display: none; }
.field input[aria-invalid="true"] { border-bottom-color: #F0A58A; }
