/* AREVA — Prototyp 2026
   Grundlage: GL-Konzept "Überarbeitung der AREVA Homepage" */

@font-face {
  font-family: "Kievit";
  src: url("../fonts/kievit-book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kievit";
  src: url("../fonts/kievit-book-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Kievit";
  src: url("../fonts/kievit-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kievit";
  src: url("../fonts/kievit-bold-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Spinoza Pro";
  src: url("../fonts/spinoza-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spinoza Pro";
  src: url("../fonts/spinoza-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Spinoza Pro";
  src: url("../fonts/spinoza-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spinoza Pro";
  src: url("../fonts/spinoza-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body.areva-fonts {
  --serif: "Spinoza Pro", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Kievit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root {
  --ink: #201d19;
  --ink-soft: #4d473f;
  --muted: #7a7369;
  --line: #e6e0d4;
  --paper: #ffffff;
  --sand: #f6f3ec;
  --sand-deep: #efe9dc;
  --red: #97402a;
  --red-deep: #7c331f;
  --red-bright: #c73a1f;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; font-weight: 500; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.15em; }
a:hover { color: var(--red); text-decoration-color: currentColor; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9em;
}

.lead {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--red-deep); text-decoration: none; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn-arrow::after { content: "\2192"; margin-left: 0.15em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.logo { display: flex; align-items: center; gap: 0.6em; text-decoration: none; }
.logo img { height: 34px; width: auto; max-width: none; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(0.9rem, 1.6vw, 1.7rem);
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.current { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); padding-bottom: 2px; }
.header-extras { display: flex; align-items: center; gap: 1.2rem; }
.lang-switch a { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.lang-switch a.current { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4em;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 940px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--paper);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
    padding: 2rem 0;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; padding: 0 clamp(1.25rem,4vw,3rem); gap: 1.4rem; }
  .main-nav a { font-size: 1.15rem; }
  .nav-toggle { display: block; }
  .lang-switch { margin-top: 0.4rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-kicker {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  color: var(--ink-soft);
  margin-bottom: 0.5em;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: end;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: 1.05rem;
}
.fact-row span strong { font-weight: 600; margin-right: 0.35em; }
.fact-row span span { color: var(--ink-soft); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

.page-hero {
  padding: clamp(2.6rem, 6vw, 4rem) 0 2.2rem;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 46em; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid {
  display: grid;
  gap: var(--gap);
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
a.card:hover { border-color: var(--ink-soft); text-decoration: none; }
.card h3 { margin-bottom: 0.5em; }
.card-num {
  font-family: var(--serif);
  color: var(--red);
  font-size: 1.7rem;
  display: block;
  margin-bottom: 0.3em;
}

.mandate-card {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.mandate-card h3 { margin-bottom: 0.4em; }

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li {
  padding: 0.55em 0;
  border-bottom: 1px solid var(--line);
}
.list-plain li:last-child { border-bottom: none; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.check-list li { padding-left: 1.5em; position: relative; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--red);
}

.not-offered {
  background: var(--sand-deep);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 2.4vw, 2rem);
}
.not-offered h3 { color: var(--ink-soft); }
.not-offered ul { list-style: none; margin: 0; padding: 0; }
.not-offered li {
  padding-left: 1.4em;
  position: relative;
  color: var(--muted);
  margin-bottom: 0.5em;
}
.not-offered li::before { content: "\2013"; position: absolute; left: 0; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem; } }

/* Erzwingt einen Zeilenumbruch vor diesem Mitglied, unabhaengig von der
   Spaltenzahl des jeweiligen Breakpoints (4/3/2 Spalten). */
.team-break { grid-column-start: 1; }

.team-member { font-size: 0.92rem; }
.team-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--sand-deep);
  margin-bottom: 0.7rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member h3 { font-size: 1rem; margin-bottom: 0.15em; font-family: var(--sans); font-weight: 600; }
.team-member .role { color: var(--muted); font-size: 0.85rem; display: block; margin-bottom: 0.3em; }
.team-member .since { color: var(--muted); font-size: 0.78rem; display: block; margin-bottom: 0.3em; }
.person-dialog-body .since { color: var(--muted); font-size: 0.85rem; display: block; margin-bottom: 0.8em; }
.team-member .gl-badge { color: var(--red); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.03em; display: block; margin-bottom: 0.2em; }
.person-dialog-body .gl-badge { color: var(--red); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; display: block; margin-bottom: 0.4em; }
.team-member .mail { font-size: 0.82rem; word-break: break-word; color: var(--muted); text-decoration: none; }
.team-member .mail:hover { color: var(--red); text-decoration: underline; }
.team-group-title { margin-top: 3rem; margin-bottom: 1.2rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.team-group-title:first-of-type { margin-top: 0; }

.team-trigger {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.team-trigger .team-photo { position: relative; transition: opacity 0.15s ease; }
.team-trigger:hover .team-photo, .team-trigger:focus-visible .team-photo { opacity: 0.85; }
.team-trigger:hover h3, .team-trigger:focus-visible h3 { text-decoration: underline; text-decoration-color: var(--line); }
.team-trigger:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Person dialog ---------- */
.person-dialog {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0;
  width: min(600px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.person-dialog::backdrop { background: rgba(20,18,16,0.55); }
.person-dialog-inner { padding: clamp(1.6rem, 4vw, 2.4rem); position: relative; }
.dialog-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 2rem; height: 2rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.dialog-close:hover { color: var(--ink); border-color: var(--ink); }
.person-dialog-body { display: grid; grid-template-columns: 130px 1fr; gap: 1.5rem; }
@media (max-width: 480px) { .person-dialog-body { grid-template-columns: 1fr; } }
.person-dialog-body .team-photo { aspect-ratio: 4/5; margin-bottom: 0; }
.person-dialog-body h3 { margin-bottom: 0.2em; }
.person-dialog-body .role { color: var(--muted); font-size: 0.88rem; display: block; margin-bottom: 0.8em; }
.person-dialog-body .contact-lines { font-size: 0.9rem; margin-bottom: 1.2em; }
.person-dialog-body .contact-lines a { color: var(--ink); }
.person-dialog-body h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7em; }
.person-dialog-body ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.person-dialog-body ul li { padding-left: 1.2em; position: relative; margin-bottom: 0.55em; }
.person-dialog-body ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--red); }

/* ---------- Downloads ---------- */
.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.download-item .dl-title { font-weight: 600; color: var(--ink); }
.download-item .dl-meta { font-size: 0.85rem; color: var(--muted); }
.download-item .btn { flex-shrink: 0; }

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { border-top: 1px solid var(--ink); padding-top: 1.3rem; }
.process-step .step-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9em;
}
.process-step h3 { margin-bottom: 0.5em; }

/* ---------- Quote / positioning statement ---------- */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.45;
  max-width: 40em;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--sans); color: var(--muted); margin-bottom: 0.6em; }
.contact-block address { font-style: normal; margin-bottom: 1.2em; }
.map-frame { border: 1px solid var(--line); aspect-ratio: 16/10; }
.map-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d9d7d1;
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 800px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55em; font-size: 0.92rem; }
.site-footer .footer-logo img { height: 30px; width: auto; max-width: none; margin-bottom: 1rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.82rem;
  color: #a9a7a1;
}
.footer-bottom a { color: #a9a7a1; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.divider { border: none; border-top: 1px solid var(--line); margin: 3rem 0; }
.small { font-size: 0.85rem; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sand-deep);
  padding: 0.3em 0.7em;
  margin: 0 0.4em 0.4em 0;
}
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--ink); color: #fff; padding: 0.8em 1.2em; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }
