﻿/*************************
Core
*************************/

/* Grundrhythmus & bessere Lesbarkeit */
:root {
  --border: #e6e6e6;
  --brand: #205baf;
  --leading: 1.6;
  --maxw: 67ch;
  --muted: #6b6b6b;
  --shadow: 0 1px 2px rgba(0,0,0,.05);
  --text: #3a3a3a;
  --white: #ffffff;
}


body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;           /* für variable Fonts */
  font-style: normal;                  /* oder italic */
  font-variation-settings: "wdth" 100;
  font-weight: 370;                    /* Beispielwert */
  margin: 0;
}

/* Überschriften-Hierarchie */
h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
}

h1 {
  font-size: clamp(1.8rem, 2.4vw, 2rem);
  font-weight: 300;
}

h2 {
  color: black;
  font-weight: 400 !important;
}

h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0.1rem 0 0.5rem;
}

/* Fließtext & Listen */
p,
ul,
li,
ol {
  color: var(--text);
  font-weight: 400;
  hyphens: auto;
  line-height: var(--leading);
  margin: 0;
  max-width: var(--maxw);
  overflow-wrap: break-word;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: normal;
}

.readable {
  max-width: 67% !important;
  margin-left: 0;
  margin-right: auto;
}

/* Links */
a {
  text-decoration: none;
}

a.nav-link {
  color: #343a40;
  font-size: 14px;
  padding-left: 20px;
}

a.nav-link:hover {
  color: gray;
}

a.nav-link:visited {
  color: #343a40;
}

a.navbar-brand {
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em !important;
  font-weight: 600 !important;
  margin-left: 10px;
  padding-top: 8px;
}

/* Zitat/Blockquote */
.blockquote {
  background: #f8fbff;
  border-left: 3px solid #205baf;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  margin-top: 20px;
  padding: .25rem .9rem;
}

/* Utilities & kleine Komponenten */
.bg-brand {
  background-color: var(--brand);
}

.b {
  font-weight: 600;
}

.border-left{
border-left:4px #205baf solid; 
padding-left:14px;  
margin-top:12px;
margin-bottom:12px;
}

.col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* alles nach unten */
  min-height: 100%;          /* falls der Row/Elternteil Höhe vorgibt */
}

.dropdown-menu {
  font-size: 14px;
  color:#343a40;
}

.eyebrow {
  border-bottom: 2px solid var(--brand);
  color: var(--brand);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 1.6rem;
  padding: 0.125rem 0;
  text-transform: uppercase;
}

.hr-strong {
  background: gray;
  border: none;
  border-top: 3px solid gray !important;
  height: 0;
  margin: 2rem 0;
}

.important {
  background-color: rgb(240, 240, 240);
  border-left: 5px solid #205baf;
  margin-bottom: 12px;
  padding: 10px 20px;
}

.kicker {
  color: #205baf;
  font-size: 1em;
  font-weight: 700;
  margin: 0 0 .25rem;
}

.lead {
  color: var(--text);
  font-size: clamp(1.4rem, 1.4vw, 1.8rem);
  font-weight: 450;
  hyphens: auto;
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
}

.mark {
  background-color: transparent;
  display: inline;   /* bleibt im Textfluss */
  font-weight: 600;
  hyphens: auto;
  margin: 0;
  padding: 0;
}

.no-border {
  border: none !important;
}

.small {
  font-size: 1rem;
}

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

.tag {
  background: transparent;
  border: 1px solid #205baf;
  border-radius: 4px;
  color: #205baf;
  display: inline-block;
  font-size: 1em;
  padding: .2rem .5rem;
}

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

/* Listenabstände */
ul,
ol {
  margin: 0.25rem 0 0.5rem;
  padding-left: 0.75rem;
}

li.strich {
  list-style: "- " !important;
  max-width: var(--maxw);
  overflow-wrap: break-word;
  padding-left: 0.5rem;         /* Platz für den Marker */
  position: relative;
  word-break: normal;
}



/* Checkliste: sichtbarer "✓ " Marker (robust via ::before) */
li.checklist {
  /* Hinweis: list-style mit String wird ignoriert, bleibt auf Wunsch stehen */
  list-style: "✓ ";
  margin-left: 14px;
  margin-right: auto;
  max-width: var(--maxw);
  overflow-wrap: break-word;
  padding-left: 1rem;
  word-break: normal;
}


/* Navigation spacing */
li.nav-item.dropdown,
.nav-item {
  margin: 2px;
  padding-left: 0.4rem;
}

