/* Radiologie Netzwerk Salzburg – e-ray.
   Marke „Lichtkasten": der Befundschirm, auf dem Licht die Aufnahme lesbar macht.
   Dunkles Nachtblau-Band oben (Portalleiste + Navigation + Hero) mit einem leuchtenden Azur als
   einzigem Signal; darunter helle, ruhige Inhalte. Schrift: Fraunces (Display) + Hanken Grotesk (Text),
   self-hosted (CSP font-src 'self'), kein Tracking. */

@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/fraunces-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: "Fraunces"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/hanken-grotesk-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: "Hanken Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0c1726;      /* Reading-room-Dunkel: Band oben, Hero, Fuß */
  --navy-2: #122235;    /* Panels/Flächen auf Navy */
  --azure: #46c8ff;     /* leuchtendes Signal auf Dunkel */
  --azure-ink: #0e6a9e; /* lesbares Azur für Links/Akzent auf hell (AA) */
  --steel: #7f98ba;     /* gedämpftes Blau */
  --paper: #fbfdff;     /* heller Inhaltsgrund */
  --mist: #eaf1fb;      /* kühle, helle Fläche */
  --ink: #0c1726;       /* dunkle Schrift auf hell */
  --muted: #4b5a6e;     /* Sekundärtext auf hell */
  --line: #d8e2ee;      /* Linien auf hell */
  --line-dark: rgba(206,224,247,.16);
  --wrap: 70rem;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); font-size: 1.0625rem; }
