/* =========================================================
   Daniela Gieseler – Designsystem
   Farben & Schrift gemäß Corporate Design
   ========================================================= */

:root {
  --blau: #003471;
  --blau-dunkel: #00244f;
  --rot: #cd071e;
  --rot-dunkel: #a50518;
  --hellblau: #5a92c9;
  --hellblau-zart: #e8f0f9;
  --grau-hell: #f4f6f9;
  --grau-linie: #dde3ec;
  --text: #1c2533;
  --text-leise: #4a5566;
  --weiss: #ffffff;

  --schrift: Arial, Helvetica, sans-serif;
  --breite: 1160px;
  --radius: 6px;
  --schatten: 0 6px 24px rgba(0, 36, 79, 0.08);
  --abstand-sektion: clamp(4rem, 9vw, 7rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--rot); }

:focus-visible { outline: 3px solid var(--hellblau); outline-offset: 3px; }

h1, h2, h3, h4 {
  overflow-wrap: break-word;
  hyphens: manual;
  line-height: 1.2;
  color: var(--blau);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--blau); color: var(--weiss); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--weiss); }

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

.section { padding-block: var(--abstand-sektion); }
.section--grau { background: var(--grau-hell); }
.section--blau { background: var(--blau); color: var(--weiss); }
.section--blau h2, .section--blau h3 { color: var(--weiss); }

/* Kleine Überzeile mit rotem Strich */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rot); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 3px; background: var(--rot); }
.section--blau .eyebrow, .hero .eyebrow { color: var(--weiss); }

.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head p { color: var(--text-leise); font-size: 1.15rem; }
.section--blau .section-head p { color: rgba(255, 255, 255, 0.85); }

.lead { font-size: 1.2rem; color: var(--text-leise); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; border-radius: var(--radius); border: 2px solid transparent;
  font: 700 1rem/1.2 var(--schrift); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--rot { background: var(--rot); color: var(--weiss); }
.btn--rot:hover { background: var(--rot-dunkel); color: var(--weiss); }
.btn--outline-hell { border-color: rgba(255, 255, 255, 0.7); color: var(--weiss); }
.btn--outline-hell:hover { background: var(--weiss); color: var(--blau); }
.btn--outline { border-color: var(--blau); color: var(--blau); }
.btn--outline:hover { background: var(--blau); color: var(--weiss); }

.textlink {
  font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
}
.textlink::after { content: "→"; transition: transform 0.2s; }
.textlink:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--grau-linie);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--blau); }
.brand:hover { color: var(--blau); }
.brand__mark { width: 2.6rem; height: 2.6rem; flex-shrink: 0; }
.brand__name { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.96rem;
  padding-block: 0.4rem; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blau); border-bottom-color: var(--rot); }
.nav .btn { padding: 0.6rem 1.1rem; border-bottom: 0; color: var(--weiss); }
.nav .btn:hover { color: var(--weiss); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--blau);
}
.nav-toggle svg { width: 1.8rem; height: 1.8rem; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; background: var(--weiss);
    border-bottom: 1px solid var(--grau-linie); box-shadow: var(--schatten);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1rem 1.25rem; }
  .nav li a { display: block; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--grau-linie); }
  .nav li:last-child { margin-top: 1rem; }
  .nav .btn { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--blau);
  background-image:
    radial-gradient(circle at 85% 20%, rgba(90, 146, 201, 0.35), transparent 45%),
    linear-gradient(160deg, var(--blau) 0%, var(--blau-dunkel) 100%);
  color: var(--weiss);
  overflow: hidden;
  position: relative;
}
/* Bildmarke als dezentes Hintergrundmotiv */
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: clamp(22rem, 48vw, 40rem); aspect-ratio: 1;
  left: -8%; bottom: -30%;
  background: url("../img/dg-bildmarke-gross-weiss.png") center / contain no-repeat;
  opacity: 0.06;
}
.hero .container { position: relative; z-index: 1; }
.hero .container {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 { color: var(--weiss); margin-bottom: 1.2rem; }
.hero h1 .akzent { color: var(--weiss); box-shadow: inset 0 -0.18em 0 var(--rot); }
.hero__rollen {
  font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; letter-spacing: 0.02em;
  color: var(--hellblau-zart); margin-bottom: 1.4rem;
}
.hero__text { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); max-width: 34rem; margin-bottom: 2.2rem; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__bild { position: relative; }
.hero__bild::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 3px solid var(--rot); border-radius: var(--radius);
}
.hero__bild img, .hero__bild .platzhalter-bild { position: relative; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.page-hero { padding-block: clamp(3rem, 7vw, 5rem); }
.page-hero .container { display: block; padding-block: 0; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.88); max-width: 44rem; }

