/*
 * ═══════════════════════════════════════════════════════
 *  Rami Ben Hassine — Dialogbuchübersetzung
 *  Shared Stylesheet für alle Seiten:
 *    - dialogbuch.html  (index)
 *    - impressum.html
 *    - datenschutz.html
 * ═══════════════════════════════════════════════════════
 */

/* ══════════════════════════════════════════════════════
   GEMEINSAME STYLES (Variablen, Layout, Nav, Footer …)
══════════════════════════════════════════════════════ */
:root {
    --black:  #0a0a0a;
    --white:  #f4f2ee;
    --grey-1: #1a1a1a;
    --grey-2: #2e2e2e;
    --grey-3: #4a4a4a;
    --grey-4: #787878;
    --grey-5: #a8a8a8;
    --grey-6: #c8c8c8;
    --grey-7: #e0ddd8;
    --em: #48719a;

    --wrapper-w: 64rem;
    --strip-w:   1.75rem;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-size: 16px; }

  body {
    background: var(--black);
    color: var(--black);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: crosshair;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
    mix-blend-mode: overlay;
  }

  /* ══ WRAPPER ══ */
  #page-wrapper {
    position: relative;
    width: var(--wrapper-w);
    max-width: 100%;
    margin: 0 auto;
    background: var(--white);
    min-height: 100vh;
    box-shadow: -0.5rem 0 3rem rgba(0,0,0,0.7), 0.5rem 0 3rem rgba(0,0,0,0.7);
  }

  /* ══ FILMSTREIFEN ══ */
  .filmstrip {
    position: fixed;
    top: 0;
    width: var(--strip-w);
    height: 100%;
    background: #555;
    z-index: 200;
    overflow: hidden;
  }
  .filmstrip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      to bottom,
      transparent  0,
      transparent  0.4rem,
      var(--black) 0.4rem,
      var(--black) 1.2rem,
      transparent  1.2rem,
      transparent  1.6rem
    );
    margin: 0 0.2rem;
  }
  .filmstrip::after { display: none; }

  /* ══ NAV ══ */
  nav {
    position: fixed;
    top: 0;
    z-index: 150;
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    background: rgba(244,242,238,0.96);
    border-bottom: 1px solid var(--grey-6);
    backdrop-filter: blur(0.5rem);
  }
  .nav-logo {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--grey-4);
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0;
  }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    font-family: 'DM Mono', monospace;
    font-size: 0.825rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
  }
  .nav-links a:hover { color: var(--grey-3); }


  /* ══ LANGUAGE SWITCHER ══ */
  .nav-left {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .lang-switcher {
    position: relative;
  }
  .lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--grey-4);
    text-transform: uppercase;
    font-weight: 400;
    padding: 0;
    transition: color 0.2s;
    line-height: 1;
  }
  .lang-btn:hover { color: var(--black); }
  .lang-btn svg {
    width: 0.7rem;
    height: 0.7rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }
  .lang-btn.open svg { transform: rotate(180deg); }

  .lang-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    background: var(--white);
    border: 1px solid var(--grey-6);
    min-width: 5rem;
    display: none;
    flex-direction: column;
    z-index: 300;
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.1);
  }
  .lang-dropdown.open { display: flex; }
  .lang-dropdown a {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--grey-4);
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--grey-6);
    transition: background 0.2s, color 0.2s;
  }
  .lang-dropdown a:last-child { border-bottom: none; }
  .lang-dropdown a:hover { background: var(--grey-7); color: var(--black); }
  .lang-dropdown a.active {
    color: var(--black);
    font-weight: 500;
  }
  /* ══ HAMBURGER ══ */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 2.2rem;
    height: 2.2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 10;
  }
  .hamburger span {
    display: block;
    height: 1px;
    background: var(--black);
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
  }
  .hamburger span:nth-child(3) { width: 60%; }
  .hamburger.open span:nth-child(1) { transform: translateY(0.61rem) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { width: 100%; transform: translateY(-0.69rem) rotate(-45deg); }

  /* Mobile-Overlay-Menü */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    max-width: 100vw;
    overflow-x: hidden;
    background: rgba(244,242,238,0.98);
    border-bottom: 1px solid var(--grey-6);
    backdrop-filter: blur(0.5rem);
    z-index: 140;
    padding: 1.5rem 1.5rem 2rem;
    transform: translateY(-0.5rem);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
  }
  .nav-overlay.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
  .nav-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .nav-overlay ul li a {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    padding: 1rem 0;
    border-bottom: 1px solid var(--grey-6);
    transition: color 0.2s;
  }
  .nav-overlay ul li:last-child a { border-bottom: none; }
  .nav-overlay ul li a:hover { color: var(--grey-3); }

  /* ══ HERO ══ */
  #hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7.5rem 3rem 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--grey-6);
  }
  #hero::after { display: none; }
  .hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    color: var(--grey-4);
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.3s;
  }
  .hero-title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    color: var(--black);
    opacity: 0;
    animation: fadeUp 1.1s ease forwards 0.5s;
  }
  .hero-title em { font-style: italic; color: var(--em); }
  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    line-height: 1.75;
    color: var(--grey-3);
    max-width: 28rem;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeUp 1.1s ease forwards 0.7s;
  }
  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--grey-4);
    padding-bottom: 0.5rem;
    transition: color 0.3s, border-color 0.3s, gap 0.3s;
    opacity: 0;
    animation: fadeUp 1.1s ease forwards 0.9s;
  }
  .hero-cta:hover { color: var(--grey-3); border-color: var(--grey-3); gap: 1.5rem; }

  .hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 3rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--grey-4);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.4s;
  }
  .scroll-line {
    width: 2.5rem; height: 1px;
    background: var(--grey-5);
    position: relative; overflow: hidden;
  }
  .scroll-line::after {
    content: '';
    position: absolute;
    left: -100%; top: 0;
    width: 100%; height: 100%;
    background: var(--grey-3);
    animation: scrollPulse 2s ease-in-out infinite 1.5s;
  }

  /* ══ DIVIDER ══ */
  .divider { height: 1px; background: var(--grey-6); margin: 0 3rem; }

  /* ══ SECTIONS ══ */
  section { padding: 6rem 3rem; }

  .section-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--grey-4);
    text-transform: uppercase;
    padding-top: 0.5rem;
    position: sticky;
    top: 4rem;
  }
  .section-label span {
    display: block;
    color: var(--grey-6);
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 0.5rem;
  }
  .content-block h2 em { color: var(--em); }
  .content-block h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
  }
  .content-block p {
    font-size: 1.25rem;
    line-height: 1.85;
    color: var(--grey-3);
    margin-bottom: 1.25rem;
  }
  .content-block p strong { color: var(--black); font-weight: 400; }

  /* ── Content-Links ── */

  /* Externer Link: fett, dunkel, mit ↗-Symbol davor */
  .link-extern {
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--grey-4);
    transition: border-color 0.2s, color 0.2s;
  }
  .link-extern::before {
    content: '↗\00a0';
    font-size: 0.85em;
    font-weight: 600;
    color: var(--grey-3);
  }
  .link-extern:hover {
    color: var(--grey-2);
    border-color: var(--black);
  }

  /* Interner Link: dezent, kein Symbol */
  .link-intern {
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--grey-4);
    transition: border-color 0.2s, color 0.2s;
  }
  .link-intern:hover {
    color: var(--grey-2);
    border-color: var(--black);
  }

  /* ══ ÜBER ══ */
  #ueber {
    border-bottom: 1px solid var(--grey-6);
  }
  .ueber-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3.5rem;
    gap: 1rem;
  }
  .ueber-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .ueber-header h2 em { font-style: italic; color: var(--em); }
  .ueber-body {
    display: grid;
    grid-template-columns: 1.4fr 2.2fr;
    gap: 3rem;
    align-items: start;
  }

  /* Foto-Platzhalter */
  .autor-photo {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--grey-7);
    border: 1px solid var(--grey-6);
    overflow: hidden;
  }
  /* Bild faellt den Container vollstaendig aus */
  .autor-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    z-index: 2;
  }
  /* Placeholder-Gradient — nur sichtbar wenn kein img vorhanden */
  .autor-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--grey-6) 0%, var(--grey-5) 60%, var(--grey-4) 100%);
    z-index: 0;
  }
  /* Platzhalter-Icon */
  .autor-photo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='1.2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E") center/65% no-repeat;
    z-index: 1;
  }
  .autor-photo-label {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    z-index: 1;
  }

  /* ══ LEISTUNGEN ══ */
  #leistungen { border-bottom: 1px solid var(--grey-6); }
  .leistungen-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3.5rem;
    gap: 1rem;
  }
  .leistungen-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .leistungen-header h2 em { font-style: italic; color: var(--em); }
  .leistungen-count {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--grey-4);
    text-transform: uppercase;
    white-space: nowrap;
  }
  .leistungen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--grey-6);
    border: 1px solid var(--grey-6);
  }
  .leistung-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    transition: background 0.4s;
  }
  .leistung-card:hover { background: var(--grey-7); }
  .card-num {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--grey-5);
    margin-bottom: 1.5rem;
    display: block;
  }
  /* Schwarze SVG-Icons */
  .card-icon {
    display: block;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
    color: var(--black);
  }
  .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
  }
  .card-desc { font-size: 1.25rem; line-height: 1.75; color: var(--grey-3); }

  /* ══ REFERENZEN ══ */
  #referenzen {
    border-bottom: 1px solid var(--grey-6);
    padding: 6rem 0;
  }
  .referenzen-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 3rem;
    margin-bottom: 3rem;
  }
  .referenzen-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .referenzen-header h2 em { font-style: italic; color: var(--em); }

  .slider-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
  }
  .slider-btn {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--grey-4);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
    color: var(--black);
  }
  .slider-btn:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
  }
  .slider-btn:disabled {
    opacity: 0.25;
    cursor: default;
    background: transparent;
    color: var(--black);
    border-color: var(--grey-5);
  }
  .slider-btn svg { width: 1rem; height: 1rem; }

  /* Poster-Track */
  .poster-viewport {
    overflow: hidden;
    padding: 0 3rem;
  }
  .poster-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .poster-card {
    flex: 0 0 calc(25% - 1rem);
    position: relative;
    aspect-ratio: 2/3;           /* klassisches Movie-Poster-Format */
    background: var(--grey-7);
    overflow: hidden;
    border: 1px solid var(--grey-6);
  }
  /* Bild direkt in der Card */
  .poster-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    z-index: 0;
  }
  /* Placeholder-Inhalt */
  .poster-card .poster-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    background: linear-gradient(
      to bottom,
      var(--grey-6) 0%,
      var(--grey-5) 40%,
      var(--grey-3) 100%
    );
    z-index: 1;
  }
  /* Wenn ein echtes Bild vorhanden ist: Placeholder-Hintergrund transparent,
     nur noch dunkler Gradient unten für Lesbarkeit von Label/Titel */
  .poster-card > img ~ .poster-placeholder {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 50%,
      rgba(0,0,0,0.75) 100%
    );
  }
  .poster-card:nth-child(2) .poster-placeholder {
    background: linear-gradient(to bottom, #c8c8c8 0%, #888 40%, #2a2a2a 100%);
  }
  .poster-card:nth-child(3) .poster-placeholder {
    background: linear-gradient(to bottom, #d8d5d0 0%, #999 40%, #1a1a1a 100%);
  }
  .poster-card:nth-child(4) .poster-placeholder {
    background: linear-gradient(to bottom, #b0b0b0 0%, #707070 40%, #0a0a0a 100%);
  }
  .poster-card:nth-child(5) .poster-placeholder {
    background: linear-gradient(to bottom, #ccc 0%, #7a7a7a 40%, #222 100%);
  }
  .poster-card:nth-child(6) .poster-placeholder {
    background: linear-gradient(to bottom, #d4d0ca 0%, #8a8a8a 40%, #111 100%);
  }
  .poster-card:nth-child(7) .poster-placeholder {
    background: linear-gradient(to bottom, #bbb 0%, #666 40%, #1e1e1e 100%);
  }
  .poster-card:nth-child(8) .poster-placeholder {
    background: linear-gradient(to bottom, #c0bdb8 0%, #757575 40%, #0d0d0d 100%);
  }

  .poster-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.25rem;
  }
  .poster-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    line-height: 1.2;
  }
  /* Bild-Upload-Symbol in der Mitte */
  .poster-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center/60% no-repeat;
  }

  /* Slider-Dots */
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0 3rem;
  }
  .dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--grey-5);
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
  }
  .dot.active { background: var(--black); transform: scale(1.4); }

  /* ══ ZITAT ══ */
  #zitat {
    text-align: center;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  #zitat::before {
    content: '❝';
    position: absolute;
    font-size: 20rem;
    color: var(--grey-1);
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
    pointer-events: none;
  }
  .quote-text {
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.55;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
    position: relative;
    z-index: 1;
    color: var(--grey-6);
  }
  .quote-source {
    font-family: 'DM Mono', monospace;
    font-size: 0.875rem;
    letter-spacing: 0.25em;
    color: var(--grey-4);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
  }

  /* ══ PROZESS ══ */
  #prozess { border-bottom: 1px solid var(--grey-6); }
  #prozess h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
  }
  #prozess h2 em { color: var(--em); }
  .prozess-steps { display: flex; flex-direction: column; }
  .prozess-step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 2rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--grey-6);
  }
  .prozess-step:last-child { border-bottom: none; }
  .step-num {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--grey-5);
    padding-top: 0.25rem;
  }
  .step-content h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.6rem; }
  .step-content p { font-size: 1.25rem; line-height: 1.75; color: var(--grey-3); }

  /* ══ KONTAKT ══ */
  .kontakt-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
  }
  .kontakt-left h2 {
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
  }
  .kontakt-left h2 em { font-style: italic; color: var(--em); }
  .kontakt-left p { font-size: 1.25rem; line-height: 1.8; color: var(--grey-3); }

  .kontakt-form { display: flex; flex-direction: column; }
  .form-group { border-bottom: 1px solid var(--grey-6); transition: border-color 0.3s; }
  .form-group:focus-within { border-color: var(--grey-3); }
  .form-group label {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--grey-4);
    text-transform: uppercase;
    padding-top: 1.5rem;
    padding-bottom: 0.25rem;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--black);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 300;
    padding-bottom: 1rem;
    resize: none;
  }
  .form-group select option { background: var(--white); }
  .form-group textarea { min-height: 5rem; }
  .form-submit {
    margin-top: 2.25rem;
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 1.1rem 2.5rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
  }
  .form-submit:hover { background: var(--grey-2); }

  /* ══ FOOTER ══ */
  footer {
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--grey-6);
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .footer-logo { font-size: 1.1rem; font-style: italic; color: var(--grey-4); }
  .footer-copy {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--grey-5);
    text-transform: uppercase;
  }
  .footer-links { display: flex; gap: 1.5rem; list-style: none; }
  .footer-links a {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--black);
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-links a:hover { color: var(--grey-3); }

  /* ══ ANIMATIONS ══ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
  }
  @keyframes scrollPulse {
    0%   { left: -100%; } 100% { left: 100%; }
  }

  /* ══ SCROLL REVEAL ══ */
  .reveal {
    opacity: 0;
    transform: translateY(1.875rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }


/* ══════════════════════════════════════════════════════
   IMPRESSUM — seitenspezifische Styles
══════════════════════════════════════════════════════ */
/* ══ IMPRESSUM CONTENT ══ */
  #impressum {
    padding: 9rem 3rem 6rem;
  }

  .impressum-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--grey-6);
    padding-bottom: 3rem;
  }
  .impressum-title em { font-style: italic; color: var(--em); }

  .impressum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .impressum-block {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--grey-6);
  }
  .impressum-block:nth-child(odd)  { padding-right: 3rem; border-right: 1px solid var(--grey-6); }
  .impressum-block:nth-child(even) { padding-left: 3rem; }

  /* Last row: no bottom border */
  .impressum-block:nth-last-child(1),
  .impressum-block:nth-last-child(2) { border-bottom: none; }

  .impressum-block h2 {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--grey-4);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
  }

  .impressum-block p,
  .impressum-block address {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--grey-3);
    font-style: normal;
  }

  .impressum-block a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--grey-5);
    transition: border-color 0.2s;
  }
  .impressum-block a:hover { border-color: var(--black); }

  .impressum-block strong { color: var(--black); font-weight: 400; }

  /* Hinweis-Box */
  .impressum-note {
    margin-top: 4rem;
    padding: 2rem;
    border: 1px solid var(--grey-6);
    background: var(--grey-7);
  }
  .impressum-note p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--grey-3);
  }
  .impressum-note p + p { margin-top: 1rem; }


