/* ============================================================================
   DAGMAR TUTEIN – Stylesheet
   ----------------------------------------------------------------------------
   Aufbau dieser Datei:
     0. Schriften (lokal eingebunden, nicht von Google)
     1. Design-Tokens (Farben, Typografie, Abstände)  ← hier Farben anpassen
     2. Reset & Grundlagen
     3. Layout-Helfer (Container, Buttons, Section-Köpfe)
     4. Navigation / Header
     5. Hero
     6. Leistungen
     7. Über mich
     8. Warum ich (USP)
     9. Referenzen / Logos
    10. Ablauf
    11. Kontakt & Formular
    12. Footer
    13. Scroll-Animationen (reveal)
    14. Responsive (Mobile)
   ============================================================================ */


/* ============================================================
   0) SCHRIFTEN  –  lokal eingebunden (Stand: September 2026)
   ------------------------------------------------------------
   Bewusst NICHT von Google-Servern geladen: Das externe Einbinden uebertraegt
   die IP-Adresse jeder Besucherin an Google (LG Muenchen I, 20.01.2022,
   Az. 3 O 17493/20 - 100 EUR Schadensersatz). Lokal ausgeliefert entsteht
   gar keine Verbindung zu Dritten.

   Inter und Fraunces stehen unter der SIL Open Font License 1.1,
   Selbst-Hosten ist ausdruecklich erlaubt. Siehe fonts/LICENSE.txt

   Beides sind VARIABLE Schriften: eine Datei deckt alle Strichstaerken ab,
   deshalb 'font-weight: 400 700' statt vieler Einzeldateien.
   ============================================================ */

/* Inter – latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter – latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fraunces – latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fraunces – latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ============================================================
   1) DESIGN-TOKENS  –  zentrale Stellschrauben
   ============================================================ */
:root {
  /* --- Farbpalette (seriös, gedeckt, Beratungs-Stil) --------------------
     Anthrazit/Dunkelblau als Basis, Petrol als dezenter Akzent, viel Weiß. */
  --color-ink:        #14243a;   /* Dunkelblau/Anthrazit – Haupttext & Flächen */
  --color-ink-soft:   #33475f;   /* etwas heller, für Fließtext                */
  --color-muted:      #6b7a8d;   /* graublau, für Nebeninfos                   */
  --color-line:       #e3e8ee;   /* dezente Trennlinien / Rahmen               */
  --color-bg:         #ffffff;   /* Weiß – Grundfläche                         */
  --color-bg-alt:     #f5f7fa;   /* zartes Grau für abgesetzte Sektionen       */
  --color-accent:     #1f7a7a;   /* Petrol – Akzentton (Buttons, Linien)       */
  --color-accent-dk:  #165c5c;   /* Petrol dunkler – Hover                     */
  --color-gold:       #b08a3e;   /* dezentes Gold – feine Highlights (optional)*/

  /* --- Typografie ------------------------------------------------------- */
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif; /* für große Headlines */

  /* --- Maße & Rhythmus ------------------------------------------------- */
  --container:   1180px;   /* max. Inhaltsbreite */
  --radius:      4px;      /* Grundrundung (bewusst zurückhaltend) */
  --radius-lg:   8px;
  --section-y:   120px;    /* vertikaler Abstand der Sektionen (Desktop) */

  /* --- Übergänge ------------------------------------------------------- */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --transition:  0.35s var(--ease);
}


/* ============================================================
   2) RESET & GRUNDLAGEN
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;          /* sanftes Scrollen zu Ankern */
  scroll-padding-top: 90px;         /* Platz für die fixe Navigation */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-ink-soft);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p  { margin: 0 0 1.1em; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }


/* ============================================================
   3) LAYOUT-HELFER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* Kopfzeile einer Sektion (Label + Titel + Intro) */
