drink-it-cold/web/assets/css/style.css
torsten 7445740b90 feat(booking): Restzahlung bar oder per Überweisung mit Zahlungserinnerung und Verfügbarkeitsampel
- Buchung: neues Feld balance_method (cash|transfer) inkl. Migration 019,
  Formularfeld, Validierung (Konto Pflicht bei Überweisung), Anzeige in
  Buchungsdetail und kopiertem Kundentext.
- Auftragsbestätigung: bei Überweisung Bankverbindung der Buchung, Restbetrag
  mit Zahlungsziel (5 Tage vor Mietbeginn) und Hinweis auf die Erinnerung;
  bei Barzahlung unverändert "bei der Übergabe in bar fällig".
- Zahlungserinnerung als eigene Unterlage (Migration 018): offener Betrag
  (Restbetrag bei Anzahlung, sonst Gesamtbetrag), Konto der Buchung, Frist,
  Erzeugen/Mailen über die Buchungsseite, Handbuch und README.
- Automatischer Versand: payment_reminder_send_due() im Cron-Lauf, 10 Tage vor
  Mietbeginn (app.transfer_reminder_days), genau ein Versand pro Termin über
  payment_reminder_log, kein Doppelversand nach manuellem Mailen.
- Startseite: öffentliche Verfügbarkeitsampel für Kühlanhänger ohne Truhen
  (GET /verfuegbarkeit.json, availability_public_days()), Monatskalender mit
  Grün (>2 frei), Gelb (1-2) und Rot (ausgebucht); neuer Abschnitt
  #verfuegbarkeit inkl. Navigation, Footer und noscript-Hinweis.
- Aufräumen: payment_reminder_log nach einem Jahr, Cron-Report erweitert.
2026-11-30 21:55:51 +01:00