/* ══════════════════════════════════════════════════════
   DATENSCHUTZ — seitenspezifische Styles
══════════════════════════════════════════════════════ */
/* ══ DATENSCHUTZ CONTENT ══ */
  #datenschutz {
    padding: 9rem 3rem 6rem;
  }

  .ds-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--grey-6);
    padding-bottom: 3rem;
  }
  .ds-title em { font-style: italic; color: var(--em); }

  /* Abschnitte */
  .ds-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--grey-6);
  }
  .ds-section:last-of-type { border-bottom: none; }

  .ds-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    color: var(--black);
  }
  .ds-section h2 em { font-style: italic; color: var(--em); }

  .ds-section h3 {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--grey-4);
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
  }
  .ds-section h3:first-of-type { margin-top: 0; }

  .ds-section p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--grey-3);
    margin-bottom: 1rem;
  }
  .ds-section p:last-child { margin-bottom: 0; }

  .ds-section ul {
    list-style: none;
    margin-bottom: 1rem;
  }
  .ds-section ul li {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--grey-3);
    padding-left: 1.25rem;
    position: relative;
  }
  .ds-section ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--grey-5);
  }

  .ds-section a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--grey-5);
    transition: border-color 0.2s;
  }
  .ds-section a:hover { border-color: var(--black); }

  .ds-section strong { color: var(--black); font-weight: 400; }

  /* Info-Box */
  .ds-box {
    margin-top: 1.5rem;
    padding: 1.5rem 2rem;
    border: 1px solid var(--grey-6);
    background: var(--grey-7);
  }
  .ds-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--grey-3);
    margin-bottom: 0;
  }


