/* ==========================================================================
   delero holding GmbH — style.css
   Handgeschrieben. Keine externen Ressourcen, keine Schriftdateien, kein JS.
   Alle Werte stammen aus den Design-Token der Übergabe.
   ========================================================================== */

/* --- Token ------------------------------------------------------------- */

:root {
  --grund:          #FAF9F6;   /* Grundfläche, warmes Off-White */
  --flaeche-zwei:   #F5F3EC;   /* zweite Fläche, nur im Zwischenstück */
  --text:           #1F2421;   /* Text und Überschriften */
  --akzent:         #2F4A3C;   /* Links, Labels, Linien, Ringgrafik */
  --text-hero:      #4A524C;   /* Hero-Absatz und Zusagenliste */
  --text-zwischen:  #3F473F;   /* Fließtext im Zwischenstück */
  --neben:          #5E665F;   /* Nebentext, kleingesetzt */
  --ziffer-haltung: #6E766E;   /* Ziffern 01 bis 04 in der Haltung */
  --ziffer-label:   #A9B0A8;   /* Ziffern 01 bis 06 vor den Abschnittslabels */

  --linie-abschnitt: rgba(31, 36, 33, 0.14);
  --linie-innen:     rgba(31, 36, 33, 0.1);

  --unter-stark:  rgba(47, 74, 60, 0.4);
  --unter-mittel: rgba(47, 74, 60, 0.35);
  --unter-leicht: rgba(47, 74, 60, 0.28);

  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, sans-serif;

  --spalte:      880px;  /* Inhaltsspalte */
  --textspalte:  620px;  /* Textspalte */
  --labelspalte: 150px;  /* Labelspalte */
}

/* --- Grundlage --------------------------------------------------------- */

/* Ohne border-box addiert sich die 24px-Polsterung auf jede Breitenangabe
   von 100 Prozent und schiebt Kopf, Fuß und 404 waagerecht über den Rand. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: only light;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: var(--akzent);
  color: var(--grund);
}

/* --- Links ------------------------------------------------------------- */

a {
  color: var(--akzent);
  text-decoration: none;
  border-bottom: 1px solid var(--unter-mittel);
}

a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

a:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Tippfläche 44px: 14,5px Text mit 10px Luft oben und unten */
.link-fuss,
.link-extern {
  display: inline-block;
  padding: 10px 0;
  font-size: 14.5px;
  border-bottom-color: var(--unter-leicht);
}

.link-extern {
  letter-spacing: 0.02em;
}

/* --- Wortmarke --------------------------------------------------------- */

.wortmarke {
  font-size: 20px;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.wortmarke-kraeftig { font-weight: 700; }
.wortmarke-leicht   { font-weight: 200; }

a.wortmarke-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
  border-bottom: 0;
}

a.wortmarke-link:hover {
  color: var(--text);
}

/* --- Kopf -------------------------------------------------------------- */

.kopf {
  max-width: var(--spalte);
  /* width nötig, weil der Kopf auf der 404 ein Flex-Element ist und ohne
     Breitenangabe auf Inhaltsbreite schrumpft, statt am Raster zu stehen. */
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.kopf-marke {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--akzent);
  white-space: nowrap;
}

@media (max-width: 400px) {
  .kopf-marke { display: none; }
}

/* --- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  max-width: var(--spalte);
  margin: 0 auto;
  padding: clamp(52px, 10vh, 116px) 24px clamp(64px, 11vh, 120px);
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  margin: 0 0 clamp(22px, 3.4vh, 34px);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent);
}

.hero-titel {
  margin: 0;
  max-width: 19em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.016em;
  text-wrap: pretty;
}

.hero-marker {
  margin: clamp(20px, 2.8vh, 28px) 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neben);
}

.hero-marker-strich {
  width: 34px;
  height: 1px;
  background: var(--akzent);
  flex: 0 0 auto;
}

.hero-text {
  margin: clamp(32px, 4.4vh, 48px) 0 0;
  max-width: 32em;
  color: var(--text-hero);
  font-size: 17px;
}

.hero-sprung {
  margin: 24px 0 0;
}

.hero-sprung a {
  display: inline-block;
  padding: 8px 0;
  font-size: 17px;
  border-bottom-color: var(--unter-stark);
}

/* --- Jahresringe ------------------------------------------------------- */

