/* One stylesheet, no JavaScript. Values follow the retired 2026 shop:
   Oswald, the tenant colour on header and footer, white cards on #f4f4f4. */

@font-face {
  font-family: Oswald;
  src: url('/fonts/Oswald-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Oswald;
  src: url('/fonts/Oswald-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* Tenant colours. CSP forbids inline styles, so each tenant is a class. */
.t-tuerlersee { --brand: #20365f; --on-brand: #ffffff; --on-brand-soft: rgba(255, 255, 255, 0.72); --accent: #20365f; }
.t-mettmi { --brand: #cbdded; --on-brand: #171717; --on-brand-soft: rgba(23, 23, 23, 0.66); --accent: #000000; }

:root {
  --ground: #f4f4f4;
  --ink: #171717;
  --ink-2: #525252;
  --ink-3: #737373;
  --line: #e5e5e5;
  --rail: 1184px;
  --gut: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.45 Oswald, 'Arial Narrow', sans-serif; }
h1, h2, h3, p, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.rail { width: 100%; max-width: calc(var(--rail) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.main { flex: 1; padding-top: 40px; padding-bottom: 72px; display: grid; gap: 24px; align-content: start; }
.main:focus { outline: none; }

.skip { position: absolute; left: 16px; top: -48px; z-index: 10; padding: 8px 14px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 16px; }

/* Header + footer bars */
.bar { background: var(--brand); color: var(--on-brand); }
.bar-row { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--on-brand-soft); font-weight: 700; font-size: 17px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--on-brand); border-bottom-color: currentColor; }
.icon-sm { width: 13px; height: 13px; }

.foot { padding-top: 28px; padding-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { font-weight: 700; font-size: 15px; }
.foot-by { font-size: 12px; color: var(--on-brand-soft); }
.foot-by a { text-decoration: none; }
.foot-by a:hover { text-decoration: underline; }
.foot-links { display: grid; gap: 10px; justify-items: end; }
.sep { display: flex; font-size: 14px; }
.sep a { color: var(--on-brand-soft); text-decoration: none; padding: 0 12px; border-left: 1px solid color-mix(in srgb, var(--on-brand) 30%, transparent); }
.sep a:first-child { border-left: 0; }
.sep a:last-child { padding-right: 0; }
.sep a:hover, .sep a[aria-current] { color: var(--on-brand); }
.sep a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Shared surfaces */
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--ink); color: #fff; }
a.inline { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }

/* Start page */
.hero { position: relative; overflow: hidden; border-radius: 4px; min-height: 246px; display: grid; align-items: center; background: var(--brand); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); }
.hero-copy { position: relative; z-index: 1; padding: 48px; color: #fff; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; font-weight: 700; }
.hero p { margin-top: 12px; font-size: clamp(17px, 2vw, 22px); max-width: 60ch; }

.notice { padding: 56px 24px; text-align: center; }
.notice h1, .notice h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; font-weight: 700; }
.notice p { margin-top: 10px; color: var(--ink-2); font-size: 18px; }
.notice .button { margin-top: 18px; }
.order-contact { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.order-contact p { margin-top: 0; font-size: 16px; }
.order-contact-name { color: var(--ink); font-weight: 700; }
.order-contact-lines { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; }

.section { display: grid; gap: 12px; }
.section-title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; font-weight: 700; }
.section-intro { font-size: clamp(17px, 1.8vw, 22px); max-width: 70ch; }

.prices { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; }
.price-head { padding: 26px 24px 22px; border-bottom: 1px solid var(--line); }
.price-head h2 { font-size: 26px; line-height: 1.2; font-weight: 700; }
.price-head p { margin-top: 2px; color: var(--ink-2); font-size: 18px; }
.rows { list-style: none; padding: 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 32px; border-top: 1px solid #efefef; }
.row:first-child { border-top: 0; }
.row-name { font-size: 19px; line-height: 1.3; }
.row-desc { font-size: 13px; color: var(--ink-3); }
.row-price { font-weight: 700; font-size: 20px; white-space: nowrap; }
.price-extra { padding: 20px 32px 28px; border-top: 1px solid var(--line); font-size: 14px; color: #404040; }
.price-extra ul { margin-top: 8px; padding-left: 20px; display: grid; gap: 4px; }
.price-note { padding: 18px 32px 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }

.features { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.feature { padding: 28px 24px; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 4px; background: var(--brand); color: var(--on-brand); }
.icon { width: 22px; height: 22px; }
.feature h2 { margin-top: 18px; font-size: 22px; font-weight: 700; }
.feature p { margin-top: 4px; color: var(--ink-2); }
.contact { margin-top: 24px; padding: 32px; border-radius: 4px; background: var(--brand); color: var(--on-brand); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact h2 { font-size: 30px; font-weight: 700; }
.contact p { margin-top: 4px; max-width: 56ch; color: var(--on-brand-soft); }
.contact-links { display: flex; gap: 12px; flex-wrap: wrap; }
.contact .button { border-color: var(--on-brand); color: var(--on-brand); }
.contact .button:hover { background: var(--on-brand); color: var(--brand); }

/* Legal pages */
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 6px 0 10px; color: var(--ink-3); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.legal-head { padding: 32px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1; font-weight: 700; }
.legal-head p { margin-top: 12px; color: var(--ink-3); }
.legal-section { padding: 32px; border-top: 1px solid var(--line); color: #404040; }
.legal-section:first-of-type { border-top: 0; }
.legal-section h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.legal-section > * + * { margin-top: 8px; }
.legal-section .group > * + * { margin-top: 2px; }
.legal-section .group + .group { margin-top: 16px; }
.legal-section .strong { font-weight: 700; color: var(--ink); }
.legal-section ul { padding-left: 20px; display: grid; gap: 4px; }

@media (max-width: 720px) {
  .main { padding-top: 20px; gap: 16px; }
  .bar-row { min-height: 0; padding-top: 16px; padding-bottom: 14px; }
  .logo img { height: 40px; }
  .nav { width: 100%; gap: 22px; }
  .nav a { font-size: 16px; }
  .hero { min-height: 220px; }
  .hero-copy { padding: 28px 20px; }
  .notice { padding: 36px 20px; }
  .prices { gap: 20px; }
  .price-head { padding: 20px 18px 16px; }
  .row { padding: 14px 18px; }
  .price-extra, .price-note { padding-left: 18px; padding-right: 18px; }
  .contact { padding: 24px 20px; }
  .legal-head, .legal-section { padding: 22px 18px; }
  .foot-links { justify-items: start; }
  .sep a:first-child { padding-left: 0; }
}