.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 16px;
  position: relative;
  padding-left: 34px;
  /* Wird teils auch als <h2> genutzt: Zeilenhöhe festhalten, damit die
     Akzentlinie (::before) genauso sitzt wie beim <p>. */
  line-height: 1.7;
}
/* kurze Akzentlinie vor dem Label */
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  transform: translateY(-50%);
}
.section-head .section-label { padding-left: 0; }
.section-head .section-label::before {
  left: 50%;
  transform: translate(-50%, 14px);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* --- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition),
              color var(--transition), border-color var(--transition),
              box-shadow var(--transition);
}
.btn-sm   { padding: 12px 24px; font-size: 0.92rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dk);
  border-color: var(--color-accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(31, 122, 122, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}
.btn-ghost:hover {
  border-color: var(--color-ink);
  transform: translateY(-2px);
}


/* ============================================================
   4) NAVIGATION / HEADER (fixiert)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition),
              background var(--transition);
}
/* Klasse wird per JS beim Scrollen gesetzt */
.site-header.scrolled {
  border-bottom-color: var(--color-line);
  box-shadow: 0 6px 24px -18px rgba(20, 36, 58, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--color-ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  position: relative;
  transition: color var(--transition);
}
/* feine Unterstreichung beim Hover */
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-links a:not(.nav-cta):hover { color: var(--color-ink); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  padding: 10px 20px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius);
  color: var(--color-accent);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.nav-cta:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Burger-Icon (nur mobil sichtbar) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 0 auto;
  background: var(--color-ink);
  transition: transform var(--transition), opacity var(--transition);
}
/* animiertes X, wenn geöffnet */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobiles Ausklapp-Menü */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--color-line);
  padding: 12px 32px 24px;
}
.mobile-menu a {
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
}
.mobile-menu.open { display: flex; }


/* ============================================================
   5) HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 150px 0 90px;
  /* zarter Verlauf für Tiefe */
  background:
    radial-gradient(ellipse at 70% 0%, rgba(31, 122, 122, 0.06), transparent 55%),
    var(--color-bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

/* Hält einzelne Begriffe (z. B. „Kommunikations-Expertin") zusammen,
   sodass sie nicht am Bindestrich umbrechen. */
.eyebrow .nowrap { white-space: nowrap; }

.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 22px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 26px;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--color-ink-soft);
  max-width: 33em;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

/* Kennzahlen */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  border-top: 1px solid var(--color-line);
  padding-top: 30px;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1;
}
.hero-stats span {
  font-size: 0.86rem;
  color: var(--color-muted);
  margin-top: 8px;
  max-width: 14em;
}

/* Portrait */
.hero-portrait { margin: 0; }
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: 0 40px 80px -40px rgba(20, 36, 58, 0.45);
}
/* feiner Akzentrahmen unten links als grafisches Detail */
.portrait-frame::after {
  content: "";
  position: absolute;
  left: -14px; bottom: -14px;
  width: 55%; height: 55%;
  border-left: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  border-radius: 0 0 0 var(--radius-lg);
  pointer-events: none;
  z-index: -1;
}
.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Platzhalter, falls Foto fehlt */
.portrait-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-muted);
  background:
    repeating-linear-gradient(-45deg, #eef1f5 0 12px, #f5f7fa 12px 24px);
  text-align: center;
}
.portrait-placeholder span { font-weight: 600; color: var(--color-ink-soft); }
.portrait-placeholder small { font-size: 0.8rem; }
/* Platzhalter wirklich verstecken, wenn das hidden-Attribut gesetzt ist.
   (Ohne diese Zeile würde das obige display:flex das Verstecken aushebeln
   und der Platzhalter läge dauerhaft über dem Foto.) */
.portrait-placeholder[hidden] { display: none; }

/* Scroll-Hinweis (Maus-Andeutung) */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 2px solid var(--color-muted);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}
.scroll-hint span {
  width: 3px; height: 8px;
  margin-top: 6px;
  background: var(--color-muted);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(-4px); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; }
}