.ringe {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.ringe-hero {
  top: 50%;
  right: -20%;
  width: min(720px, 92vw);
  transform: translateY(-50%);
  opacity: 0.3;
}

.ringe-wasserzeichen {
  top: 50%;
  left: 50%;
  width: min(880px, 130%);
  transform: translate(-50%, -50%);
  opacity: 0.16;
}

/* --- Abschnittsraster -------------------------------------------------- */

.abschnitt {
  max-width: var(--spalte);
  margin: 0 auto;
  padding: clamp(56px, 9vh, 92px) 24px;
  border-top: 1px solid var(--linie-abschnitt);
}

.abschnitt-raster {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 56px;
}

.abschnitt-label {
  flex: 0 0 var(--labelspalte);
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent);
  line-height: 1.9;
}

.abschnitt-ziffer {
  color: var(--ziffer-label);
  margin-right: 8px;
}

.abschnitt-inhalt {
  flex: 1 1 420px;
  /* Ohne min-width: 0 erbt das Flex-Element die Mindestbreite der Raster in
     01 und 03 (zwei Spalten plus Spalte) und schiebt die Seite waagerecht auf. */
  min-width: 0;
  max-width: var(--textspalte);
}

.aussage {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.34;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.nebentext {
  font-size: 14.5px;
  color: var(--neben);
}

/* --- 01 Aktueller Fokus ------------------------------------------------ */

.fokus-spalten {
  margin: 30px 0 0;
  display: grid;
  /* min(...) hält die 320px-Schwelle und verhindert zugleich, dass die eine
     verbleibende Spalte bei 320px Fensterbreite breiter wird als der Platz. */
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px 40px;
}

.fokus-spalten p {
  margin: 0;
}

.fokus-spalten .fokus-mail {
  margin: 26px 0 0;
}

.fokus-mail a {
  padding: 8px 0;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  border-bottom-color: var(--unter-stark);
}

.fokus-spalten .fokus-mail-hinweis {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--neben);
}

.zusagen {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zusagen li {
  display: flex;
  gap: 12px;
  font-size: 17px;
  color: var(--text-hero);
}

.zusagen-pfeil {
  color: var(--akzent);
}

/* --- 02 Grundannahme --------------------------------------------------- */

.formel-titel {
  margin: 0 0 22px;
}

.formel {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--akzent);
}

.formel sub {
  font-style: normal;
  font-size: 0.46em;
  letter-spacing: 0.04em;
  vertical-align: -0.15em;
}

.formel-erklaerung {
  margin: clamp(34px, 5vh, 48px) 0 0;
}

.quellenhinweis {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--linie-innen);
  font-size: 14.5px;
  font-style: italic;
  color: var(--neben);
  line-height: 1.75;
}

/* --- Zwischenstück „Warum ich das mache" ------------------------------- */

.zwischenstueck {
  position: relative;
  overflow: hidden;
  background: var(--flaeche-zwei);
  padding: clamp(64px, 11vh, 116px) 24px;
  border-top: 1px solid var(--linie-abschnitt);
}

.zwischenstueck-inhalt {
  position: relative;
  z-index: 1;
  max-width: var(--textspalte);
  margin: 0 auto;
  text-align: center;
}

.zwischenstueck-label {
  margin: 0 0 24px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent);
}

.zwischenstueck-aussage {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.44;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}

.zwischenstueck-text {
  margin: 24px 0 0;
  color: var(--text-zwischen);
}

/* --- 03 Haltung -------------------------------------------------------- */

.haltung {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(238px, 100%), 1fr));
  gap: 40px;
}

.haltung-ziffer {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ziffer-haltung);
}

.haltung h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.haltung p:last-child {
  margin: 0;
  font-size: 17px;
}

/* --- 04 Was ich nicht finanziere --------------------------------------- */