@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__bild { max-width: 22rem; margin-inline: auto 1.2rem; }
}

/* ---------- Platzhalter (bis echtes Material vorliegt) ---------- */
.platzhalter-bild {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, var(--hellblau-zart) 0 14px, #dce8f5 14px 28px);
  color: var(--blau); font-weight: 700; font-size: 0.9rem; padding: 1rem;
  border: 2px dashed var(--hellblau); border-radius: var(--radius);
}
.platzhalter { background: #fff3c4; color: #5c4400; padding: 0 0.25em; border-radius: 3px; font-weight: 700; }

/* ---------- Dreiklang ---------- */
.dreiklang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.saeule {
  background: var(--weiss); border-radius: var(--radius); padding: 2.2rem 2rem 2rem;
  box-shadow: var(--schatten); border-top: 4px solid var(--blau); position: relative;
}
.saeule:nth-child(2) { border-top-color: var(--rot); }
.saeule:nth-child(3) { border-top-color: var(--hellblau); }
.saeule__nr { font-size: 3rem; font-weight: 700; line-height: 1; color: var(--hellblau-zart); position: absolute; top: 1.2rem; right: 1.5rem; }
.saeule h3 { font-size: 1.45rem; }
.saeule p { color: var(--text-leise); }
.tags { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li {
  font-size: 0.85rem; font-weight: 700; color: var(--blau); background: var(--hellblau-zart);
  padding: 0.35rem 0.75rem; border-radius: 99px;
}

@media (max-width: 900px) { .dreiklang { grid-template-columns: 1fr; } }

/* ---------- Angebote ---------- */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.karte {
  display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--grau-linie);
  border-radius: var(--radius); padding: 2rem; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.karte:hover { box-shadow: var(--schatten); transform: translateY(-3px); border-color: transparent; }
.karte__icon {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--hellblau-zart); color: var(--blau);
  display: grid; place-items: center; margin-bottom: 1.3rem;
}
.karte__icon svg { width: 1.6rem; height: 1.6rem; }
.karte p { color: var(--text-leise); flex-grow: 1; }
.karte .textlink { margin-top: 0.5rem; }

@media (max-width: 960px) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .karten { grid-template-columns: 1fr; } }