1349 lines
36 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* ==========================================================================
Drink it cold – Kühlanhänger-Vermietung
Design system: Eisblau (#196abc) + Weiss
========================================================================== */
/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: url('../fonts/inter-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Manrope';
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url('../fonts/manrope-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---------- Tokens ---------- */
:root {
--brand: #196abc;
--brand-600: #1560ab;
--brand-700: #12528f;
--brand-800: #0d3d6d;
--brand-900: #0a2c4e;
--ice-50: #f4f9fe;
--ice-100: #e6f1fc;
--ice-200: #d3e6f9;
--ink: #0e1b26;
--ink-2: #38505f;
--muted: #6a7c8a;
--line: #dae6f1;
--white: #fff;
--amber: #f2a33c;
--amber-soft: #fff6e8;
--radius-sm: 10px;
--radius: 16px;
--radius-lg: 24px;
--shadow-sm: 0 1px 2px rgba(10, 44, 78, .06), 0 4px 12px rgba(10, 44, 78, .05);
--shadow: 0 2px 6px rgba(10, 44, 78, .06), 0 14px 34px rgba(10, 44, 78, .08);
--shadow-lg: 0 8px 20px rgba(10, 44, 78, .1), 0 30px 60px rgba(10, 44, 78, .14);
--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
--font-display: 'Manrope', 'Inter', system-ui, sans-serif;
--container: 1180px;
--gutter: clamp(1.15rem, 4vw, 2.5rem);
--section-y: clamp(3.75rem, 8vw, 7rem);
--header-h: 74px;
}
/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
-webkit-text-size-adjust: 100%;
scroll-behavior: smooth;
scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
margin: 0;
font-family: var(--font-body);
font-size: 1.0625rem;
line-height: 1.65;
color: var(--ink-2);
background: var(--white);
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.hero__bg picture,
.split__media picture,
.warning picture,
.gallery picture { height: 100%; }
h1, h2, h3, h4 {
font-family: var(--font-display);
color: var(--ink);
line-height: 1.12;
letter-spacing: -.022em;
margin: 0;
text-wrap: balance;
font-weight: 800;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible {
outline: 3px solid var(--brand);
outline-offset: 3px;
border-radius: 4px;
}
/* ---------- Utilities ---------- */
.container {
width: 100%;
max-width: var(--container);
margin-inline: auto;
padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tint { background: var(--ice-50); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.eyebrow {
display: inline-flex;
align-items: center;
gap: .5rem;
font-family: var(--font-display);
font-size: .78rem;
font-weight: 800;
letter-spacing: .14em;
text-transform: uppercase;
color: var(--brand);
margin-bottom: 1rem;
}
.eyebrow::before {
content: "";
width: 26px;
height: 2px;
border-radius: 2px;
background: currentColor;
opacity: .55;
}
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: .9rem; font-size: 1.08rem; color: var(--ink-2); }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }
.visually-hidden {
position: absolute !important;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
position: absolute;
left: 50%; top: 0;
transform: translate(-50%, -120%);
z-index: 200;
background: var(--brand);
color: #fff;
padding: .7rem 1.2rem;
border-radius: 0 0 10px 10px;
font-weight: 600;
text-decoration: none;
transition: transform .2s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }
/* ---------- Buttons ---------- */
.btn {
--btn-bg: var(--brand);
--btn-fg: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
gap: .55rem;
padding: .9rem 1.5rem;
border: 1px solid transparent;
border-radius: 999px;
background: var(--btn-bg);
color: var(--btn-fg);
font-family: var(--font-display);
font-weight: 700;
font-size: .98rem;
letter-spacing: -.005em;
text-decoration: none;
white-space: nowrap;
transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease,
border-color .18s ease, color .18s ease;
box-shadow: 0 6px 18px rgba(25, 106, 188, .26);
}
.btn:hover {
background: var(--brand-600);
color: #fff;
transform: translateY(-2px);
box-shadow: 0 10px 26px rgba(25, 106, 188, .32);
}
.btn:active { transform: translateY(0); }
.btn--ghost {
--btn-bg: transparent;
--btn-fg: var(--brand-800);
border-color: rgba(25, 106, 188, .3);
box-shadow: none;
}
.btn--ghost:hover {
background: var(--white);
border-color: transparent;
color: var(--brand-800);
box-shadow: var(--shadow);
}
.btn--light {
--btn-bg: #fff;
--btn-fg: var(--brand-800);
box-shadow: var(--shadow-sm);
}
.btn--light:hover { background: var(--ice-100); color: var(--brand-900); }
.btn--outline-light {
--btn-bg: rgba(255, 255, 255, .06);
--btn-fg: #fff;
border-color: rgba(255, 255, 255, .45);
box-shadow: none;
backdrop-filter: blur(6px);
}
.btn--outline-light:hover {
background: rgba(255, 255, 255, .16);
border-color: rgba(255, 255, 255, .7);
box-shadow: none;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
/* ---------- Header ---------- */
.header {
position: fixed;
inset: 0 0 auto;
z-index: 100;
height: var(--header-h);
display: flex;
align-items: center;
transition: background-color .25s ease, box-shadow .25s ease, height .25s ease,
backdrop-filter .25s ease;
}
.header__inner {
display: flex;
align-items: center;
gap: 1rem;
width: 100%;
}
.brand {
display: inline-flex;
flex: none;
align-items: center;
gap: .7rem;
text-decoration: none;
color: #fff;
margin-right: auto;
}
.brand__mark {
width: 40px;
height: auto;
flex: none;
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
transition: transform .3s ease;
}
/* Header-Logo: unveraendertes Logo-Bild, auf weisser Platte damit die
schwarze Wortmarke vor dem dunklen Hero lesbar bleibt. */
.brand__logo {
display: block;
height: 56px;
width: auto;
background: #fff;
border-radius: 10px;
padding: 4px 7px;
box-shadow: 0 6px 16px rgba(3, 16, 28, .22);
}
.nav { display: flex; align-items: center; gap: .1rem; }
.nav a {
display: inline-block;
white-space: nowrap;
padding: .5rem .72rem;
border-radius: 999px;
font-size: .92rem;
font-weight: 500;
color: rgba(255, 255, 255, .88);
text-decoration: none;
transition: background-color .18s ease, color .18s ease;
}
.nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__phone {
display: inline-flex;
align-items: center;
gap: .45rem;
padding: .55rem .7rem;
border-radius: 999px;
font-weight: 600;
font-size: .95rem;
color: #fff;
text-decoration: none;
white-space: nowrap;
}
.header__phone svg { width: 16px; height: 16px; flex: none; }
.header__phone:hover { background: rgba(255, 255, 255, .14); color: #fff; }
/* scrolled / solid state */
.header.is-scrolled {
background: rgba(255, 255, 255, .88);
backdrop-filter: saturate(180%) blur(14px);
box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(10, 44, 78, .07);
}
.header.is-scrolled .brand { color: var(--brand-900); }
.header.is-scrolled .brand__mark { filter: none; }
.header.is-scrolled .nav a { color: var(--ink-2); }
.header.is-scrolled .nav a:hover { background: var(--ice-100); color: var(--brand-800); }
.header.is-scrolled .header__phone { color: var(--brand-800); }
.header.is-scrolled .header__phone:hover { background: var(--ice-100); }
.header.is-scrolled .btn { box-shadow: 0 4px 14px rgba(25, 106, 188, .28); }
.nav-toggle {
display: none;
width: 44px; height: 44px;
align-items: center;
justify-content: center;
border: 1px solid rgba(255, 255, 255, .4);
border-radius: 12px;
background: rgba(255, 255, 255, .1);
color: #fff;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars span {
display: block;
height: 2px;
border-radius: 2px;
background: currentColor;
transition: transform .25s ease, opacity .2s ease;
}
.header.is-open .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.header.is-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header.is-scrolled .nav-toggle,
.header.is-open .nav-toggle {
color: var(--brand-900);
border-color: var(--line);
background: var(--ice-50);
}
/* ---------- Hero ---------- */
.hero {
position: relative;
isolation: isolate;
min-height: min(94svh, 880px);
display: grid;
align-items: center;
padding-top: calc(var(--header-h) + clamp(2.5rem, 8vw, 6rem));
padding-bottom: clamp(3rem, 8vw, 6rem);
color: #fff;
overflow: hidden;
}
.hero__bg {
position: absolute;
inset: 0;
z-index: -2;
}
.hero__bg img {
width: 100%; height: 100%;
object-fit: cover;
object-position: center 62%;
}
.hero__bg::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(100deg, rgba(7, 30, 53, .97) 0%, rgba(8, 38, 66, .93) 42%, rgba(11, 52, 94, .72) 66%, rgba(19, 82, 145, .28) 100%),
linear-gradient(to top, rgba(8, 34, 60, .78), transparent 52%),
linear-gradient(to bottom, rgba(8, 34, 60, .55), transparent 30%);
}
.hero__inner { display: grid; gap: 2rem; max-width: 46rem; }
.hero .eyebrow { color: var(--ice-200); }
.hero .eyebrow::before { background: var(--ice-200); }
.hero h1 {
color: #fff;
font-size: clamp(2.35rem, 6.2vw, 4.4rem);
line-height: 1.03;
letter-spacing: -.03em;
margin-bottom: .55rem;
}
.hero h1 em {
font-style: normal;
background: linear-gradient(120deg, #9ed2ff, #e8f5ff 55%, #7fc0ff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hero__lead {
font-size: clamp(1.02rem, 1.7vw, 1.22rem);
color: rgba(255, 255, 255, .9);
max-width: 34rem;
margin-bottom: 1.6rem;
}
.hero__chips {
display: flex;
flex-wrap: wrap;
gap: .5rem;
margin-top: 2rem;
}
.chip {
display: inline-flex;
align-items: center;
gap: .45rem;
padding: .5rem .9rem;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, .24);
background: rgba(255, 255, 255, .1);
backdrop-filter: blur(8px);
font-size: .86rem;
font-weight: 500;
color: rgba(255, 255, 255, .95);
}
.chip svg { width: 15px; height: 15px; flex: none; opacity: .9; }
.hero__scroll {
position: absolute;
left: 50%; bottom: 1.5rem;
transform: translateX(-50%);
width: 34px; height: 54px;
border: 1px solid rgba(255, 255, 255, .45);
border-radius: 999px;
display: none;
}
.hero__scroll::after {
content: "";
position: absolute;
left: 50%; top: 10px;
width: 4px; height: 10px;
margin-left: -2px;
border-radius: 4px;
background: rgba(255, 255, 255, .8);
animation: scrollDot 1.9s ease-in-out infinite;
}
@keyframes scrollDot {
0%, 100% { transform: translateY(0); opacity: .9; }
60% { transform: translateY(20px); opacity: .1; }
}
/* ---------- Fact band ---------- */
.facts {
position: relative;
z-index: 2;
margin-top: clamp(-3.5rem, -5vw, -2rem);
padding-block: 0;
}
.facts__grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1px;
background: var(--line);
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-lg);
}
.fact {
background: #fff;
padding: clamp(1.35rem, 2.6vw, 2rem) clamp(1.1rem, 2.4vw, 1.75rem);
display: grid;
gap: .3rem;
align-content: start;
}
.fact__value {
font-family: var(--font-display);
font-size: clamp(1.6rem, 2.8vw, 2.15rem);
font-weight: 800;
line-height: 1;
letter-spacing: -.03em;
color: var(--brand-800);
}
.fact__value span { font-size: .58em; font-weight: 700; color: var(--brand); }
.fact__label { font-size: .9rem; color: var(--muted); line-height: 1.4; }
/* ---------- Split (text + image) ---------- */
.split {
display: grid;
grid-template-columns: 1.05fr .95fr;
gap: clamp(2rem, 5vw, 4.5rem);
align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media {
position: relative;
aspect-ratio: 4 / 5;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow);
background: var(--ice-100);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge {
position: absolute;
left: 1rem; bottom: 1rem;
display: inline-flex;
align-items: center;
gap: .5rem;
padding: .55rem .95rem;
border-radius: 999px;
background: rgba(255, 255, 255, .94);
backdrop-filter: blur(8px);
box-shadow: var(--shadow-sm);
font-size: .84rem;
font-weight: 600;
color: var(--brand-900);
}
.split__badge svg { width: 15px; height: 15px; color: var(--brand); }
.checklist { display: grid; gap: .7rem; margin-top: 1.5rem; }
.checklist li {
display: grid;
grid-template-columns: 22px 1fr;
gap: .7rem;
align-items: start;
font-size: .99rem;
}
.checklist svg {
width: 22px; height: 22px;
margin-top: .16rem;
color: var(--brand);
flex: none;
}
/* ---------- Feature cards ---------- */
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
gap: clamp(.9rem, 1.8vw, 1.25rem);
}
.feature {
position: relative;
padding: clamp(1.4rem, 2.4vw, 1.85rem);
border-radius: var(--radius);
background: #fff;
border: 1px solid var(--line);
box-shadow: var(--shadow-sm);
transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature:hover {
transform: translateY(-4px);
box-shadow: var(--shadow);
border-color: var(--ice-200);
}
.feature__icon {
width: 46px; height: 46px;
display: grid;
place-items: center;
border-radius: 13px;
background: linear-gradient(150deg, var(--ice-100), #fff);
border: 1px solid var(--ice-200);
color: var(--brand);
margin-bottom: .95rem;
}
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 {
font-size: 1.03rem;
letter-spacing: -.015em;
margin-bottom: .25rem;
}
.feature p { font-size: .93rem; color: var(--muted); line-height: 1.55; }
/* ---------- Gallery ---------- */
.gallery {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: clamp(.6rem, 1.2vw, .9rem);
}
.gallery figure {
position: relative;
margin: 0;
overflow: hidden;
border-radius: var(--radius);
background: var(--ice-100);
box-shadow: var(--shadow-sm);
cursor: zoom-in;
}
.gallery img {
width: 100%; height: 100%;
object-fit: cover;
transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}
.gallery figure:hover img { transform: scale(1.045); }
.gallery__a { grid-column: span 4; aspect-ratio: 16 / 9; }
.gallery__b { grid-column: span 2; aspect-ratio: 3 / 4; }
.gallery__c { grid-column: span 3; aspect-ratio: 4 / 3; }
.gallery__d { grid-column: span 3; aspect-ratio: 4 / 3; }
.gallery__e { grid-column: span 3; aspect-ratio: 4 / 3; }
.gallery figure::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(8, 34, 60, .38), transparent 45%);
opacity: 0;
transition: opacity .3s ease;
}
.gallery figure:hover::after { opacity: 1; }
.gallery figure > svg {
position: absolute;
right: .8rem; bottom: .8rem;
width: 20px; height: 20px;
color: #fff;
opacity: 0;
transition: opacity .3s ease;
z-index: 1;
}
.gallery figure:hover > svg { opacity: 1; }
/* lightbox */
.lightbox {
position: fixed;
inset: 0;
z-index: 300;
display: none;
place-items: center;
padding: clamp(1rem, 4vw, 3rem);
background: rgba(6, 20, 36, .93);
backdrop-filter: blur(6px);
}
.lightbox[open] { display: grid; }
.lightbox img {
max-width: min(1200px, 100%);
max-height: 88svh;
width: auto;
border-radius: var(--radius);
box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.lightbox__close {
position: absolute;
top: 1.1rem; right: 1.1rem;
width: 46px; height: 46px;
display: grid;
place-items: center;
border: 1px solid rgba(255, 255, 255, .3);
border-radius: 999px;
background: rgba(255, 255, 255, .1);
color: #fff;
transition: background-color .2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close svg { width: 20px; height: 20px; }
/* ---------- Prices ---------- */
.price-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 248px), 1fr));
gap: clamp(.85rem, 1.6vw, 1.15rem);
align-items: stretch;
}
.price {
position: relative;
display: flex;
flex-direction: column;
gap: .2rem;
padding: clamp(1.5rem, 2.4vw, 1.9rem);
border-radius: var(--radius);
background: #fff;
border: 1px solid var(--line);
box-shadow: var(--shadow-sm);
transition: transform .22s ease, box-shadow .22s ease;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price__name {
font-family: var(--font-display);
font-weight: 700;
font-size: .98rem;
color: var(--brand-800);
letter-spacing: -.01em;
}
.price__amount {
display: flex;
align-items: baseline;
gap: .35rem;
margin: .35rem 0 .15rem;
font-family: var(--font-display);
font-weight: 800;
font-size: clamp(2.1rem, 3.4vw, 2.6rem);
line-height: 1;
letter-spacing: -.035em;
color: var(--ink);
}
.price__amount small { font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.price__meta { font-size: .8rem; color: var(--muted); }
.price__rule {
height: 1px;
background: var(--line);
margin: .95rem 0;
}
.price__text { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.price__text strong { color: var(--ink); font-weight: 600; }
.price--featured {
background: linear-gradient(158deg, var(--brand) 0%, var(--brand-700) 55%, var(--brand-900) 100%);
border-color: transparent;
color: rgba(255, 255, 255, .88);
box-shadow: 0 18px 44px rgba(13, 61, 109, .3);
}
.price--featured .price__name,
.price--featured .price__amount { color: #fff; }
.price--featured .price__amount small,
.price--featured .price__meta { color: rgba(255, 255, 255, .72); }
.price--featured .price__rule { background: rgba(255, 255, 255, .22); }
.price--featured .price__text { color: rgba(255, 255, 255, .88); }
.price--featured .price__text strong { color: #fff; }
.price__badge {
position: absolute;
top: -.7rem; right: 1.1rem;
padding: .28rem .7rem;
border-radius: 999px;
background: var(--amber);
color: #3a2403;
font-family: var(--font-display);
font-size: .68rem;
font-weight: 800;
letter-spacing: .1em;
text-transform: uppercase;
box-shadow: 0 4px 12px rgba(242, 163, 60, .4);
}
.price-footnote {
display: flex;
flex-wrap: wrap;
gap: .5rem 1.5rem;
margin-top: 1.6rem;
padding-top: 1.35rem;
border-top: 1px solid var(--line);
font-size: .88rem;
color: var(--muted);
}
.price-footnote span { display: inline-flex; align-items: center; gap: .45rem; }
.price-footnote svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
/* ---------- Steps ---------- */
.steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
gap: clamp(2.4rem, 3vw, 2rem) clamp(1rem, 2.4vw, 2rem);
counter-reset: step;
}
.step {
position: relative;
padding-top: 1.75rem;
border-top: 2px solid var(--ice-200);
}
.step::before {
counter-increment: step;
content: "0" counter(step);
position: absolute;
top: -1.05em; left: 0;
padding-right: .8rem;
background: #fff;
font-family: var(--font-display);
font-size: 1.6rem;
font-weight: 800;
line-height: 1;
letter-spacing: -.04em;
color: var(--ice-200);
}
.section--tint .step::before { background: var(--ice-50); }
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { font-size: .95rem; color: var(--muted); }
/* ---------- Spec accordion ---------- */
.spec { display: grid; gap: .7rem; }
.spec details {
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
overflow: hidden;
transition: box-shadow .2s ease, border-color .2s ease;
}
.spec details[open] { box-shadow: var(--shadow-sm); border-color: var(--ice-200); }
.spec summary {
display: flex;
align-items: center;
gap: .9rem;
padding: 1.05rem 1.25rem;
cursor: pointer;
list-style: none;
font-family: var(--font-display);
font-weight: 700;
font-size: 1.02rem;
color: var(--ink);
transition: background-color .18s ease;
}
.spec summary::-webkit-details-marker { display: none; }
.spec summary:hover { background: var(--ice-50); }
.spec summary .spec__icon {
width: 34px; height: 34px;
display: grid; place-items: center;
border-radius: 9px;
background: var(--ice-100);
color: var(--brand);
flex: none;
}
.spec summary .spec__icon svg { width: 18px; height: 18px; }
.spec summary .spec__chev {
margin-left: auto;
color: var(--muted);
transition: transform .25s ease;
flex: none;
}
.spec summary .spec__chev svg { width: 18px; height: 18px; }
.spec details[open] summary .spec__chev { transform: rotate(180deg); }
.spec__body {
padding: 0 1.25rem 1.25rem;
font-size: .94rem;
color: var(--ink-2);
}
.spec-table {
width: 100%;
border-collapse: collapse;
font-size: .92rem;
}
.spec-table caption {
text-align: left;
font-family: var(--font-display);
font-weight: 700;
font-size: .78rem;
letter-spacing: .1em;
text-transform: uppercase;
color: var(--brand);
padding: .6rem 0 .4rem;
}
.spec-table th, .spec-table td {
text-align: left;
padding: .58rem .5rem .58rem 0;
vertical-align: top;
border-bottom: 1px solid var(--line);
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table th {
font-weight: 500;
color: var(--muted);
width: 55%;
}
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-note {
margin-top: .9rem;
padding: .8rem 1rem;
border-radius: var(--radius-sm);
background: var(--ice-50);
border-left: 3px solid var(--ice-200);
font-size: .87rem;
color: var(--ink-2);
}
/* ---------- Warning ---------- */
.warning {
display: grid;
grid-template-columns: minmax(0, 300px) 1fr;
gap: clamp(1.4rem, 3vw, 2.6rem);
align-items: center;
padding: clamp(1.4rem, 3vw, 2.1rem);
border-radius: var(--radius-lg);
background: var(--amber-soft);
border: 1px solid #f6dcb2;
}
.warning img {
width: 100%;
border-radius: var(--radius-sm);
box-shadow: var(--shadow-sm);
}
.warning__icon {
display: inline-flex;
align-items: center;
gap: .5rem;
font-family: var(--font-display);
font-size: .76rem;
font-weight: 800;
letter-spacing: .12em;
text-transform: uppercase;
color: #9a5b04;
margin-bottom: .6rem;
}
.warning__icon svg { width: 18px; height: 18px; }
.warning h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: .5rem; }
.warning p { font-size: .97rem; color: #6b4a17; }
/* ---------- Contact / form ---------- */
.contact {
position: relative;
isolation: isolate;
color: #fff;
background:
radial-gradient(900px 500px at 80% -10%, rgba(66, 148, 226, .35), transparent 70%),
linear-gradient(160deg, var(--brand-800), var(--brand-900) 60%, #061a2e);
overflow: hidden;
}
.contact__grid {
display: grid;
grid-template-columns: .85fr 1.15fr;
gap: clamp(2rem, 5vw, 4rem);
align-items: start;
}
.contact h2 { color: #fff; }
.contact__lead { color: rgba(255, 255, 255, .78); }
.contact__list { display: grid; gap: 1.15rem; margin-top: 2rem; }
.contact__item {
display: grid;
grid-template-columns: 40px 1fr;
gap: .9rem;
align-items: start;
}
.contact__item-icon {
width: 40px; height: 40px;
display: grid;
place-items: center;
border-radius: 12px;
background: rgba(255, 255, 255, .1);
border: 1px solid rgba(255, 255, 255, .18);
color: #cfe7ff;
}
.contact__item-icon svg { width: 19px; height: 19px; }
.contact__item dt {
font-size: .74rem;
letter-spacing: .13em;
text-transform: uppercase;
font-weight: 700;
color: rgba(255, 255, 255, .55);
margin-bottom: .15rem;
}
.contact__item dd { margin: 0; font-size: 1rem; }
.contact__item dd a {
color: #fff;
text-decoration: none;
font-weight: 600;
}
.contact__item dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__item dd span { display: block; color: rgba(255, 255, 255, .72); font-size: .92rem; }
.form-card {
padding: clamp(1.4rem, 3vw, 2.2rem);
border-radius: var(--radius-lg);
background: rgba(255, 255, 255, .97);
box-shadow: 0 30px 70px rgba(3, 14, 26, .45);
color: var(--ink-2);
}
.form-card h3 {
font-size: 1.2rem;
margin-bottom: .3rem;
}
.form-card > p { font-size: .88rem; color: var(--muted); margin-bottom: 1.3rem; }
.form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: .85rem .9rem;
}
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label {
font-size: .8rem;
font-weight: 600;
color: var(--ink);
letter-spacing: -.005em;
}
.field label .req { color: #d64545; }
.field input,
.field select,
.field textarea {
width: 100%;
padding: .72rem .85rem;
border: 1px solid var(--line);
border-radius: var(--radius-sm);
background: #fff;
font-family: inherit;
font-size: .95rem;
color: var(--ink);
transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
outline: none;
border-color: var(--brand);
box-shadow: 0 0 0 3px rgba(25, 106, 188, .16);
}
.field input:user-invalid { border-color: #d64545; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-pill {
position: relative;
display: inline-flex;
}
.radio-pill input {
position: absolute;
opacity: 0;
width: 0; height: 0;
}
.radio-pill span {
display: inline-flex;
align-items: center;
gap: .45rem;
padding: .58rem .95rem;
border: 1px solid var(--line);
border-radius: 999px;
font-size: .88rem;
font-weight: 500;
color: var(--ink-2);
background: #fff;
cursor: pointer;
transition: all .18s ease;
}
.radio-pill input:checked + span {
background: var(--brand);
border-color: var(--brand);
color: #fff;
box-shadow: 0 6px 16px rgba(25, 106, 188, .26);
}
.radio-pill input:focus-visible + span {
outline: 3px solid var(--brand);
outline-offset: 2px;
}
.form-foot {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: .8rem 1.2rem;
margin-top: 1.25rem;
}
.form-note {
font-size: .78rem;
color: var(--muted);
line-height: 1.45;
flex: 1 1 220px;
}
.form-status {
margin-top: 1rem;
padding: .85rem 1rem;
border-radius: var(--radius-sm);
background: var(--ice-50);
border: 1px solid var(--ice-200);
font-size: .88rem;
color: var(--brand-900);
display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error {
background: #fdecec;
border-color: #f2c6c6;
color: #a02525;
}
/* Honeypot im Anfrageformular: für Menschen unsichtbar, für Bots ein Köder. */
.hp {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
}
/* ---------- Footer ---------- */
.footer {
background: #061a2e;
color: rgba(255, 255, 255, .68);
padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
font-size: .92rem;
}
.footer__grid {
display: grid;
grid-template-columns: 1.3fr 1fr 1fr;
gap: clamp(1.75rem, 4vw, 3.5rem);
}
.footer h4 {
color: #fff;
font-size: .78rem;
letter-spacing: .14em;
text-transform: uppercase;
margin-bottom: .9rem;
font-weight: 800;
}
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer ul { display: grid; gap: .45rem; }
.footer__brand {
display: inline-flex;
align-items: center;
gap: .65rem;
margin-bottom: .9rem;
}
.footer__brand img {
display: block;
width: 190px;
height: auto;
background: #fff;
border-radius: 12px;
padding: 6px 9px;
}
/* Logo auf dunklem Grund: weiße Platte, damit Wortmarke und Schrift lesbar bleiben. */
.logo-card {
display: inline-block;
margin: 1.6rem 0 0;
background: #fff;
border-radius: 14px;
padding: 10px 14px;
box-shadow: 0 14px 30px rgba(3, 16, 28, .28);
}
.logo-card img { display: block; width: 200px; height: auto; }
@media (max-width: 560px) {
.logo-card img { width: 160px; }
}
.footer__bottom {
display: flex;
flex-wrap: wrap;
gap: .8rem 1.5rem;
align-items: center;
justify-content: space-between;
margin-top: clamp(2rem, 4vw, 3rem);
padding-top: 1.5rem;
border-top: 1px solid rgba(255, 255, 255, .12);
font-size: .82rem;
color: rgba(255, 255, 255, .5);
}
.footer__legal {
display: flex;
flex-wrap: wrap;
gap: 1.2rem;
}
/* legal details */
.legal { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: .6rem; }
.legal details {
border: 1px solid rgba(255, 255, 255, .14);
border-radius: var(--radius-sm);
background: rgba(255, 255, 255, .03);
}
.legal summary {
padding: .85rem 1.1rem;
cursor: pointer;
list-style: none;
color: rgba(255, 255, 255, .85);
font-weight: 600;
font-size: .9rem;
display: flex;
align-items: center;
gap: .6rem;
}
.legal summary::-webkit-details-marker { display: none; }
.legal summary::before {
content: "+";
font-family: var(--font-display);
font-weight: 700;
color: rgba(255, 255, 255, .5);
}
.legal details[open] summary::before { content: "–"; }
.legal__body {
padding: 0 1.1rem 1.1rem;
font-size: .86rem;
line-height: 1.65;
color: rgba(255, 255, 255, .6);
max-width: 70ch;
}
.legal__body p { margin-bottom: .7rem; }
.legal__body strong { color: rgba(255, 255, 255, .85); font-weight: 600; }
/* ---------- Reveal animation ---------- */
.reveal {
opacity: 0;
transform: translateY(18px);
transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* ---------- Responsive ---------- */
/* Hero-Scroll-Hinweis deaktiviert (Faktenband übernimmt den Übergang) */
.hero__scroll { display: none; }
@media (max-width: 980px) {
.split { grid-template-columns: 1fr; }
.split--reverse .split__media { order: 0; }
.contact__grid { grid-template-columns: 1fr; }
.footer__grid { grid-template-columns: 1fr 1fr; }
.facts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
.nav-toggle { display: inline-flex; }
.nav {
position: fixed;
inset: var(--header-h) 0 auto;
flex-direction: column;
align-items: stretch;
gap: .15rem;
padding: .9rem var(--gutter) 1.4rem;
background: #fff;
box-shadow: 0 20px 40px rgba(10, 44, 78, .16);
border-top: 1px solid var(--line);
transform: translateY(-130%);
opacity: 0;
pointer-events: none;
transition: transform .32s cubic-bezier(.2, .7, .2, 1), opacity .25s ease;
}
.header.is-open .nav {
transform: none;
opacity: 1;
pointer-events: auto;
}
.nav a {
color: var(--ink-2) !important;
padding: .8rem .9rem;
font-size: 1rem;
border-radius: 10px;
}
.nav a:hover { background: var(--ice-100); }
.header.is-scrolled .header__phone,
.header.is-open .header__phone { color: var(--brand-800); }
.header.is-scrolled .nav-toggle,
.header.is-open .nav-toggle { color: var(--brand-900); }
}
@media (max-width: 860px) {
.warning { grid-template-columns: 1fr; }
.warning img { max-width: 320px; }
}
@media (max-width: 560px) {
.header__actions .btn { display: none; }
.header__phone span { display: none; }
.header__phone { padding: .55rem; }
.header__phone svg { width: 20px; height: 20px; }
}
@media (max-width: 720px) {
:root { --header-h: 64px; }
.brand__mark { width: 34px; }
.brand__logo { height: 42px; padding: 3px 5px; border-radius: 8px; }
.hero { min-height: min(86svh, 780px); }
.hero__bg img { object-position: 62% 60%; }
.facts { margin-top: 0; }
.facts__grid { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); }
.gallery { grid-template-columns: repeat(2, 1fr); }
.gallery__a { grid-column: span 2; }
.gallery__b, .gallery__c, .gallery__d, .gallery__e { grid-column: span 1; }
.form-grid { grid-template-columns: 1fr; }
.footer__grid { grid-template-columns: 1fr; }
.btn-row .btn { width: 100%; }
.price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
.facts__grid { grid-template-columns: 1fr; }
}
/* ---------- Motion / contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after {
animation-duration: .001ms !important;
animation-iteration-count: 1 !important;
transition-duration: .001ms !important;
}
.reveal { opacity: 1; transform: none; }
}
/* ---------- Verfügbarkeitskalender (Startseite) ---------- */
.avail-section { background: var(--ice-50); }
.avail-head { max-width: 46rem; }
.avail {
margin-top: clamp(1.5rem, 3vw, 2.25rem);
padding: clamp(1rem, 2.4vw, 1.6rem);
background: var(--white);
border: 1px solid var(--line);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
}
.avail__bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.avail__month {
margin: 0;
font-family: var(--font-display);
font-weight: 700;
font-size: clamp(1rem, 1.6vw, 1.15rem);
color: var(--brand-800);
}
.avail__nav {
display: grid;
place-items: center;
width: 2.35rem;
height: 2.35rem;
border: 1px solid var(--line);
border-radius: 50%;
background: var(--white);
color: var(--brand-700);
cursor: pointer;
transition: background .18s ease, border-color .18s ease;
}
.avail__nav svg { width: 1.2rem; height: 1.2rem; }
.avail__nav:hover:not(:disabled) { background: var(--ice-100); border-color: var(--ice-200); }
.avail__nav:disabled { opacity: .35; cursor: default; }
.avail__weekdays,
.avail__grid {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
gap: clamp(.25rem, .8vw, .45rem);
}
.avail__weekdays {
margin-top: 1rem;
font-size: .72rem;
font-weight: 600;
letter-spacing: .04em;
text-transform: uppercase;
color: var(--muted);
text-align: center;
}
.avail__grid { margin-top: .35rem; }
.avail__day {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: .1rem;
aspect-ratio: 1 / 1;
min-height: 2.6rem;
padding: .2rem;
border: 1px solid var(--line);
border-radius: var(--radius-sm);
background: var(--ice-50);
font-size: clamp(.78rem, 1.2vw, .95rem);
font-weight: 600;
color: var(--ink);
}
.avail__day--empty { border: 0; background: transparent; }
.avail__day--past { opacity: .35; }
.avail__day small { font-size: .62rem; font-weight: 500; color: inherit; opacity: .8; }
.avail__day--free { background: #e8f7ec; border-color: #b7e3c3; color: #1d6b33; }
.avail__day--few { background: var(--amber-soft); border-color: #f6d8ab; color: #8a5a12; }
.avail__day--full { background: #fdeaea; border-color: #f4c4c4; color: #a32424; }
.avail__day--unknown { background: var(--ice-100); color: var(--muted); }
.avail__day.is-today { outline: 2px solid var(--brand); outline-offset: 1px; }
.avail__note { margin: .85rem 0 0; font-size: .85rem; color: var(--muted); }
.avail__legend {
display: flex;
flex-wrap: wrap;
gap: .5rem 1.25rem;
margin: 1rem 0 0;
padding: 0;
list-style: none;
font-size: .85rem;
color: var(--ink-2);
}
.avail__legend li { display: inline-flex; align-items: center; gap: .4rem; }
.avail__dot { width: .8rem; height: .8rem; border-radius: 50%; }
.avail__dot--free { background: #4caf6a; }
.avail__dot--few { background: var(--amber); }
.avail__dot--full { background: #d9534f; }
@media print {
.header, .nav, .hero__scroll, .lightbox, .form-card { display: none !important; }
body { color: #000; }
.hero { min-height: auto; color: #000; }
.contact, .footer { background: none; color: #000; }
.contact h2, .contact__lead, .footer a { color: #000; }
}