/* ==========================================================================
   Hofer Talent – Gestaltung
   Konzept: ruhiges Editorial-Raster mit viel Weissraum. Kreideweiss und ein
   heller Salbeiton als Grundtöne, Nachtblau für Titel, Messing als Akzent. Georgia für Titel
   (klassisch, überall vorhanden), Arial für Text (klar, überall vorhanden).
   ========================================================================== */


:root {
  /* Farben – hell und frisch */
  --bg: #FCFBF8;          /* Kreideweiss */
  --surface: #FFFFFF;     /* Papier */
  --sunk: #F4F2ED;        /* Leinen */
  --ink: #1A2833;         /* Nachtblau – Titel */
  --text: #36414B;        /* Fliesstext */
  --muted: #5C656E;
  --line: #E5E1D9;
  --brass: #B08A55;       /* Messing – Linien, grosse Schrift */
  --brass-text: #8A6634;  /* Messing für kleine Schrift (Kontrast) */
  --sage: #DCE7DF;        /* Salbei – frischer Zweitton */
  --deep: #EEF3EF;        /* helle Bänder (Salbei-Nebel) */
  --on-deep: #1A2833;
  --on-deep-muted: #3F4A53;
  --deep-line: #D6E0D9;
  --brass-on-deep: #8A6634;
  --footer: #E8EFEA;
  --focus: #B08A55;
  --shadow: 0 30px 60px -32px rgba(26, 40, 51, .22);
  color-scheme: light;

  /* Schrift */
  --display: Georgia, "Times New Roman", Times, serif;
  --body: Arial, "Helvetica Neue", Helvetica, sans-serif;

  /* Masse */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(84px, 11vw, 148px);
  --radius: 2px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
::selection { background: var(--brass); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section.band, .band + .section { padding-top: var(--section); }

/* Typografie */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 700 13px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .8; }
.display { font-size: clamp(38px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -.02em; }
.display em, .h2 em { color: var(--brass); font-weight: 400; }
.h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; }
.h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.22; }
.lead { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.65; color: var(--text); max-width: 60ch; }
.small { font-size: 15.5px; }
.muted { color: var(--muted); }
.measure { max-width: 64ch; }
.stack { display: grid; gap: 24px; align-content: start; }
.stack-sm { display: grid; gap: 12px; align-content: start; }
.ph { background: color-mix(in srgb, var(--brass) 18%, transparent); outline: 1px dashed var(--brass); padding: 0 .2em; }

/* Knöpfe und Links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 30px; font: 700 14px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer; transition: background .35s ease, color .35s ease, border-color .35s ease; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.on-deep .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.on-deep .btn-primary:hover { background: var(--brass-text); border-color: var(--brass-text); color: #fff; }
.on-deep .btn-ghost { color: var(--on-deep); border-color: var(--on-deep-muted); }
.on-deep .btn-ghost:hover { background: var(--ink); color: #fff; }
.arrow { display: inline-flex; align-items: center; gap: 12px; font: 700 14px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding-block: 8px; }
.arrow span { display: inline-block; width: 34px; height: 1px; background: var(--brass); position: relative; transition: width .35s ease; }
.arrow span::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--brass); border-right: 1px solid var(--brass); transform: rotate(45deg); }
.arrow:hover span { width: 52px; }
.on-deep .arrow { color: var(--on-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; transition: min-height .3s ease; }
.site-header.scrolled .header-row { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand svg { width: 44px; height: 44px; color: var(--brass); flex: none; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 22px; font-weight: 400; letter-spacing: .14em; }
.brand-sub { font: 600 9px/1 var(--body); letter-spacing: 1.31em; margin-right: -1.31em; color: var(--brass-text); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav a { font: 600 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--text); padding-block: 10px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 13px; }
.nav .btn::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; color: var(--ink); padding: 0; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px auto; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Startseite: Einstieg ---------- */
.hero { background: radial-gradient(60% 70% at 88% 35%, rgba(196, 216, 202, .55), transparent 70%), radial-gradient(40% 50% at 8% 100%, rgba(232, 214, 186, .35), transparent 70%); padding-block: clamp(56px, 8vw, 120px) clamp(72px, 9vw, 128px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-copy { display: grid; gap: 34px; }
.hero-mark { position: relative; justify-self: end; width: min(100%, 400px); aspect-ratio: 1; color: var(--brass); }
.hero-mark svg { width: 100%; height: 100%; overflow: visible; }
.hero-mark .draw { fill: none; stroke: currentColor; stroke-width: .5; }
.hero-mark .fill { fill: currentColor; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: -38px; text-align: center; font: 600 12.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.terms { margin-top: clamp(56px, 7vw, 96px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 34px; font: 600 13px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.terms li { list-style: none; }
.terms ul { display: contents; }

/* Ladeanimation (einmalig) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-mark .draw { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2.2s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
  .js .hero-mark .fill { opacity: 0; animation: fade 1.2s ease 1.5s forwards; }
  .js .hero-copy > * { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .36s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Bausteine ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.sec-head.single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.sec-head .stack { gap: 22px; }

/* Zielgruppen: drei Spalten mit Haarlinien */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cols3 > div { padding: 36px 36px 8px 0; display: grid; gap: 14px; align-content: start; }
.cols3 > div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.label { font: 700 13px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); }

/* Angebotsliste */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--line); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; padding-block: 34px; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; }
.offer h3 { grid-column: 1; }
.offer p { grid-column: 1; color: var(--text); max-width: 46ch; }
.offer .go { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--brass); transition: background .35s ease, border-color .35s ease, color .35s ease, transform .35s ease; }
.offer:hover .go { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: translateX(4px); }
.offer .tag { display: inline-block; margin-left: 10px; vertical-align: middle; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); border: 1px solid var(--brass); padding: 6px 8px; }