/* Grids */
.grid {
  display: grid;
  gap: 1rem;
}



/* Baseline: Mobile First */

/* --- iPhone SE (max. 375px) --- */
@media (max-width: 375px) {
  .hero-card {
    padding: 0.75rem 1rem;
  }

  .eyebrow {
    font-size: 0.8rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .readable {
    max-width: 100%;
  }
}

/* --- iPhone 12/13/14 / Standard Smartphones (max. 430px) --- */
@media (max-width: 430px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 90%;
    margin: 0 auto;
  }

  .container {
    padding: 0 1rem;
  }
  
  .readable {
    max-width: 100%;
  }
}

/* --- Kleine Tablets / iPad Mini, Hochformat (max-width: 768px) --- */
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-cta {
    gap: 0.5rem;
  }

  .container {
    max-width: 700px;
  }
  
  .readable {
    max-width: 100%;
  }
}

/* --- Tablets quer / kleine Laptops --- */
@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .readable {
    max-width: 100%;
  }
}

/* --- Desktop --- */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1000px; /* statt 1140px */
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1000px; /* statt 1320px */
  }
}

/* --- Motion Preferences --- */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}

/* --- Sehr schmale Screens (Fallback) --- */
@media (max-width: 360px) {
  .eyebrow {
    font-size: 0.8rem;
  }
}


/* ======== PRINT – akademischer Satz ======== */
@page {
  size: A4;
  margin: 18mm 16mm; /* oben/unten, links/rechts */
}

@media print {

    .noprint {
      display: none !important;
    }


  /* Grundstil: Serif, kleiner, schwarz */
  body {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 11pt;
    line-height: 1.35;
    color: #000 !important;
    background: #fff !important;
  }

  /* Alles in Graustufen, ohne Shadow/Farbfonds */
  * {
    box-shadow: none !important;
    text-shadow: none !important;
    background: transparent !important;
  }

  /* Überschriften kompakt und schwarz */
  h1, h2, h3 {
    color: #000 !important;
    letter-spacing: 0;
    margin: 0.2em 0 0.35em 0 !important;
    page-break-after: avoid;
    orphans: 3;
    widows: 3;
  }
  h1 { font-size: 16pt; font-weight: 600; }
  h2 { font-size: 13pt; font-weight: 600; }
  h3 { font-size: 11.5pt; font-weight: 600; }

  /* Lauftext enger, Absätze klar getrennt */
  p, ul, ol, li, blockquote, figure, table {
    font-size: 10.5pt;
    line-height: 1.35;
    color: #000 !important;
    orphans: 3;
    widows: 3;
  }
  p { margin: 0 0 0.6em 0 !important; }



  /* Listen kompakt mit akademischem „– “ */
  ul, ol { margin: 0.25em 0 0.6em 1.2em !important; padding: 0 !important; }
  li { margin: 0.15em 0; }
  /* Strichliste robust (statt list-style: "- ") */
  li.strich {
    list-style: none !important;
    padding-left: 0 !important;
    position: static !important;
  }
  li.strich::before {
    content: "– "; /* Gedankenstrich + NBSP */
    margin-left: -1.2em;
  }

  /* Links dezent + URL anzeigen (nicht bei internen Ankern/Mail) */
  a, a:visited { color: #000 !important; text-decoration: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  a[href^="#"]::after, a[href^="mailto:"]::after { content: ""; }

  /* Zitate sachlich, ohne Farbbalken */
  .blockquote, blockquote {
    border-left: 2pt solid #000 !important;
    background: transparent !important;
    padding: 0.4em 0.8em !important;
  }

  /* Trenner feiner */
  hr, .hr-strong {
    border: 0 !important;
    height: 1px !important;
    background: #000 !important;
    opacity: .2 !important;
    margin: 10pt 0 !important;
  }

  /* Hinweise/Kästen ohne Grau-Füllung, dezente Linie */
  .important, .border-left {
    background: transparent !important;
    border-left: 2pt solid #000 !important;
    padding-left: 10pt !important;
    margin: 8pt 0 !important;
  }

  /* Karten/Boxen ohne Schatten/Farben */
  .hero-card, .tag, .bg-brand, .white {
    border-color: #000 !important;
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .tag {
    border: 1pt solid #000 !important;
    padding: 2pt 6pt !important;
    font-size: 9.5pt !important;
  }
le { page-break-inside: avoid; }
 
   /* Hyphenation für sauberen Blocksatz (falls aktiv) */
   html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
 }