img { max-width: 100%; height: auto; }
a { color: var(--azure-ink); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--azure); color: var(--navy); padding: .6rem 1rem; z-index: 30; font-weight: 700; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ======== Dunkles Band oben: Portalleiste + Kopf ======== */
.portal-bar { background: var(--navy); color: #c7d6ea; font-size: .9rem; border-bottom: 1px solid var(--line-dark); }
.portal-bar__inner { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; justify-content: center; padding-block: .5rem; }
.portal-bar a { color: #e9f1fb; text-decoration: none; font-weight: 600; padding: .22rem .8rem; border: 1px solid rgba(70,200,255,.5); border-radius: 999px; }
.portal-bar a:hover { color: var(--navy); background: var(--azure); border-color: var(--azure); }

.site-header { background: var(--navy); color: #e9f1fb; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding-block: 1rem; flex-wrap: wrap; }

/* Marke: Lichtkasten-Zeichen + Fraunces-Wortmarke + Netzwerk-Zeile */
.brand { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; color: inherit; }
.brand__mark { width: 44px; height: 44px; flex: none; display: block; }
.brand__text { display: grid; gap: .28rem; }
.brand__word { font-family: var(--display); font-weight: 600; font-size: 1.85rem; line-height: 1; letter-spacing: 0; color: #eef4fc; }
.brand__word .dot { color: var(--azure); }
.brand__net { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: #93a9c7; font-weight: 500; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .3rem; }
.main-nav a { display: block; padding: .4rem .1rem; margin: 0 .55rem; text-decoration: none; color: #b9c9e0; font-weight: 500; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: #fff; border-bottom-color: var(--line-dark); }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--azure); }
@media (max-width: 55rem) {
  .site-header__inner { flex-direction: column; align-items: flex-start; }
  .main-nav { width: 100%; }
  .main-nav a { margin: 0 .9rem 0 0; }
}

/* ======== Hero (setzt das dunkle Band fort) ======== */
.hero { background: var(--navy); color: #e9f1fb; position: relative; isolation: isolate; overflow: hidden; padding: 3.5rem 0 4rem; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -30% -10% auto auto; width: 42rem; height: 42rem; right: -8rem; top: -14rem;
  background: radial-gradient(closest-side, rgba(70,200,255,.26), rgba(70,200,255,.05) 60%, transparent 72%);
  pointer-events: none;
}
.hero__inner { display: flex; flex-direction: column; gap: 2.5rem; }
.hero__intro { max-width: 46rem; }
.hero h1 { color: #f3f8ff; }
.hero .lead { color: #bcd0e8; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 44rem; }

/* Zwei Zugänge – flach, durch eine Haarlinie getrennt (keine Kachel) */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(206,224,247,.24); padding-top: 1.9rem; }
.access__panel { display: flex; flex-direction: column; gap: .55rem; color: #e9f1fb; padding: 0 2.4rem; border-left: 1px solid rgba(206,224,247,.16); }
.access__panel:first-child { border-left: 0; padding-left: 0; }
.access__role { margin: 0; font-size: .92rem; font-weight: 600; color: var(--azure); }
.access__panel h2 { margin: .1rem 0 0; font-size: 1.7rem; color: #f3f8ff; }
.access__help { margin: .15rem 0 .5rem; color: #aec3dd; max-width: 26rem; }
.access__panel a { color: #bfe6ff; }
.access__panel .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 40rem) {
  .access { grid-template-columns: 1fr; }
  .access__panel { border-left: 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(206,224,247,.16); }
  .access__panel:first-child { padding-top: 0; border-top: 0; }
}

/* ======== So kommen Sie zu Ihren Bildern (3 echte Schritte) ======== */
.steps { background: var(--mist); border-bottom: 1px solid var(--line); }
.steps__inner { padding-block: 2.75rem; }
.steps ol { list-style: none; counter-reset: step; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 1.5rem 1.8rem 0 0; }
.steps li + li { padding-left: 1.8rem; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--azure-ink); margin-bottom: .55rem; font-variant-numeric: lining-nums; }
.steps li h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.steps li p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 46rem) {
  .steps ol { grid-template-columns: 1fr; }
  .steps li { padding: 1.3rem 0 0; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ======== Sektionen ======== */
.section { padding: 3.25rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section--soft { background: var(--mist); border-top: 1px solid var(--line); }
.section--dark { background: var(--navy); color: #e9f1fb; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #f3f8ff; }
.section--dark a { color: #bfe6ff; }
.section--dark .lead { color: #bcd0e8; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .7rem; font-size: .92rem; font-weight: 600; color: var(--azure-ink); font-family: var(--body); }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--azure); }
.section--dark .eyebrow { color: var(--azure); }
.prose { max-width: 46rem; }
.prose a:not(.btn) { color: var(--azure-ink); }

/* Karten (Unterseiten) */
.cards { display: grid; gap: 1.6rem 2.4rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.6rem; }
.card { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 1rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.card h2, .card h3 { margin-bottom: .2rem; }
.card p { margin: 0; color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.section--dark .card { border-top-color: var(--azure); }

/* Buttons – auf hell: Navy; auf dunkel: leuchtendes Azur */
.btn { display: inline-block; background: var(--navy); color: #eef4fc; font-family: var(--body); font-weight: 600; text-decoration: none; padding: .72rem 1.4rem; border-radius: 999px; border: 1px solid var(--navy); font-size: 1rem; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { background: var(--azure-ink); border-color: var(--azure-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.hero .btn, .access__panel .btn, .section--dark .btn { background: var(--azure); border-color: var(--azure); color: var(--navy); }
.hero .btn:hover, .access__panel .btn:hover, .section--dark .btn:hover { background: #7bd8ff; border-color: #7bd8ff; color: var(--navy); }
.section--dark .btn--ghost, .hero .btn--ghost { background: transparent; color: #e9f1fb; border-color: rgba(206,224,247,.5); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: #e9f1fb; color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Netzwerk / Partnerliste */
.partner-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 0 2.5rem; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.partner-list li { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.partner-list strong { display: block; margin-bottom: .35rem; font-size: 1.2rem; font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
.partner-list a { display: inline-block; margin: 0 .9rem .15rem 0; }
.section--dark .partner-list { border-top-color: var(--azure); }
.section--dark .partner-list li { border-bottom-color: rgba(206,224,247,.16); }
@media (max-width: 40rem) { .partner-list { grid-template-columns: 1fr; } }

/* Institute – interaktive, aufklappbare Liste (native <details>, kein JS) */
.institutes { margin-top: 1.7rem; border-top: 2px solid var(--ink); }
.inst { border-bottom: 1px solid var(--line); }
.inst > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: .35rem 1rem; flex-wrap: wrap; padding: 1.2rem 0; }
.inst > summary::-webkit-details-marker { display: none; }
.inst > summary:hover .inst__name { color: var(--azure-ink); }
.inst > summary:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 3px; }
.inst__name { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; transition: color .15s ease; }
.inst__meta { color: var(--muted); font-size: .95rem; }
.inst__toggle { margin-left: auto; position: relative; width: 1.1rem; height: 1.1rem; flex: none; align-self: center; }
.inst__toggle::before, .inst__toggle::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--azure-ink); }
.inst__toggle::before { width: 1.1rem; height: 2px; }
.inst__toggle::after { width: 2px; height: 1.1rem; transition: transform .2s ease; }
.inst[open] .inst__toggle::after { transform: scaleY(0); }
.inst__body { padding: 0 0 1.35rem; max-width: 44rem; }
.inst__body p { margin: 0 0 .5rem; color: var(--muted); }
.inst__links a { display: inline-block; margin: 0 1.1rem .2rem 0; }
@media (prefers-reduced-motion: reduce) { .inst__toggle::after, .inst__name { transition: none; } }

.note { border-left: 2px solid var(--azure); background: none; padding: .1rem 0 .1rem 1rem; border-radius: 0; }
.confirm { display: inline-block; background: #fff4d6; color: #6b4e00; border: 1px solid #e6c766; font-size: .78rem; font-weight: 700; padding: 0 .45rem; border-radius: 3px; margin-left: .3rem; vertical-align: middle; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.3rem; }
dl.facts dt { font-weight: 600; }
dl.facts dd { margin: 0; }

/* Formular */
.form { display: grid; gap: 1.1rem; max-width: 40rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.form label { display: grid; gap: .35rem; font-weight: 600; }
.form input, .form textarea, .form select { font: inherit; padding: .65rem .75rem; border: 1px solid #aebdcf; border-radius: 8px; width: 100%; background: var(--paper); color: var(--ink); }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { border-color: var(--azure-ink); }
.form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: .85rem 1rem; }
.form fieldset label { display: flex; gap: .5rem; font-weight: 400; align-items: center; }
.form fieldset input { width: auto; }
.form label.check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 600; }
.form label.check input { width: auto; margin-top: .25rem; flex: none; }
.form .hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status[data-state="ok"] { color: var(--azure-ink); }
.form-status[data-state="error"] { color: #a12a1a; }

/* ======== Fuß ======== */
.site-footer { background: var(--navy); color: #b8c8de; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: flex-start; justify-content: space-between; padding-block: 2.4rem 1.2rem; }
.site-footer a { color: #e9f1fb; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer__brand { display: flex; align-items: center; gap: .7rem; }
.site-footer nav { display: flex; gap: 1.3rem; }
.site-footer__copy { font-size: .85rem; padding-bottom: 1.6rem; color: #6c819b; margin: 0; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ======== Sprachumschalter (in der Navigation) ======== */
.main-nav li.nav-lang a { margin: 0 0 0 .55rem; padding: .25rem .75rem; border: 1px solid rgba(70,200,255,.5); border-radius: 999px; color: #bfe6ff; font-weight: 600; }
.main-nav li.nav-lang a:hover { background: var(--azure); border-color: var(--azure); color: var(--navy); }
@media (max-width: 55rem) { .main-nav li.nav-lang a { margin: .2rem 0 0; } }

/* ======== Video-Platzhalter (Startseite) ======== */
.video-ph { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 54rem; margin-top: 1.7rem; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #0c1726, #132742); border: 1px solid var(--line); display: grid; place-items: center; }
.video-ph::before { content: ""; position: absolute; width: 70%; height: 130%; left: 50%; top: -14%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(70,200,255,.24), transparent 70%); pointer-events: none; }
.video-ph__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: .9rem; color: #e9f1fb; text-align: center; padding: 1.5rem; max-width: 92%; }
.video-ph__play { width: 82px; height: 82px; border-radius: 999px; background: var(--azure); display: grid; place-items: center; box-shadow: 0 14px 44px -10px rgba(70,200,255,.6); }
.video-ph__play svg { width: 32px; height: 32px; margin-left: 5px; display: block; }
.video-ph__label { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); color: #f3f8ff; }
.video-ph__sub { color: #aec3dd; font-size: .95rem; margin: 0; }

/* ======== Eingebettetes Video (Startseite) ======== */
.video-embed { display: block; width: 100%; max-width: 52rem; aspect-ratio: 16 / 9; height: auto; margin-top: 1.7rem; border-radius: 16px; border: 1px solid var(--line); background: #0c1726; }
.video-embed::cue { font-size: .5em; color: #fff; background: transparent; text-shadow: 0 1px 3px rgba(0,0,0,.95); }