/* ══════════════════════════════════════════════════════
   RESPONSIVE / MOBILE
══════════════════════════════════════════════════════ */
  @media (max-width: 64rem) {
    .filmstrip { display: none; }
    nav { left: 0 !important; width: 100% !important; padding: 0 1.5rem; }
    #page-wrapper { box-shadow: none; }
  }

  @media (max-width: 55rem) {
.nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-overlay { display: block; }
    #hero { padding: 6rem 1.5rem 4rem; }
    #hero::after { display: none; }
    .hero-scroll-indicator { left: 1.5rem; }
    section { padding: 4rem 1.5rem; }
    #referenzen { padding: 4rem 0; }
    .referenzen-header { padding: 0 1.5rem; }
    .poster-viewport { padding: 0 1.5rem; }
    .slider-dots { padding: 0 1.5rem; }
    .divider { margin: 0 1.5rem; }
    #page-wrapper { overflow-x: hidden; }
    .ueber-body {
      grid-template-columns: 1fr;
      gap: 2rem;
      width: 100%;
      max-width: 100%;
    }
    .ueber-body .autor-photo   { max-width: 16rem; width: 100%; }
    .ueber-body .content-block { order: 2; width: 100%; max-width: 100%; }
    .ueber-body .content-block a {
      word-break: break-all;
      overflow-wrap: break-word;
    }
    .leistungen-grid { grid-template-columns: 1fr; }
    .leistungen-header { flex-direction: column; gap: 0.5rem; }
    .kontakt-inner { grid-template-columns: 1fr; gap: 3rem; }
    footer { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
    /* Mobile: 1 Poster sichtbar */
    .poster-card { flex: 0 0 100%; }
    /* Impressum */
    #impressum { padding: 7rem 1.5rem 4rem; }
    .impressum-grid { grid-template-columns: 1fr; }
    .impressum-block { padding: 2rem 0 !important; border-right: none !important; }
    .impressum-block:nth-last-child(1) { border-bottom: none; }
    .impressum-block:nth-last-child(2) { border-bottom: 1px solid var(--grey-6); }
    /* Datenschutz */
    #datenschutz { padding: 7rem 1.5rem 4rem; }
  }