/* Dunkles Band */
.band { background: var(--deep); color: var(--on-deep-muted); }
.band h2, .band h3 { color: var(--on-deep); }
.band .eyebrow, .band .label { color: var(--brass-on-deep); }
.band .display em, .band .h2 em { color: var(--brass-on-deep); }
.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature .stack { gap: 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.checks li::before { content: ""; width: 14px; height: 1px; background: var(--brass); transform: translateY(-4px); }
.band .checks li::before { background: var(--brass-on-deep); }
.band .checks li { color: var(--on-deep); }

/* Bilder im Rahmen */
.frame { position: relative; isolation: isolate; }
.frame::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--brass); opacity: .55; z-index: -1; }
.frame img, .frame video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
.band .frame::before { border-color: var(--brass); opacity: .6; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); counter-reset: step; }
.step { display: grid; gap: 14px; align-content: start; padding-top: 26px; border-top: 1px solid var(--ink); }
.step-no { font: 400 40px/1 var(--body); color: var(--brass); }

/* Zitat */
.quote { display: grid; gap: 34px; max-width: 980px; }
.quote blockquote { margin: 0; font: italic 400 clamp(25px, 3vw, 38px)/1.3 var(--display); color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.quote blockquote::before { content: "«"; color: var(--brass); margin-right: .08em; }
.quote blockquote::after { content: "»"; color: var(--brass); margin-left: .08em; }
.sig { display: flex; align-items: center; gap: 18px; }
.sig svg { width: 40px; height: 40px; color: var(--brass); }
.sig b { display: block; color: var(--ink); font-weight: 700; }

/* Abschluss-Band */
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 40px; align-items: end; }

