:root {
    --gold: #b8985a;
    --gold-light: #d4b87a;
    --cream: #f5f0e8;
    --dark: #0f0e0c;
    --dark-mid: #1a1916;
    --dark-card: #201f1c;
    --text: #c8c2b4;
    --text-light: #e8e2d8;
    --border: rgba(184,152,90,0.18);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px; /* fixed nav height + buffer (desktop) */
  }

  /* Visible keyboard-focus indicator (WCAG 2.4.7) */
  :focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
  }

  /* Lock background scroll when an overlay (mobile menu) is open */
  body.no-scroll { overflow: hidden; }

  /* Respect users who prefer reduced motion (WCAG 2.3.3) */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 60px;
    background: linear-gradient(to bottom, rgba(15,14,12,0.95) 0%, transparent 100%);
    backdrop-filter: blur(4px);
    transition: background 0.4s;
  }

  nav.scrolled {
    background: rgba(15,14,12,0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 60px;
  }

  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    color: var(--cream);
    text-transform: uppercase;
  }

  .nav-logo span { color: var(--gold); }

  .nav-links {
    display: flex;
    gap: 38px;
    list-style: none;
  }

  .nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.3s;
  }

  .nav-links a:hover { color: var(--gold-light); }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .nav-cta {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 22px;
    font-family: 'Jost', sans-serif;
    font-size: 0.73rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
  }

  .nav-cta:hover {
    background: var(--gold);
    color: var(--dark);
  }

  /* LANGUAGE SWITCHER */
  .lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
  }

  .lang-switcher-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 14px;
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .lang-switcher-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
  }

  .lang-switcher-btn .lang-flag {
    font-size: 1rem;
    line-height: 1;
  }

  .lang-switcher-btn .lang-arrow {
    font-size: 0.55rem;
    opacity: 0.6;
    transition: transform 0.3s;
  }

  /* Globus-Icon: macht klar, dass es sich um eine Sprachauswahl handelt */
  .lang-switcher-btn .lang-globe { display: inline-block; opacity: 0.75; }

  .lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
  }

  .lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dark-card);
    border: 1px solid var(--border);
    min-width: 138px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.25s ease;
  }

  .lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }

  .lang-option {
    display: block;
    width: 100%;
    padding: 9px 15px;
    font-family: 'Jost', sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    color: var(--text);
    background: none;
    cursor: pointer;
    border: none;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
  }

  .lang-option:last-child { border-bottom: none; }

  .lang-option:hover {
    background: rgba(184,152,90,0.08);
    color: var(--gold);
  }

  .lang-option.active {
    color: var(--gold);
    background: rgba(184,152,90,0.06);
  }

  .lang-option .flag { font-size: 1.05rem; }

  /* HERO */
  .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to right,
        rgba(15,14,12,1) 0%,
        rgba(15,14,12,0.92) 25%,
        rgba(15,14,12,0.55) 48%,
        rgba(15,14,12,0.15) 65%,
        rgba(15,14,12,0.0) 80%
      ),
      url('../images/hero.jpg') center/cover no-repeat;
  }

  .hero-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Ccircle cx='30' cy='30' r='0.5' fill='rgba(184,152,90,0.05)'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    z-index: 1;
  }

  .hero-line { display: none; }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 160px 60px 100px;
    max-width: 520px;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 400;
    color: var(--cream);
    line-height: 1.18;
    margin-bottom: 28px;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--gold-light);
  }

  .hero-sub {
    font-size: 1rem;
    color: var(--text);
    max-width: 460px;
    margin-bottom: 50px;
    line-height: 1.8;
  }

  .hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--gold);
    color: var(--dark);
    padding: 15px 32px;
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
  }

  .btn-primary:hover { background: var(--gold-light); }

  .btn-ghost {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
  }

  .btn-ghost:hover { color: var(--gold); }

  .btn-ghost::after {
    content: '→';
    transition: transform 0.3s;
  }

  .btn-ghost:hover::after { transform: translateX(4px); }

  .hero-right {
    display: none;
  }

  /* Hero-Stats: Zahlen-Counter rechts vom .hero-line */
  .hero-stats {
    position: absolute;
    right: 6%;
    top: 55%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 32px;
    z-index: 3;
    text-align: right;
    pointer-events: none; /* clicks gehen durch */
  }

  .hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 400;
    color: var(--cream);
    line-height: 1;
    letter-spacing: -0.02em;
    /* Tabular-Ziffern, damit beim Hochzählen nichts springt */
    font-variant-numeric: tabular-nums;
    /* Einheitlicher Schatten (Mittelwert über Zahl + Label) — gleich stark auf jedem Element */
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.72), 0 1px 4px rgba(0, 0, 0, 0.72);
  }

  .hero-stat-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cream);
    margin-top: 10px;
    /* Einheitlicher Schatten — exakt wie .hero-stat-num, damit Zahl und Label gleich wirken */
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.72), 0 1px 4px rgba(0, 0, 0, 0.72);
  }

  /* Auf kleinen Bildschirmen: stats unter dem Text als horizontale Reihe */
  @media (min-width: 561px) and (max-width: 900px) {
    /* Tablet: Hero soll nur so hoch sein wie der Inhalt + etwas Luft, nicht volle Viewport-Höhe */
    .hero { min-height: 0; }
    .hero-stats { padding-bottom: 40px; }
  }
  @media (max-width: 900px) {
    .hero { flex-direction: column; align-items: stretch; justify-content: flex-start; }
    .hero-stats {
      position: static;
      transform: none;
      flex-direction: row;
      justify-content: space-between;
      gap: 12px;
      text-align: left;
      padding: 0 24px 60px;
      pointer-events: auto;
    }
    .hero-stat { flex: 1; min-width: 0; }
    .hero-stat-num { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    .hero-stat-label {
      font-size: 0.58rem;
      letter-spacing: 0.18em;
      margin-top: 6px;
    }
  }
  @media (max-width: 560px) {
    .hero-stats { padding: 0 20px 50px; gap: 10px; }
    .hero-stat-label { font-size: 0.54rem; letter-spacing: 0.14em; }
  }

  .hero-portrait {
    width: 100%;
    height: 100%;
    background:
      linear-gradient(to right, var(--dark) 0%, transparent 30%),
      linear-gradient(180deg, rgba(15,14,12,0.4) 0%, transparent 30%, transparent 70%, rgba(15,14,12,0.6) 100%),
      linear-gradient(135deg, #1a1a18 0%, #252420 50%, #1e1c18 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-sea-img {
    display: none;
    position: absolute;
    inset: 0;
    background:
      url('../images/hero.jpg') center/cover no-repeat;
    opacity: 0.85;
  }

  /* LANGUAGES BAR */
  .lang-bar {
    background: var(--dark-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    overflow-x: auto;
  }
  .lang-flags-wrap { display: contents; }

  .lang-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .lang-divider { width: 1px; height: 16px; background: var(--border); flex-shrink: 0; }

  .lang-flags { display: flex; gap: 28px; align-items: center; }

  .lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
  }

  .lang-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.5;
  }

  /* SECTIONS */
  section { padding: 110px 60px; }

  .section-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .section-eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold);
  }

  h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--cream);
    line-height: 1.2;
    margin-bottom: 30px;
  }

  h2 em { font-style: italic; color: var(--gold-light); }

  /* ABOUT */
  .about { background: var(--dark-mid); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    max-width: 1260px;
    margin: 0 auto;
    align-items: center;
  }

  .about-portrait {
    width: 280px;
    flex-shrink: 0;
    position: relative;
  }

  .about-portrait-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: grayscale(12%);
  }

  /* Dezenter Offset-Rahmen: gleichmäßig nach unten-links versetzt, in Gold-Tönung */
  .about-portrait-line {
    position: absolute;
    top: 16px;
    left: -16px;
    right: 16px;
    bottom: -16px;
    border: 1px solid rgba(184, 152, 90, 0.35);
    z-index: -1;
    pointer-events: none;
  }

  .about-portrait-tag {
    position: absolute;
    bottom: -14px;
    left: 0;
    right: 0;
    background: var(--gold);
    padding: 10px 16px;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dark);
    text-align: center;
    font-weight: 500;
  }

  .about-text p {
    margin-bottom: 20px;
    font-size: 1.02rem;
    color: var(--text);
    line-height: 1.85;
  }

  .about-text p:first-of-type {
    font-size: 1.12rem;
    color: var(--text-light);
  }

  .about-right { position: relative; }

  .about-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    padding: 40px;
  }

  .about-card-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
  }

  .timeline { display: flex; flex-direction: column; gap: 0; }

  .timeline-item {
    display: flex;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
  }

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

  .timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    color: var(--gold);
    width: 130px;
    flex-shrink: 0;
    padding-top: 2px;
    line-height: 1.3;
  }

  .timeline-content {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.6;
  }

  .timeline-content strong {
    display: block;
    color: var(--text-light);
    margin-bottom: 3px;
    font-weight: 400;
  }

  /* EXPERTISE */
  .expertise { background: var(--dark); }

  .expertise-header {
    max-width: 1200px;
    margin: 0 auto 70px;
  }

  .expertise-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .expertise-header-text {
    flex: 1;
  }

  .expertise-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dgi-wrapper {
    background: var(--dark-card);
    border: 1px solid var(--border);
    padding: 28px 32px;
    width: 380px;
    overflow: hidden;
  }

  .dgi-wrapper-label {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
  }

  #dgiBadge-curriculum-impl {
    width: 100%;
  }

  /* Statisches DGI-Badge — Text + Siegel sind ins Bild gebacken,
     daher reicht das Bild + Link. Verhält sich wie der DGI-Skript-Render. */
  .dgi-static-link {
    display: block;
    max-width: 340px;
    text-decoration: none;
    transition: opacity 0.25s;
  }
  .dgi-static-link:hover { opacity: 0.88; }
  .dgi-static-link img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* DGI Badge intern auf volle Breite strecken */
  #dgiBadge-curriculum-impl > * {
    width: 100% !important;
    max-width: 100% !important;
  }



  

  .expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    max-width: 1200px;
    margin: 0 auto;
  }

  .exp-card {
    background: var(--dark-card);
    padding: 44px 36px;
    transition: background 0.3s;
    cursor: default;
  }

  .exp-card:hover { background: #252320; }

  .exp-icon {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--gold);
    opacity: 0.8;
  }

  .exp-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .exp-card p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text);
  }

  .exp-tag {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    border-top: 1px solid var(--gold);
    padding-top: 10px;
    width: 100%;
  }

  /* PHILOSOPHY */
  .philosophy {
    background: var(--dark-mid);
    position: relative;
    overflow: hidden;
  }

  .philosophy::before {
    content: '"';
    position: absolute;
    top: -40px; left: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 28rem;
    color: rgba(184,152,90,0.04);
    line-height: 1;
    pointer-events: none;
  }

  .philosophy-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .philosophy-pillars {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 16px;
  }

  .pillar {
    border-left: 2px solid var(--border);
    padding: 22px 28px;
    transition: border-color 0.3s;
    cursor: default;
  }

  .pillar:hover { border-color: var(--gold); }

  .pillar h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 8px;
  }

  .pillar p {
    font-size: 0.86rem;
    color: var(--text);
    line-height: 1.7;
  }

  .philosophy-quote { position: relative; }

  blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--cream);
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .tech-list {
    margin-top: 50px;
    border: 1px solid var(--border);
    padding: 30px;
  }

  .tech-list-label {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
  }

  .tech-items { display: flex; flex-direction: column; gap: 12px; }

  .tech-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.88rem;
    color: var(--text-light);
  }

  .tech-item::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* CONTACT */
  .contact { background: var(--dark); }

  .contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .contact-info { display: flex; flex-direction: column; gap: 30px; margin-top: 16px; }
  .contact-block { display: flex; flex-direction: column; gap: 6px; }

  .contact-block-label {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .contact-block-value {
    font-size: 0.95rem;
    color: var(--text-light);
  }

  /* CONTACT — WHATSAPP PANEL */
  .contact-wa {
    background: var(--dark-card);
    border: 1px solid var(--border);
    padding: 52px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-wa-logo {
    width: 56px;
    height: 56px;
    fill: #25d366;
    margin-bottom: 22px;
  }

  .contact-wa-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 14px;
  }

  .contact-wa-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 30px;
    max-width: 360px;
  }

  .contact-wa-number {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .contact-wa-number-label {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .contact-wa-number-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .contact-wa-number-value:hover { color: var(--cream); }

  .wa-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.3s;
  }

  .wa-button:hover { background: #1ebe5b; }

  .wa-button-icon {
    width: 20px;
    height: 20px;
    fill: #fff;
    flex-shrink: 0;
  }

  /* FOOTER */
  footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border);
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--cream);
  }

  .footer-logo span { color: var(--gold); }

  .footer-links { display: flex; gap: 30px; list-style: none; }

  .footer-links a {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-links a:hover { color: var(--gold); }

  .footer-copy { font-size: 0.7rem; color: rgba(200,194,180,0.4); }
  .footer-copy a { color: var(--text); text-decoration: none; }
  .footer-copy a:hover { color: var(--gold); }

  /* Hidden SVG symbol container (defs only, never rendered) */
  .svg-defs { position: absolute; }

  /* SCROLL ANIMATION */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* HAMBURGER */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    order: -1;
  }
  .hamburger span {
    display: block;
    height: 1px;
    background: var(--cream);
    transition: transform 0.3s, opacity 0.3s, width 0.3s;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* MOBILE MENU */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(15,14,12,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    backdrop-filter: blur(8px);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu ul {
    list-style: none;
    text-align: center;
    margin-bottom: 40px;
  }
  .mobile-menu ul li { border-bottom: 1px solid var(--border); }
  .mobile-menu ul li:first-child { border-top: 1px solid var(--border); }
  .mobile-menu ul a {
    display: block;
    padding: 22px 60px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.2s;
  }
  .mobile-menu ul a:hover { color: var(--gold); }

  /* RESPONSIVE — Tablet */
  @media (max-width: 900px) {
    html { scroll-padding-top: 70px; }
    nav { padding: 16px 20px; gap: 12px; }
    nav.scrolled { padding: 12px 20px; }
    .nav-logo { font-size: 0.88rem; white-space: nowrap; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
    section { padding: 70px 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-portrait { width: 220px; margin: 0 auto; }
    .philosophy-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .expertise-grid { grid-template-columns: 1fr 1fr; }
    .expertise-header-inner { flex-direction: column; align-items: stretch; }
    .expertise-badge { width: 100%; }
    .dgi-wrapper { width: 100%; max-width: 100%; }
    .hero-right { display: none; }
    .hero-content { padding: 140px 24px 80px; }
    /* Hero-Hintergrund auf Tablet/Handy: leichter Verlauf von links,
       damit Text lesbar bleibt aber mehr vom Bild sichtbar ist. */
    .hero-bg {
      background:
        linear-gradient(to right,
          rgba(15,14,12,0.75) 0%,
          rgba(15,14,12,0.55) 30%,
          rgba(15,14,12,0.30) 60%,
          rgba(15,14,12,0.15) 100%
        ),
        url('../images/hero.jpg') 60% center / cover no-repeat;
    }
    .lang-bar { padding: 16px 24px; }
    /* Auf Handy: nur die Sprachen laufen als Marquee, das Label bleibt statisch */
    @media (max-width: 560px) {
      .lang-bar { padding: 16px 20px; gap: 16px; }
      .lang-flags-wrap {
        display: block;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
                mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
      }
      .lang-flags {
        width: max-content;
        gap: 28px;
        animation: lang-marquee 24s linear infinite;
      }
      @media (prefers-reduced-motion: reduce) {
        .lang-flags { animation: none; }
      }
    }
    @keyframes lang-marquee {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }
    footer { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 16px; }
    .philosophy-pillars { grid-template-columns: 1fr 1fr; gap: 24px; }
  }

  /* RESPONSIVE — Mobile */
  @media (max-width: 560px) {
    /* Layout */
    .expertise-grid { grid-template-columns: 1fr; }
    .philosophy-pillars { grid-template-columns: 1fr; }
    section { padding: 52px 20px; }
    .expertise-header { margin-bottom: 32px; }
    .exp-card { padding: 28px 22px; }
    .timeline-year { width: 108px; font-size: 0.75rem; }
    .timeline-item { gap: 16px; }
    .dgi-wrapper { padding: 20px; max-width: 100%; }

    /* Language switcher: Globus statt nur Pfeil, Kürzel bleibt sichtbar */
    .lang-switcher-btn .lang-globe { display: inline-block; }
    .lang-switcher-btn { padding: 8px 12px; gap: 6px; }


    /* Typography — tighter line-heights for mobile reading */
    body { line-height: 1.55; }
    h2 { font-size: clamp(1.6rem, 7.5vw, 2.4rem); line-height: 1.15; margin-bottom: 20px; }
    .hero h1 {
      font-size: clamp(1.9rem, 8.5vw, 2.8rem);
      line-height: 1.14;
      margin-bottom: 18px;
    }
    .hero-eyebrow {
      font-size: 0.62rem;
      letter-spacing: 0.14em;
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 0.93rem;
      line-height: 1.6;
      margin-bottom: 36px;
    }
    .about-text p { line-height: 1.65; font-size: 0.95rem; }
    .exp-card p { line-height: 1.6; }
    .philosophy-pillar p { line-height: 1.6; }
    .philosophy-quote blockquote { line-height: 1.5; font-size: 1.1rem; }

    /* Hero content — less top padding on small screens */
    .hero-content { padding: 110px 20px 60px; }

    /* About portrait — slightly smaller */
    .about-portrait { width: 190px; }
  }