/* ============================================================
   SHAPING TOMORROW — style.css
   Farben aus Logo: Navy #1C3461 | Grün #5AB031 | Hellgrün #A8CC3C
   Fonts: Nunito (UI) + Source Serif 4 (Headlines)
   ============================================================ */

/* --- CSS VARIABLES ----------------------------------------- */
:root {
  --navy:        #1C3461;
  --navy-dark:   #122244;
  --navy-light:  #2a4a85;
  --green:       #5AB031;
  --green-light: #A8CC3C;
  --green-pale:  #eef7e8;
  --white:       #ffffff;
  --off-white:   #f8f9fb;
  --gray-100:    #f0f2f5;
  --gray-300:    #c8cdd6;
  --gray-500:    #7a8499;
  --gray-700:    #3d4455;
  --text:        #1e2433;

  --font-ui:      'Nunito', sans-serif;
  --font-display: 'Source Serif 4', Georgia, serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-soft: 0 4px 24px rgba(28, 52, 97, 0.08);
  --shadow-card: 0 2px 12px rgba(28, 52, 97, 0.10);

  --max-width: 1100px;
  --section-pad: 80px 24px;
}

/* --- RESET -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- HEADER ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link img {
  height: 52px;
  width: auto;
}

/* --- HERO --------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 85px);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #234a8a 100%);
  padding: 80px 24px;
  display: flex;
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: start;
  gap: 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--green-light);
}

.hero-subline {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(90, 176, 49, 0.35);
}

.cta-button:hover {
  background: #4a9828;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90, 176, 49, 0.45);
}

/* Hero decorative + logo column */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: start;
  height: fit-content;
}

.hero-blob {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(90,176,49,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  right: 60px;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(168,204,60,0.4) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease 0.2s both;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
  transition: transform 0.4s ease;
}

.hero-logo-img:hover {
  transform: scale(1.04);
}

/* --- UNDER CONSTRUCTION NOTICE ----------------------------- */
.construction-notice {
  background: var(--green-pale);
  border-top: 3px solid var(--green);
  padding: 22px 24px;
}

.construction-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--navy);
}

.construction-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--green);
}

.construction-inner p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--navy);
}

.construction-inner a {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1.5px solid var(--green);
  transition: color 0.15s ease;
}

.construction-inner a:hover { color: var(--green); }

/* --- LEISTUNGEN -------------------------------------------- */
.leistungen {
  padding: var(--section-pad);
  background: var(--off-white);
}

.leistungen-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 48px;
  max-width: 560px;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.leistung-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.leistung-icon {
  color: var(--green);
  margin-bottom: 20px;
}

.leistung-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.leistung-card p {
  font-size: 0.93rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* --- KONTAKT ----------------------------------------------- */
.kontakt {
  padding: var(--section-pad);
  background: var(--navy);
  text-align: center;
}

.kontakt-inner {
  max-width: 560px;
  margin: 0 auto;
}

.kontakt .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.kontakt-text {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

.kontakt-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-light);
  border-bottom: 2px solid rgba(168,204,60,0.4);
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
  letter-spacing: 0.01em;
}

.kontakt-email:hover {
  color: var(--white);
  border-color: var(--white);
}

/* --- FOOTER ------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s ease;
}

.footer-legal a:hover { color: var(--white); }

/* --- ANIMATIONS -------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE -------------------------------------------- */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 24px 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-logo-img {
    max-width: 200px;
  }

  .hero-dots { display: none; }

  .break-mobile { display: block; }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal { justify-content: center; }
}

@media (min-width: 769px) {
  .break-mobile { display: none; }
}

/* --- LEGAL PAGES (Impressum / Datenschutz) ----------------- */
.legal-page {
  padding: 64px 24px 96px;
  background: var(--white);
}

.legal-inner {
  max-width: 720px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 40px;
  transition: color 0.15s ease;
}

.back-link:hover { color: var(--navy); }

.legal-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-100);
}

.legal-inner h2 {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 40px;
  margin-bottom: 10px;
}

.legal-inner p {
  font-size: 0.97rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.legal-inner a {
  color: var(--navy);
  border-bottom: 1px solid var(--gray-300);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.legal-inner a:hover {
  color: var(--green);
  border-color: var(--green);
}

.legal-inner ul {
  margin: 12px 0 16px 0;
  padding-left: 20px;
}

.legal-inner ul li {
  font-size: 0.97rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 4px;
}

/* --- FONT-FACE (self-hosted, DSGVO-konform) ---------------- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-v32-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/nunito-v32-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-v32-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/source-serif-4-v14-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/source-serif-4-v14-latin-300italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-serif-4-v14-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-serif-4-v14-latin-regular.woff2') format('woff2');
}
/* ----------------------------------------------------------- */

/* =============================================================
   ÜBER MICH — ueber-mich.html
   ============================================================= */

/* --- ABOUT HERO -------------------------------------------- */
.about-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #234a8a 100%);
  padding: 80px 24px;
}

.about-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  gap: 60px;
}

.about-hero-text { animation: fadeUp 0.8s ease both; }

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.about-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.about-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 36px;
}

.about-hero-visual {
  display: flex;
  justify-content: center;
  animation: fadeUp 1s ease 0.2s both;
}

.about-avatar-wrap {
  border-radius: var(--radius-lg);
  width: 280px;
  height: 350px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.25);
  flex-shrink: 0;
  isolation: isolate;
  transform: translateZ(0); /* fix border-radius clipping in Safari */
}

.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* --- KOMPETENZEN ------------------------------------------- */
.kompetenzen {
  padding: var(--section-pad);
  background: var(--off-white);
}