/* ---------- Unterseiten ---------- */
.page-hero { background: radial-gradient(55% 90% at 92% 20%, rgba(196, 216, 202, .5), transparent 70%); padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero .stack { gap: 28px; max-width: 980px; }

/* Über uns */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.portrait { position: sticky; top: 120px; display: grid; gap: 18px; }
.portrait-img { aspect-ratio: 4 / 5; width: 100%; background: linear-gradient(160deg, var(--sunk), var(--surface)); display: grid; place-items: center; color: var(--brass); border-radius: var(--radius); overflow: hidden; }
.portrait-img svg { width: 38%; opacity: .9; }
.portrait-img img { width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption { font-size: 15px; color: var(--muted); }
.portrait figcaption b { display: block; font: 400 22px/1.2 var(--display); color: var(--ink); }
.prose { display: grid; gap: 22px; }
.prose p { max-width: 64ch; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.timeline .n { font: 400 24px/1 var(--body); color: var(--brass); }
.timeline b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.value { display: grid; gap: 14px; align-content: start; padding-top: 28px; border-top: 1px solid var(--brass); }

/* Angebot: Register */
.tabs-wrap { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 72px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: clamp(18px, 2.2vw, 32px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; background: none; border: 0; padding: 24px 0 22px; font: 600 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; position: relative; white-space: nowrap; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass); transform: scaleX(0); transition: transform .35s ease; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab:hover { color: var(--ink); }
.tab .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin-left: 8px; vertical-align: 2px; }
.panel { padding-block: clamp(56px, 7vw, 104px); }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.aside-box { background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.aside-box .h3 { font-size: 24px; }
.price { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.price b { font: 700 20px/1.25 var(--body); color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); border: 1px solid var(--brass); padding: 9px 12px; justify-self: start; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass) 25%, transparent); }

/* Qualifikationsmappe: Video und Galerie */
.video { display: grid; gap: 14px; }
.video video { aspect-ratio: 16 / 10; background: #0A1016; }
.video p { font-size: 15px; color: var(--muted); }
.features4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.features4 > div { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.gallery-main { display: grid; gap: 16px; }
.gallery-main figcaption { display: grid; gap: 4px; }
.gallery-main figcaption b { font: 400 24px/1.2 var(--display); color: var(--ink); }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.thumb { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: baseline; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; font: inherit; color: var(--muted); cursor: pointer; }
.thumb .n { font: 400 18px/1 var(--body); color: var(--brass); }
.thumb b { display: block; font: 600 15px/1.3 var(--body); color: var(--text); }
.thumb[aria-pressed="true"] b { color: var(--ink); }
.thumb[aria-pressed="true"] { background: var(--surface); }
.phone { position: relative; width: min(100%, 300px); justify-self: center; border-radius: 38px; padding: 12px; background: #0B1117; box-shadow: var(--shadow); }
.phone img { border-radius: 28px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.form { display: grid; gap: 26px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.field { display: grid; gap: 10px; }
.field label, .field .lbl { font: 700 12.5px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: 400 17px/1.5 var(--body); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; transition: border-color .3s ease; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { color: #14202B; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }
.field [aria-invalid="true"] { border-bottom-color: #B4442E; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 18px 20px; border-left: 2px solid var(--brass); background: var(--surface); font-size: 15.5px; }
.form-msg[data-kind="bad"] { border-left-color: #B4442E; }
.contact-card { display: grid; gap: 28px; padding-top: 8px; }
.contact-card dl { margin: 0; display: grid; gap: 22px; }
.contact-card dt { font: 700 12.5px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 6px; }
.contact-card dd { margin: 0; color: var(--ink); font-size: 18px; overflow-wrap: anywhere; }

/* Rechtstexte */
.legal { max-width: 780px; display: grid; gap: 40px; }
.legal section { display: grid; gap: 14px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 30px); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal address { font-style: normal; line-height: 1.8; }

/* ---------- Fusszeile ---------- */
.site-footer { background: var(--footer); color: var(--on-deep-muted); padding-block: clamp(64px, 8vw, 104px) 40px; border-top: 1px solid var(--deep-line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.site-footer .brand { color: var(--on-deep); }
.site-footer .brand svg { color: var(--brass-on-deep); }
.site-footer .brand-sub { color: var(--brass-on-deep); }
.site-footer h3 { font: 700 12.5px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-on-deep); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: clamp(48px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--deep-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-size: 14.5px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--on-deep); cursor: pointer; text-decoration: underline; text-underline-offset: .22em; }

/* Cookie-Hinweis */
.consent { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px 26px 22px; display: grid; gap: 16px; }
.consent h2 { font-size: 22px; }
.consent p { font-size: 15.5px; line-height: 1.6; }
.consent .actions { gap: 10px; }
.consent .btn { min-height: 46px; padding: 0 20px; font-size: 13px; flex: 1 1 140px; }
.consent a { color: var(--ink); }

/* ---------- Anpassungen für kleinere Bildschirme ---------- */

/* Produkte (Startseite) */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px); }
.product { display: grid; gap: 30px; align-content: start; text-decoration: none; color: inherit; }
.product .frame img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.product:hover .frame img { transform: translateY(-4px); }
.product-body { display: grid; gap: 12px; justify-items: start; }
.product-body p { color: var(--on-deep-muted); max-width: 52ch; }
.product .tag { font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); border: 1px solid var(--brass); padding: 6px 8px; }
.product:hover .arrow span { width: 52px; }

/* Vorteile in zwei Reihen */
.features4.eight { row-gap: clamp(30px, 3.5vw, 48px); }

/* Videobeschreibung */
.vtext { font-size: 15.5px; color: var(--text); border-top: 1px solid var(--line); padding-top: 12px; }
.vtext summary { cursor: pointer; font: 700 13px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); list-style: none; }
.vtext summary::-webkit-details-marker { display: none; }
.vtext summary::after { content: " +"; }
.vtext[open] summary::after { content: " –"; }
.vtext ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.55; }

/* Eingebettete Demo-Buchung (später) */
.embed-box { max-width: 860px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Preispakete */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.plan { display: grid; gap: 10px; align-content: start; padding: clamp(26px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--brass); }
.plan .amt { font: 400 clamp(36px, 3.8vw, 48px)/1 var(--body); color: var(--ink); letter-spacing: -.02em; margin-top: 6px; }
.plan .amt span { font: 600 14px/1 var(--body); letter-spacing: .12em; color: var(--muted); vertical-align: .9em; margin-right: 4px; }
.plan .per { font-size: 15px; color: var(--muted); margin-top: -2px; }
.plan p:last-child { padding-top: 14px; border-top: 1px solid var(--line); }
.bundle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding: clamp(24px, 3vw, 34px); background: var(--deep); border: 1px solid var(--deep-line); }
.bundle > div:first-child { display: grid; gap: 8px; max-width: 62ch; }

/* Vergrösserung der Screenshots */
.gallery-main .frame img { cursor: zoom-in; }
.lightbox { border: 0; padding: 0; margin: auto; width: min(1500px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 28, 36, .82); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; display: grid; gap: 14px; }
.lightbox img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: #fff; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: #F1F3F2; font-size: 15px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lightbox figcaption b { font: 400 20px/1.2 var(--display); }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; background: rgba(255, 255, 255, .94); border: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 400 22px/1 var(--body); color: var(--ink); cursor: pointer; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .5); }
.lightbox .lb-close { top: -16px; right: -16px; }
.lightbox .lb-nav { top: calc(50% - 40px); }
.lightbox .lb-prev { left: -16px; } .lightbox .lb-next { right: -16px; }
@media (max-width: 1320px) { .tabs { gap: 20px; } .tab { letter-spacing: .06em; } }
@media (max-width: 1230px) { .tabs { flex-wrap: wrap; row-gap: 0; } .tab { padding: 16px 0 14px; } }
@media (max-width: 900px) { .products, .plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .lightbox .lb-close { top: -10px; right: -6px; } .lightbox .lb-prev { left: -6px; } .lightbox .lb-next { right: -6px; } }

@media (max-width: 1060px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .features4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 28px; box-shadow: var(--shadow); }
  .nav[data-open="false"] { display: none; }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 20px; min-height: 54px; border-bottom: 1px solid var(--ink); }
  .header-row, .site-header.scrolled .header-row { min-height: 72px; }
  .hero-grid, .feature, .about, .contact, .panel-grid, .cta, .sec-head, .duo { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { justify-self: start; width: min(64vw, 280px); order: -1; }
  .hero-caption { display: none; }
  .portrait { position: static; max-width: 420px; }
  .cols3 { grid-template-columns: minmax(0, 1fr); }
  .cols3 > div, .cols3 > div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .offers { grid-template-columns: minmax(0, 1fr); }
  .tabs-wrap { top: calc(env(safe-area-inset-top, 0px) + 72px); }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .steps, .features4, .row2, .footer-grid, .thumbs { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .actions .arrow { width: auto; }
  .offer .tag { display: table; margin: 10px 0 0; }
  .frame::before { inset: -8px 8px 8px -8px; }
  .consent { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .hero-mark { width: 120px; }
  .tabs-wrap { position: static; }
  .tabs { flex-wrap: wrap; gap: 0 22px; padding-block: 8px; }
  .tab { padding: 14px 0 12px; font-size: 13px; }
  .hero-grid { gap: 32px; }
  .footer-grid { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Video */
.video-box { margin: 0; max-width: 980px; display: grid; gap: 14px; }
.video-box video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; background: var(--ink); border: 1px solid var(--line); }

/* Angebotskarten */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.card { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; padding: 34px 30px 30px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brass); text-decoration: none; transition: transform .35s ease, box-shadow .35s ease; }
.card:nth-child(n+4) { grid-column: span 3; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(26, 40, 51, .3); }
.card .no { font: 400 15px var(--display); letter-spacing: .14em; color: var(--brass-text); }
.card h3 { font-size: 27px; }
.card p { color: var(--text); flex: 1; max-width: 44ch; }
.card .more { display: flex; align-items: center; gap: 10px; font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.card .more span { color: var(--brass); font-size: 18px; transition: transform .3s ease; }
.card:hover .more span { transform: translateX(6px); }
@media (max-width: 960px) { .cards { grid-template-columns: minmax(0, 1fr); } .card, .card:nth-child(n+4) { grid-column: auto; } }
