/* Radiologie in Föhren – temporäre Website */
:root {
  --blue: #0f8cb7;        /* Primärblau (Logo / Referenzseite) */
  --blue-light: #4ba9c9;  /* helles Blau */
  --blue-pale: #cfe8f1;   /* sehr helles Blau */
  --teal: #13636c;        /* dunkles Petrol */
  --ink: #00201f;         /* Textfarbe, fast schwarz */
  --sand: #fbf9f5;        /* warmer Hintergrund */
  --beige: #e7d9be;       /* Logo-Beige */
  --orange: #f28f31;      /* Logo-Orange (Akzent) */
  --white: #ffffff;
  --muted: #4a6466;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 32, 31, .08);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: .5rem;
  background: var(--teal); color: var(--white); padding: .5rem 1rem; border-radius: 8px; z-index: 10;
}
.skip-link:focus { left: .5rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(15, 140, 183, .12);
  position: sticky; top: 0; z-index: 5;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: .9rem;
}
.logo img { display: block; height: 58px; width: auto; }
.header-nav { display: flex; gap: 1.5rem; font-weight: 600; font-size: .95rem; }
.header-nav a { color: var(--teal); text-decoration: none; }
.header-nav a:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, #0b7aa1 45%, var(--teal) 100%);
  color: var(--white);
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-bottom: calc(clamp(4rem, 8vw, 5.5rem) + 2.5rem);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px; right: -140px; top: -180px;
  border: 70px solid rgba(255, 255, 255, .07);
}
.hero::after {
  width: 260px; height: 260px; right: 180px; bottom: -150px;
  background: rgba(242, 143, 49, .18);
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); padding: .35rem .8rem; border-radius: 999px; margin: 0 0 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.1; margin: 0 0 1rem; font-weight: 800; letter-spacing: -.02em;
}
.hero h1 span { color: var(--beige); }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 40rem; margin: 0 0 2rem; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #e07f22; color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--teal); color: var(--white); }

/* ---------- Sections ---------- */
section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .4rem; color: var(--teal); letter-spacing: -.01em; }
.section-head p { margin: 0; color: var(--muted); }
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; margin-top: .7rem;
  background: linear-gradient(90deg, var(--orange), var(--beige));
}

/* ---------- Kontakt-Karten ---------- */
.contact-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: calc(-1 * clamp(4rem, 8vw, 5.5rem));
  position: relative; z-index: 2;
}
.contact-section { padding-top: 0; padding-bottom: 0; }
#anfahrt { padding-top: clamp(3rem, 6vw, 4.5rem); }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem; border-top: 4px solid var(--blue);
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-pale); color: var(--blue); margin-bottom: 1rem;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 .25rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card p { margin: 0; font-size: 1.08rem; font-weight: 700; overflow-wrap: anywhere; }
.card p a { color: var(--ink); text-decoration: none; }
.card p a:hover { color: var(--blue); }
.card.accent { border-top-color: var(--orange); }
.card.accent .icon { background: #fde7d2; color: #c86a12; }

/* ---------- Anfahrt ---------- */
.map-layout { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .map-layout { grid-template-columns: 1fr 2fr; } }

.address-box {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem;
}
.address-box address { font-style: normal; font-size: 1.15rem; line-height: 1.7; margin-bottom: 1.5rem; }
.address-box address strong { color: var(--teal); }
.address-box .btn { width: 100%; justify-content: center; margin-bottom: .7rem; }
.address-box .btn-outline { border-color: var(--blue); color: var(--blue); }
.address-box .btn-outline:hover { background: var(--blue-pale); }

.map-frame {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  min-height: 380px; background: var(--blue-pale);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.55) 0 2px, transparent 3px) 0 0 / 28px 28px,
    linear-gradient(135deg, var(--blue-pale), #e8f3f7);
}
.map-consent .inner { max-width: 30rem; background: rgba(255, 255, 255, .92); padding: 1.6rem; border-radius: 14px; }
.map-consent .pin { width: 44px; height: 44px; color: var(--orange); margin: 0 auto .6rem; }
.map-consent p { margin: 0 0 1rem; font-size: .95rem; color: var(--muted); }
.map-consent p strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d6d6; font-size: .92rem; padding-block: 2.5rem; }
.site-footer .container { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .site-footer .container { grid-template-columns: 2fr 1fr; align-items: end; } }
.site-footer strong { color: var(--white); }
.site-footer p { margin: 0 0 .3rem; }
.site-footer nav { display: flex; gap: 1.25rem; justify-content: flex-start; }
@media (min-width: 800px) { .site-footer nav { justify-content: flex-end; } }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange); }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal .paper { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 3rem); max-width: 860px; }
.legal h1 { color: var(--teal); margin-top: 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { color: var(--teal); font-size: 1.2rem; margin: 2rem 0 .5rem; }
.legal address { font-style: normal; }
.legal .back { display: inline-block; margin-bottom: 1.25rem; font-weight: 600; text-decoration: none; }

/* Platzhalter – vor Livegang ersetzen */
.todo { background: #fff3cd; color: #7a4b00; padding: 0 .3em; border-radius: 4px; font-weight: 700; }

@media (max-width: 560px) {
  .logo img { height: 44px; }
  .header-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
