/* Startseite v2 „Klartext“ – Bausteine (Basis: styles.css) */

body { font-size: 19px; }
section { position: relative; }
.pad { padding: clamp(88px, 12vw, 168px) 0; }
.pad-s { padding: clamp(64px, 8vw, 112px) 0; }

/* Lesbare Größen: Fließtext nie unter 18 px */
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; color: var(--muted); max-width: 32em; }
.label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.label.dot::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rubin); margin-right: 10px; vertical-align: 1px; }
.h-xl { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 9vw, 150px); line-height: .92; letter-spacing: -.02em; }
.h-l { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.015em; }
.h-m { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }

/* Klarer Button für den Hauptaufruf */
.btn { display: inline-flex; align-items: center; gap: 14px; background: var(--rubin); color: var(--white); text-decoration: none; font-weight: 500; font-size: 17px; padding: 18px 28px; border: 0; cursor: pointer; transition: background-color .3s, transform .25s var(--ease); }
.btn:hover { background: var(--rubin-dunkel); }
.btn:active { transform: scale(.98); }
.btn .ar { transition: transform .4s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); background: transparent; }
.btn.white { background: var(--white); color: var(--black); }
.btn.white:hover { background: #E9E8E3; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Film als Kulisse */
.bgvideo { position: absolute; inset: 0; overflow: hidden; background: #000; }
.bgvideo video, .bgvideo img { width: 100%; height: 100%; object-fit: cover; }
.ai-note { font-size: 12px; letter-spacing: .08em; color: rgba(250,250,248,.6); }

/* Branchen-Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { border: 1px solid var(--line); padding: 10px 18px; font-size: 16px; border-radius: 999px; }

/* Raceline-Zitat */
.quote { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; text-wrap: pretty; }
.cite { margin-top: 18px; font-size: 15px; color: var(--muted); }
.cite b { color: var(--fg); font-weight: 500; }

/* Formular */
.form { display: grid; gap: 22px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 18px; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0 10px; border-radius: 0; resize: vertical; -webkit-appearance: none; appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { color: var(--black); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--fg); }
.form .note { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } }

/* Footer */
.foot { padding: 40px 0 48px; font-size: 14px; color: var(--grey-400); background: var(--black); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot a { text-decoration: none; margin-left: 24px; }
.foot a:first-child { margin-left: 0; }

/* Einblenden beim Erscheinen (ohne Scroll-Kopplung) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; } .rv.d5 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* Menü-Knopf nicht vom Label-Stil erfassen */
.menu-btn .label { font-size: 15px; letter-spacing: 0; text-transform: none; color: inherit; font-weight: inherit; }

/* Formular-Prüfung */
.form .err { display: none; margin-top: 6px; font-size: 13px; color: var(--white); background: rgba(11,11,12,.28); padding: 2px 8px; width: fit-content; }
.form .invalid .err { display: block; }
.form .invalid input { border-color: var(--white); }
.form .opt { color: var(--muted); font-weight: 400; }

/* Film anhalten (Barrierefreiheit) */
.pause { background: none; border: 1px solid rgba(250,250,248,.45); color: var(--white); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background-color .3s, color .3s; }
.pause:hover { background: var(--white); color: var(--black); }
.pause svg { width: 12px; height: 12px; }

/* Rechtstexte (Impressum, Datenschutz): ruhige Lesespalte */
.legal { padding: clamp(140px, 16vw, 200px) 0 clamp(80px, 10vw, 140px); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -.015em; margin-bottom: clamp(40px, 6vw, 64px); }
.legal h2 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin: 48px 0 12px; color: var(--fg); }
.legal p, .legal li { font-size: 18px; line-height: 1.65; color: rgba(250,250,248,.78); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 1.2em; margin-top: 10px; }
.legal address { font-style: normal; font-size: 18px; line-height: 1.65; color: var(--fg); margin-top: 12px; }
.legal a { color: var(--fg); text-decoration-color: rgba(250,250,248,.4); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--rubin-hell); }
.legal .stand { margin-top: 56px; font-size: 15px; color: var(--muted); }
.foot a[aria-current="page"] { color: var(--white); }