/* ============================================================
   6) LEISTUNGEN – Karten-Grid
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -34px rgba(20, 36, 58, 0.4);
  border-color: transparent;
}
.card-number {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.card h3 {
  font-size: 1.24rem;
  margin-bottom: 14px;
}
.card p {
  color: var(--color-ink-soft);
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* Abschluss-Karte mit dunklem Look */
.card-cta {
  background: var(--color-ink);
  border-color: var(--color-ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.card-cta:hover { transform: translateY(-6px); }
.card-cta h3 { color: #fff; }
.card-cta p  { color: rgba(255, 255, 255, 0.72); }


/* ============================================================
   7) ÜBER MICH
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: 0 40px 80px -44px rgba(20, 36, 58, 0.4);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

.about-text .section-title { margin-bottom: 26px; }
.about-text p { color: var(--color-ink-soft); }

/* Sprachen-Block */
.languages {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}
.languages-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.languages ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.languages li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px dotted var(--color-line);
  padding-bottom: 8px;
}
.languages li span {
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--color-muted);
}


/* ============================================================
   8) WARUM ICH (USP)
   ============================================================ */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;                        /* dünne Linien-Optik zwischen den Zellen */
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.usp-item {
  background: #fff;
  padding: 40px 34px;
  transition: background var(--transition);
}
.usp-item:hover { background: var(--color-bg-alt); }
.usp-item h3 {
  font-size: 1.16rem;
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
}
/* kleiner Akzent-Strich vor jeder USP-Überschrift */
.usp-item h3::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 4px; height: 1em;
  background: var(--color-accent);
  border-radius: 2px;
}
.usp-item p {
  color: var(--color-ink-soft);
  margin-bottom: 0;
  font-size: 0.98rem;
}


/* ============================================================
   9) REFERENZEN / LOGOS
   ============================================================ */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* letzte Reihe wird zentriert – nie „krumm“ */
  gap: 20px;
}
.logo-box {
  /* feste Breite, kein Wachsen: alle Kästen bleiben exakt gleich groß.
     168px, damit 6 Kästen (+ 5 Lücken à 20px) in eine Desktop-Reihe passen. */
  flex: 0 1 168px;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 16px;        /* Luft für längere Namen */
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition),
              color var(--transition);
}
.logo-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -26px rgba(20, 36, 58, 0.4);
  color: var(--color-ink);
}
/* Falls du echte Logos einsetzt: <img> darin wird automatisch begrenzt */
.logo-box img { max-height: 46px; width: auto; object-fit: contain; }

/* Unter 1172px passen die 6 Kästen nicht mehr in eine Reihe (Container
   1180px - 2x32px Rand). Dann lieber sauber 3 + 3 statt 5 + 1:
   560px lässt Platz für genau 3 Kästen (3x168 + 2x20 = 544). */
@media (max-width: 1171px) {
  .logo-grid { max-width: 560px; margin: 0 auto; }
}


/* ============================================================
   10) ABLAUF – Schritte
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -34px rgba(20, 36, 58, 0.4);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-line);        /* dezent im Hintergrund */
  line-height: 1;
  margin-bottom: 18px;
  transition: color var(--transition);
}
.step:hover .step-num { color: var(--color-accent); }
.step h3 { font-size: 1.18rem; margin-bottom: 12px; }
.step p  { color: var(--color-ink-soft); margin-bottom: 0; font-size: 0.96rem; }


/* ============================================================
   11) KONTAKT & FORMULAR
   ============================================================ */
.section-contact {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.82);
}
.section-contact .section-title { color: #fff; }
.section-contact .section-label { color: #6fd0d0; }
.section-contact .section-label::before { background: #6fd0d0; }
.section-contact .section-intro { color: rgba(255, 255, 255, 0.66); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-intro .section-head { text-align: left; }

/* Kontaktdaten-Liste */
.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6fd0d0;
}
.contact-details a,
.contact-details li > span:last-child {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 500;
  transition: color var(--transition);
}
.contact-details a:hover { color: #6fd0d0; }

/* Kontaktkarte auf hellem Panel.
   Steht anstelle eines Kontaktformulars – siehe Kommentar in index.html,
   Abschnitt 7. Farben hier explizit setzen: .section-contact vererbt
   helle Schrift, die auf dem weissen Panel unsichtbar waere. */
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.6);
  color: var(--color-ink-soft);
  text-align: center;
}

.contact-card-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--color-ink);
  margin: 0 0 14px;
}