.kompetenzen-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.kompetenzen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.kompetenz-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kompetenz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.kompetenz-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0 10px;
  line-height: 1.35;
}

.kompetenz-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* --- TIMELINE ---------------------------------------------- */
.timeline-section {
  padding: var(--section-pad);
  background: var(--white);
}

.timeline-inner {
  max-width: 800px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin-top: 48px;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 0;
  width: 2px;
  background: var(--gray-100);
}

.timeline-item {
  position: relative;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: start;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--gray-300);
  z-index: 1;
}

.timeline-marker.current {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(90,176,49,0.15);
}

.timeline-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-500);
  padding-top: 4px;
  white-space: nowrap;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.timeline-org {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* --- WEITERBILDUNGEN --------------------------------------- */
.weiterbildungen {
  padding: var(--section-pad);
  background: var(--off-white);
}

.weiterbildungen-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.wb-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
}

.wb-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.wb-item:last-child { border-bottom: none; }

.wb-year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  min-width: 36px;
  flex-shrink: 0;
}

.wb-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wb-item strong {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
}

.wb-item span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- RESPONSIVE: ÜBER MICH --------------------------------- */
@media (max-width: 768px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-visual { justify-content: flex-start; }

  .about-avatar-wrap {
    width: 180px;
    height: 200px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline-date { padding-top: 0; }

  .kompetenzen-grid {
    grid-template-columns: 1fr;
  }
}

/* --- MAIN NAVIGATION --------------------------------------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}

.nav-link:hover { color: var(--green); }
.nav-link:hover::after { width: 100%; }

@media (max-width: 480px) {
  .main-nav { gap: 20px; }
  .nav-link { font-size: 0.85rem; }
}

/* --- KLICKBARE KARTEN -------------------------------------- */
.leistung-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.leistung-card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card-link-hint {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.02em;
}

/* --- USP SEKTION ------------------------------------------- */
.usp-section {
  background: var(--green-pale);
  border-top: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  padding: var(--section-pad);
}

.usp-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: center;
}

.usp-text .section-title {
  margin-bottom: 20px;
}

.usp-text p {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.8;
  margin-bottom: 14px;
}

.usp-text p:last-child { margin-bottom: 0; }

.usp-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.usp-pill {
  background: var(--white);
  border: 1.5px solid var(--green);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* --- REFERENZEN -------------------------------------------- */
.referenzen {
  padding: var(--section-pad);
  background: var(--white);
}

.referenzen-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.referenz-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.referenz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.referenz-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.referenz-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.35;
}

.referenz-client {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}

.referenz-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* --- RESPONSIVE: USP & REFERENZEN ------------------------- */
@media (max-width: 768px) {
  .usp-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .usp-pills {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .referenzen-grid {
    grid-template-columns: 1fr;
  }
}

/* --- UNTERSEITEN ALLGEMEIN --------------------------------- */
.subpage-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 24px 56px;
}

.subpage-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.subpage-hero-inner .back-link {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

.subpage-hero-inner .back-link:hover { color: var(--white); }

.subpage-hero-inner .hero-eyebrow {
  color: var(--green-light);
  margin-bottom: 16px;
}

.subpage-hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.subpage-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  max-width: 660px;
}

.subpage-content {
  padding: 64px 24px 80px;
  background: var(--white);
}

.subpage-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* --- FORMAT GRID (Leistungsseiten) ------------------------- */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.format-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--gray-100);
}

.format-icon {
  color: var(--green);
  margin-bottom: 16px;
}

.format-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.format-card p {
  font-size: 0.93rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 10px;
}

.format-card p:last-of-type { margin-bottom: 16px; }

/* --- PROCESS BLOCK ----------------------------------------- */
.process-block h2,
.highlight-block h2,
.faq-block h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 32px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.93rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* --- HIGHLIGHT BLOCK --------------------------------------- */
.highlight-block {
  background: var(--green-pale);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border-left: 4px solid var(--green);
}

.highlight-block p {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.8;
  margin-bottom: 14px;
}

.highlight-block p:last-child { margin-bottom: 0; }

/* --- FAQ BLOCK --------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 0;
}

.faq-item:first-child { border-top: 1px solid var(--gray-100); }

.faq-item summary {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  font-size: 0.93rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-top: 12px;
}

/* --- PROJEKT META ------------------------------------------ */
.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--gray-100);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.meta-value {
  font-size: 0.93rem;
  color: var(--navy);
  line-height: 1.5;
}

/* --- PROJEKT DESCRIPTION ----------------------------------- */
.project-description h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin: 36px 0 14px;
}

.project-description h2:first-child { margin-top: 0; }

.project-description p {
  font-size: 0.97rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 14px;
}

.external-link {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.93rem;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

.external-link:hover { color: var(--green); }

/* --- MODULE CARDS ------------------------------------------ */
.module-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.module-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-100);
}

.module-label {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.module-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.module-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* --- NOTICE BLOCK ------------------------------------------ */
.notice-block {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 20px;
}

.notice-block p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0;
}

.notice-block a {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--green);
}

/* --- RESPONSIVE: UNTERSEITEN ------------------------------ */
@media (max-width: 768px) {
  .module-cards { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr 1fr; }
  .process-step { flex-direction: row; }
}

@media (max-width: 480px) {
  .project-meta { grid-template-columns: 1fr; }
}

/* --- UNTERSEITEN: FAQ & CTA -------------------------------- */
.subpage-faq {
  margin: 48px 0 40px;
  border-top: 2px solid var(--gray-100);
  padding-top: 40px;
}

.subpage-faq h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
}

.faq-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-100);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.97rem;
  color: var(--gray-500);
  line-height: 1.8;
}

.subpage-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

.subpage-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  line-height: 1.7;
}