/* ---------- Arbeitsweise ---------- */
.arbeitsweise { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prinzipien { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.prinzipien li {
  counter-increment: p; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem;
  padding: 1.4rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.prinzipien li:first-child { padding-top: 0; }
.prinzipien li::before {
  content: counter(p, decimal-leading-zero); font-weight: 700; font-size: 1.1rem; color: var(--hellblau);
}
.prinzipien strong { display: block; font-size: 1.15rem; margin-bottom: 0.25rem; }
.prinzipien span { color: rgba(255, 255, 255, 0.82); }
.zitat {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; font-weight: 700;
  border-left: 4px solid var(--rot); padding-left: 1.5rem; margin: 2rem 0 0;
}

@media (max-width: 860px) { .arbeitsweise { grid-template-columns: 1fr; } }

/* ---------- Autorin / Buch ---------- */
.buch { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.buch__cover { max-width: 20rem; }
.buch__cover img, .buch__cover .platzhalter-bild { aspect-ratio: 3 / 4.2; width: 100%; box-shadow: 0 18px 40px rgba(0, 36, 79, 0.25); border-radius: 3px; }
.buch__meta { color: var(--text-leise); font-weight: 700; margin-bottom: 1.2rem; }
.artikel-liste { list-style: none; padding: 0; margin: 1.5rem 0; }
.artikel-liste li { padding: 0.9rem 0; border-bottom: 1px solid var(--grau-linie); }
.artikel-liste li:first-child { border-top: 1px solid var(--grau-linie); }
.artikel-liste .quelle { display: block; font-size: 0.9rem; color: var(--text-leise); }

@media (max-width: 760px) {
  .buch { grid-template-columns: 1fr; }
  .buch__cover { max-width: 14rem; }
}

/* ---------- Über mich ---------- */
.ueber { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.ueber__bild img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.ueber__bild img + img { margin-top: 1rem; }
.fakten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.fakt { border-left: 3px solid var(--rot); padding-left: 1rem; }
.fakt strong { display: block; font-size: 2rem; color: var(--blau); line-height: 1.1; }
.fakt span { font-size: 0.92rem; color: var(--text-leise); }
.zeitleiste { list-style: none; margin: 1rem 0 1.5rem; padding: 0; border-left: 2px solid var(--grau-linie); }
.zeitleiste li { position: relative; padding: 0 0 1rem 1.5rem; color: var(--text-leise); }
.zeitleiste li::before {
  content: ""; position: absolute; left: -7px; top: 0.45em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--weiss); border: 2px solid var(--blau);
}
.zeitleiste li:last-child::before { background: var(--rot); border-color: var(--rot); }
.zeitleiste__jahr { display: block; font-weight: 700; color: var(--blau); font-size: 0.92rem; }
.qualifikationen { font-size: 0.95rem; color: var(--text-leise); }

.engagement { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.engagement li {
  background: var(--weiss); border-radius: var(--radius); padding: 1rem 1.25rem;
  border-left: 4px solid var(--hellblau); color: var(--text-leise); font-size: 0.97rem;
}
.engagement strong { display: block; color: var(--blau); margin-bottom: 0.15rem; }

.azubiscout-box {
  background: var(--grau-hell); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-top: 2rem;
  border-left: 4px solid var(--blau);
}
.azubiscout-box p:last-child { margin-bottom: 0; }

@media (max-width: 860px) { .ueber { grid-template-columns: 1fr; } .ueber__bild { max-width: 22rem; } }
@media (max-width: 480px) { .fakten { grid-template-columns: 1fr; } }

/* ---------- Referenzen ---------- */
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stimme {
  background: var(--weiss); border-radius: var(--radius); padding: 2rem; box-shadow: var(--schatten); margin: 0;
  display: flex; flex-direction: column;
}
.stimme blockquote { margin: 0 0 1.5rem; font-size: 1.05rem; flex-grow: 1; }
.stimme blockquote::before { content: "„"; display: block; font-size: 3.5rem; line-height: 0.6; color: var(--rot); font-weight: 700; margin-bottom: 0.4rem; }
.stimme figcaption { font-size: 0.92rem; color: var(--text-leise); }
.stimme figcaption strong { display: block; color: var(--blau); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 3rem; margin-top: 3.5rem; }
.logos .platzhalter-bild { width: 9rem; height: 3.5rem; font-size: 0.75rem; }

@media (max-width: 900px) { .stimmen { grid-template-columns: 1fr; } }

/* ---------- Inhaltsseiten ---------- */
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .zwei-spalten { grid-template-columns: 1fr; } }

.check-liste { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-liste li { position: relative; padding-left: 2rem; margin-bottom: 0.75rem; }
.check-liste li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.themen-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.thema { border: 1px solid var(--grau-linie); border-radius: var(--radius); padding: 1.75rem; background: var(--weiss); }
.thema h3 { margin-bottom: 0.4rem; }
.thema p { color: var(--text-leise); margin: 0; }
.thema .format { display: inline-block; margin-top: 1rem; font-size: 0.85rem; font-weight: 700; color: var(--rot); }
@media (max-width: 760px) { .themen-liste { grid-template-columns: 1fr; } }

.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.schritt { counter-increment: s; }
.schritt::before {
  content: counter(s); display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: var(--blau); color: var(--weiss); font-weight: 700; margin-bottom: 1rem;
}
.schritt p { color: var(--text-leise); }
@media (max-width: 900px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .schritte { grid-template-columns: 1fr; } }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 40rem; margin-inline: auto; }
.cta-band p { max-width: 36rem; margin: 0 auto 2rem; color: rgba(255, 255, 255, 0.85); }

.rechtstext { max-width: 48rem; overflow-wrap: break-word; hyphens: auto; }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.75rem; }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); }
.kontakt-wege { list-style: none; padding: 0; margin: 2rem 0 0; }
.kontakt-wege li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.kontakt-wege svg { width: 1.4rem; height: 1.4rem; color: var(--rot); flex-shrink: 0; }
.kontakt-wege a { font-weight: 700; text-decoration: none; }

.formular { background: var(--weiss); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--schatten); }
.feld { margin-bottom: 1.2rem; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feld label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--blau); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; color: var(--text); padding: 0.8rem 0.9rem;
  border: 1px solid #b9c4d4; border-radius: var(--radius); background: var(--weiss);
}
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(90, 146, 201, 0.35); }
.feld textarea { min-height: 9rem; resize: vertical; }
.feld--check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-leise); }
.feld--check input { width: auto; margin-top: 0.3rem; }
.feld--check label { font-weight: 400; color: inherit; margin: 0; }
.hp-feld { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pflicht { color: var(--rot); }

@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feld-reihe { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blau-dunkel); color: rgba(255, 255, 255, 0.8); padding-block: 3.5rem 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--weiss); text-decoration: none; }
.site-footer a:hover { color: var(--hellblau); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-grid .brand { color: var(--weiss); margin-bottom: 1rem; }
.footer-slogan { font-size: 1.15rem; font-weight: 700; color: var(--weiss); margin: 0 0 0.3rem; }
.footer-slogan::after { content: ""; display: block; width: 2.5rem; height: 3px; background: var(--rot); margin-top: 0.9rem; }
.footer-grid h2 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hellblau); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: 0.88rem; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