.ausschluss-einleitung {
  margin: 0 0 30px;
  color: var(--text-hero);
}

.ausschluss {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.ausschluss li {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--linie-innen);
  font-size: 17px;
}

.ausschluss-ziffer {
  flex: 0 0 auto;
  color: var(--ziffer-label);
  font-size: 12px;
  letter-spacing: 0.16em;
  padding-top: 6px;
}

/* --- 05 Wie ich investiere --------------------------------------------- */

.investieren {
  display: flex;
  flex-direction: column;
}

.investieren-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  padding: 22px 0;
  border-top: 1px solid var(--linie-innen);
}

.investieren-zeile:first-child {
  padding: 0 0 22px;
  border-top: 0;
}

.investieren-zeile:last-child {
  padding: 22px 0 0;
}

.investieren-zeile h3 {
  flex: 0 0 190px;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.investieren-text {
  flex: 1 1 250px;
}

.investieren-text p {
  margin: 0;
  font-size: 17px;
}

.investieren-text .randnotiz {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--akzent);
  line-height: 1.7;
}

/* --- 06 Beteiligungen und Investments ---------------------------------- */

.beteiligungen-einleitung {
  margin: 0 0 32px;
  font-size: 14.5px;
  color: var(--neben);
  line-height: 1.9;
}

.beteiligungen {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.beteiligungen h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.beteiligungen p {
  margin: 0 0 8px;
  font-size: 17px;
}

/* --- Fußzeile ---------------------------------------------------------- */

.fuss {
  max-width: var(--spalte);
  width: 100%;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 80px) 24px clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--linie-abschnitt);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: baseline;
  justify-content: space-between;
}

.fuss-knapp {
  padding-top: 28px;
}

.fuss-marke {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.fuss-links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
}

/* --- Unterseiten ------------------------------------------------------- */

.seite {
  max-width: var(--spalte);
  width: 100%;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 104px) 24px clamp(64px, 10vh, 104px);
}

.seiten-titel {
  margin: 0 0 clamp(40px, 6vh, 60px);
  font-family: var(--serif);
  font-weight: 400;
  /* Untere Schranke min(2rem, 8.7vw): greift erst unter 368px Fensterbreite.
     Sonst passt "Datenschutzerklärung" bei 320px nicht in die Spalte, und
     ein Trennen des Kompositums ist ausgeschlossen. */
  font-size: clamp(min(2rem, 8.7vw), 4.2vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

.seiten-titel-eng {
  margin-bottom: clamp(32px, 5vh, 48px);
}

.seiten-vorspann {
  margin: 0 0 34px;
  font-size: 14.5px;
  color: var(--neben);
}

.seiten-einleitung {
  margin: 0 0 clamp(40px, 6vh, 56px);
  max-width: var(--textspalte);
}

.bloecke {
  display: flex;
  flex-direction: column;
  max-width: var(--textspalte);
}

.bloecke-eng { gap: 30px; }
.bloecke-weit { gap: 40px; }

.blocklabel {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akzent);
}

.blocktitel {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.bloecke p {
  margin: 0;
}

.bloecke p + p {
  margin-top: 14px;
}

.rechteliste {
  margin: 14px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* --- 404 --------------------------------------------------------------- */

.seite-404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.fehlerseite {
  flex: 1 1 auto;
  max-width: var(--spalte);
  width: 100%;
  margin: 0 auto;
  padding: clamp(64px, 14vh, 140px) 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fehler-eyebrow {
  margin: 0 0 24px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent);
}

.fehler-titel {
  margin: 0;
  max-width: 19em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(min(2rem, 8.7vw), 4.2vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.016em;
  text-wrap: pretty;
}

.fehler-text {
  margin: 32px 0 0;
  max-width: 32em;
  color: var(--text-hero);
}

.fehler-rueckweg {
  margin: 24px 0 0;
}

.fehler-rueckweg a {
  display: inline-block;
  padding: 8px 0;
  border-bottom-color: var(--unter-stark);
}

/* --- Druck ------------------------------------------------------------- */

@media print {
  svg[aria-hidden="true"] {
    display: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