.contact-card-text {
  font-size: 1.02rem;
  color: var(--color-ink-soft);
  margin: 0 0 28px;
}

/* Zusatz unter dem Button: Adresse zum Abtippen/Kopieren, falls kein
   Mailprogramm eingerichtet ist und der mailto-Link ins Leere laeuft. */
.contact-card-address {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.contact-card-address a {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.contact-card-address a:hover { border-bottom-color: var(--color-accent); }

.contact-card-alt {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: 0.95rem;
  color: var(--color-muted);
}
.contact-card-alt a {
  color: var(--color-ink);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color var(--transition);
}
.contact-card-alt a:hover { color: var(--color-accent); }


/* ============================================================
   12) FOOTER
   ============================================================ */
.site-footer {
  background: #0d1a2b;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-tag { font-size: 0.85rem; }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; }
/* LinkedIn-Link mit Icon */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer-social svg {
  width: 26px;
  height: 26px;
  fill: #0a66c2;        /* LinkedIn-Blau, damit das Icon heraussticht */
  transition: transform var(--transition);
}
.footer-social:hover svg { transform: scale(1.12); }
.footer-legal { font-size: 0.85rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.7); }
.footer-legal a:hover { color: #fff; }


/* ============================================================
   13) SCROLL-ANIMATIONEN (reveal)
   Elemente mit .reveal starten unsichtbar und werden per
   IntersectionObserver (script.js) sanft eingeblendet.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Barrierefreiheit: Bewegungen reduzieren, wenn vom Nutzer gewünscht */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
}


/* ============================================================
   14) RESPONSIVE / MOBILE
   ============================================================ */

/* --- Tablet --- */
@media (max-width: 980px) {
  :root { --section-y: 88px; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait { max-width: 420px; }
  .hero { padding-top: 130px; }

  .cards-grid,
  .usp-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 420px; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  /* Referenzen-Kästen brauchen keine feste Spaltenzahl mehr –
     das zentrierte Flex-Layout ordnet sie automatisch an. */

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* --- Mobil --- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }

  /* Navigation: Desktop-Links aus, Burger an */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 118px 0 70px; }
  .hero-stats { gap: 28px; }
  .hero-stats strong { font-size: 1.8rem; }
  .hero-actions .btn { flex: 1 1 auto; }

  .section-head { margin-bottom: 44px; text-align: left; }
  .section-head .section-label { padding-left: 34px; }
  .section-head .section-label::before { left: 0; transform: translateY(-50%); }

  .cards-grid,
  .usp-grid,
  .steps { grid-template-columns: 1fr; }

  .usp-grid { gap: 1px; }

  .languages ul { grid-template-columns: 1fr; }

  /* Auf dem Handy zwei Kästen pro Reihe */
  .logo-box { flex-basis: calc(50% - 10px); }

  .contact-card { padding: 32px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   15) RECHTSTEXT-SEITEN (Impressum / Datenschutz)
   Eigene, ruhige Lesetypografie – bewusst schmale Spalte.
   ============================================================ */
.legal-page {
  padding: 140px 0 100px;          /* Platz unter dem fixen Header */
  background: var(--color-bg);
}
.legal-inner {
  max-width: 760px;                /* angenehme Lesebreite */
}
.legal-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.legal-lead {
  font-size: 1.12rem;
  color: var(--color-muted);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
}
.legal-page h2 {
  font-size: 1.3rem;
  margin: 44px 0 14px;
}
.legal-page p { color: var(--color-ink-soft); }
.legal-page a { color: var(--color-accent); }
.legal-page a:hover { text-decoration: underline; }

/* Aufzählungen in den Rechtstexten */
.legal-list {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 1.1em;
  color: var(--color-ink-soft);
}
.legal-list li { margin-bottom: 8px; }

/* dezent hervorgehobener Hinweis-Kasten (z. B. für die Betreiberin) */
.legal-hint {
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 0.96rem;
}

.legal-back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}
