@font-face {
  font-family: "AM-Text";
  src:  url('../fonts/v2/qualion-regular.woff') format('woff'),
        url('../fonts/v2/qualion-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AM-Text";
  src:  url('../fonts/v2/qualion-bold.woff') format('woff'),
        url('../fonts/v2/qualion-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-from: #001E6E;
  --bg-to: #00101E;
  --text: rgba(255, 255, 255, .75);
  --text-strong: #fff;
  --headline: #0091BC;
  --accent: #E94842;
  --accent-hover: #D5362F;
  --line: rgba(255, 255, 255, .16);
  --surface: rgba(255, 255, 255, .07);
  --gutter: clamp(20px, 5vw, 64px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-to);
  background-image: linear-gradient(170deg, var(--bg-from), var(--bg-to));
  color: var(--text);
  font-family: "AM-Text", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

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

a:focus-visible { outline: 3px solid var(--text-strong); outline-offset: 3px; }

/* Header: untereinander und zentriert auf Mobile/Tablet, ab Desktop nebeneinander */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
}
.site-header__logo { width: 180px; }
.site-header__claim { width: 100%; max-width: 582px; }

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px var(--gutter) 80px;
}

h1, h2, h3 { margin: 0; color: var(--headline); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.625rem, 1.4rem + 1vw, 2.25rem); margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 16px; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.intro {
  display: grid;
  gap: 48px;
  padding: clamp(24px, 5vw, 64px);
  border-radius: 16px;
  background: var(--surface);
}

.intro__address { padding-left: 24px; border-left: 3px solid var(--accent); }
.intro__address address { font-style: normal; }
.intro__address strong { color: var(--text-strong); }
.intro__address a { color: var(--accent); }
.intro__address a:hover { color: var(--text-strong); }
.intro__address .dot { display: inline-block; margin-right: .22em; color: var(--accent); }

.hours { margin-top: 72px; }
.hours__lead { max-width: 70ch; }

.hours__row {
  display: grid;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.times { border-collapse: collapse; }
.times th, .times td { padding: 6px 0; text-align: left; vertical-align: top; }
.times th { padding-right: 24px; color: var(--text-strong); font-weight: 400; white-space: nowrap; }
.times__note { margin-top: 12px; }

.booking { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  text-wrap: balance;
  transition: background-color .15s ease;
}
.button:hover { background: var(--accent-hover); }

/* Das Logo ist dunkelblau und braucht auf dem Verlauf einen hellen Grund */
.booking__logo {
  display: block;
  padding: 12px 16px;
  border-radius: 4px;
  background: #fff;
}
.booking__logo img { width: 200px; }

.site-header__home { display: block; border-radius: 4px; }

.legal > * { max-width: 760px; }
.legal h1 { margin-bottom: 32px; }
.legal h2 { margin: 48px 0 12px; font-size: 1.5rem; }
.legal h3 { margin: 24px 0 8px; font-size: 1.1875rem; }
.legal h2 + h3 { margin-top: 0; }
.legal p:last-child { margin-bottom: 16px; }
.legal a { color: var(--accent); overflow-wrap: anywhere; }
.legal a:hover { color: var(--text-strong); }

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px var(--gutter) 40px;
  font-size: .9375rem;
}
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--text-strong); text-decoration: underline; }

/* Schmale Phones: Wochentag über der Uhrzeit, sonst reicht die Breite nicht */
@media (max-width: 399px) {
  .times th, .times td { display: block; padding: 0; }
  .times tr { display: block; padding: 6px 0; }
}

@media (min-width: 768px) {
  .hours__row { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; }
}

@media (min-width: 1025px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
    padding-top: 48px;
  }
  .site-header__claim { width: auto; min-width: 0; flex: 0 1 582px; }

  .intro { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; align-items: start; }
  .hours__row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
