/* ==========================================================================
   SIMON FRANK CONSULTING – Design nach Comic-Vorbild „Watchmen"
   Strenges Panel-Raster, Nachtschwarz, Signalgelb, Blutrot,
   Schreibmaschinen-Captions. Keine geschützten Elemente.
   Schrift: Anton (Titel), Special Elite (Captions), Space Grotesk (Text)
   ========================================================================== */

/* --- Variablen ------------------------------------------------------------------------------ */

:root {
    /* Seiten-Farbwelt (Nacht) */
    --bg:      #0f1117;   /* Seitenhintergrund, Blauschwarz */
    --panel:   #171b24;   /* Kartenflächen */
    --panel-2: #12151d;   /* alternierende Sektionen */
    --line:    #2a2f3b;   /* Trennlinien auf Dunkel */
    --text:    #e9e6d8;   /* Off-White */
    --muted:   #9b998c;   /* gedämpfter Nebentext */
    --schwarz: #0b0c10;   /* satte Panel-Konturen */

    /* Signalfarben */
    --gelb:        #f5cf1b;   /* Signalgelb – Captions, Buttons, Akzente */
    --gelb-dunkel: #d9b613;

    /* Comic-Panel-Bühnen (bedrucktes Papier) + SVG-Farben */
    --paper:  #ece4cb;   /* gealtertes Papier */
    --white:  #f7f2e2;
    --ink:    #14151a;
    --akzent: #a97e12;   /* dunkles Gold – Haken, Zielmitte, Fortschritt */
    --akzent-dunkel: #8c680d;
    --gold:   #d8b117;   /* helles Gelb – Münze, Fenster, Pakete, Lampe */
    --blue:   #33507c;   /* Nachtblau – Diagrammbalken */
    --warn:   #ab1f2a;   /* Blutrot – negative Marken */
    --muted-svg: #6f6a58;
    --linie-svg: #b9b19a;

    --border: 1px solid var(--line);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--gelb); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 {
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    line-height: 1.08;
    margin: 0 0 0.45em;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    color: var(--text);
}

p { margin: 0 0 1em; }

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Skip-Link -------------------------------------------------------------------------------- */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gelb);
    color: var(--schwarz);
    padding: 10px 18px;
    z-index: 100;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- Caption-Kicker & Buttons ------------------------------------------------------------------ */

/* Gelbe Caption-Box wie eine Comic-Erzählbox */
.kicker {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--schwarz);
    background: var(--gelb);
    border: 2px solid var(--schwarz);
    padding: 6px 12px 4px;
    margin-bottom: 18px;
    box-shadow: 4px 4px 0 var(--schwarz);
}
.kicker__num { font-weight: 700; }

.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 13px 24px;
    border: 2px solid var(--gelb);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--gelb);
    color: var(--schwarz);
}
.btn--primary:hover {
    background: var(--gelb-dunkel);
    border-color: var(--gelb-dunkel);
}

.btn--ghost {
    background: transparent;
    color: var(--gelb);
}
.btn--ghost:hover {
    background: var(--gelb);
    color: var(--schwarz);
}

/* --- Kopfzeile ----------------------------------------------------------------------------------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 17, 23, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--schwarz);
    box-shadow: 0 2px 0 var(--gelb);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
}

.logo {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gelb);
    white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo__zusatz { color: var(--muted); }

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}
.nav a:hover {
    color: var(--gelb);
    text-decoration: none;
    border-bottom-color: var(--gelb);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: 8px;
    padding-left: 22px;
    border-left: var(--border);
    font-size: 0.85rem;
}
.lang-switch span { color: var(--line); }
.lang-switch a { color: var(--muted); border-bottom: none; }
.lang-switch a[aria-current="true"] {
    color: var(--gelb);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    background: transparent;
    border: 2px solid var(--gelb);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--gelb);
}

/* --- Hero mit Uhr ----------------------------------------------------------------------------------- */

.hero {
    padding: 88px 0 72px;
    border-bottom: var(--border);
    background:
        radial-gradient(ellipse 90% 70% at 75% 15%, rgba(51, 80, 124, 0.18), transparent 60%),
        var(--bg);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero__title {
    font-size: clamp(2.7rem, 6.4vw, 4.6rem);
    max-width: 14ch;
    margin-bottom: 22px;
}
.hero__title em {
    font-style: normal;
    color: var(--gelb);
}

.hero__intro {
    max-width: 560px;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 32px;
}
.hero__intro strong { color: var(--text); font-weight: 600; }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 46px;
}

.hero__fakten {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 34px;
    margin: 0;
    padding: 20px 0 0;
    border-top: var(--border);
    color: var(--muted);
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.85rem;
}
.hero__fakten li {
    position: relative;
    padding-left: 16px;
}
.hero__fakten li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 7px;
    height: 7px;
    background: var(--gelb);
}

/* Fünf vor zwölf: Der Minutenzeiger rückt vor, erreicht die Zwölf aber nie. */
.hero__uhr { max-width: 300px; justify-self: center; }
.hero__uhr svg { width: 100%; height: auto; filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, 0.45)); }

.uhr-minute {
    transform-origin: 110px 110px;
    transform: rotate(-30deg);
    animation: uhr-tick 16s steps(1, end) infinite;
}
@keyframes uhr-tick {
    0%   { transform: rotate(-30deg); }
    22%  { transform: rotate(-24deg); }
    44%  { transform: rotate(-18deg); }
    66%  { transform: rotate(-12deg); }
    88%  { transform: rotate(-6deg); }
    100% { transform: rotate(-30deg); }
}

/* --- Sektionen ---------------------------------------------------------------------------------------- */

.section { padding: 88px 0; }

.section--alt {
    background: var(--panel-2);
    border-top: var(--border);
    border-bottom: var(--border);
}

.section-head { max-width: 660px; margin-bottom: 48px; }

.section-title { font-size: clamp(2rem, 4vw, 2.8rem); }

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

/* --- Neun-Panel-Raster: 6 Leistungen + 3 Zitat-Boxen ----------------------------------------------------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 2px solid var(--schwarz);
    box-shadow: 5px 5px 0 var(--schwarz);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--schwarz);
}

/* Bühne: bedrucktes Papier mit feinem Druckraster */
.service__stage {
    padding: 20px 20px 12px;
    background:
        radial-gradient(rgba(20, 21, 26, 0.07) 1px, transparent 1.3px),
        var(--paper);
    background-size: 7px 7px, auto;
    border-bottom: 2px solid var(--schwarz);
}
.service__stage svg { width: 100%; height: auto; }

.service__body { padding: 20px 22px 26px; }

.service__title {
    font-size: 1.12rem;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

.service__claim {
    color: var(--gelb);
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.service__body p:last-child {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 0;
}

/* Zitat-Panels: gelbe Erzählboxen im Raster */
.quote-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: var(--gelb);
    border: 2px solid var(--schwarz);
    box-shadow: 5px 5px 0 var(--schwarz);
    padding: 34px 30px;
}
.quote-panel p {
    margin: 0;
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 1.18rem;
    line-height: 1.5;
    color: var(--schwarz);
    text-align: center;
}

/* --- Ansatz (3 Schritte) ----------------------------------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step {
    background: var(--panel);
    border: 2px solid var(--schwarz);
    box-shadow: 5px 5px 0 var(--schwarz);
    border-top: 6px solid var(--gelb);
    padding: 24px 24px 28px;
}

.step__num {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 2rem;
    color: var(--gelb);
    margin-bottom: 8px;
}

.step__title { font-size: 1.12rem; margin-bottom: 8px; }

.step p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* --- Über mich (Porträt als Comic-Panel) ----------------------------------------------------------------------- */

.about {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 52px;
    align-items: start;
}

.portrait {
    margin: 0;
    background: var(--panel);
    border: 2px solid var(--schwarz);
    box-shadow: 6px 6px 0 var(--schwarz);
}
.portrait img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid var(--schwarz);
    filter: contrast(1.04) saturate(0.9);
}
.portrait figcaption {
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--schwarz);
    background: var(--gelb);
    padding: 12px 16px;
}
.portrait figcaption strong { font-size: 0.95rem; }

.about__text p { color: var(--muted); }
.about__text p:first-child { color: var(--text); font-size: 1.05rem; }

.about__facts {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
}
.about__facts li {
    padding: 12px 2px;
    border-top: var(--border);
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.88rem;
}

/* --- Kontakt --------------------------------------------------------------------------------------------------- */

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

.kontakt__form { display: grid; gap: 18px; }

.feld { display: grid; gap: 7px; }

.feld label {
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.feld input,
.feld textarea {
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--panel);
    border: 2px solid var(--line);
    padding: 12px 14px;
    width: 100%;
}
.feld textarea { min-height: 150px; resize: vertical; }

.feld input:focus,
.feld textarea:focus {
    outline: none;
    border-color: var(--gelb);
    box-shadow: 3px 3px 0 rgba(245, 207, 27, 0.35);
}

/* Honeypot: für Menschen unsichtbar */
.feld--falle {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Statusmeldungen im Caption-Stil */
.form-status {
    margin: 0;
    padding: 13px 16px;
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.92rem;
    border: 2px solid var(--schwarz);
    box-shadow: 4px 4px 0 var(--schwarz);
}
.form-status--ok {
    background: var(--gelb);
    color: var(--schwarz);
}
.form-status--fehler {
    background: var(--warn);
    color: var(--white);
}

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

.footer {
    background: var(--panel-2);
    border-top: 2px solid var(--schwarz);
    box-shadow: inset 0 2px 0 var(--gelb);
    padding: 46px 0 40px;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.footer__brand {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gelb);
    margin: 0 0 4px;
}
.footer__brand span { color: var(--muted); }

.footer__claim {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

.footer__nav { display: flex; gap: 22px; }
.footer__nav a { color: var(--muted); font-size: 0.92rem; }
.footer__nav a:hover { color: var(--gelb); }

.footer__copy {
    width: 100%;
    margin: 10px 0 0;
    padding-top: 18px;
    border-top: var(--border);
    color: var(--muted);
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.8rem;
}

/* --- Rechtsseiten ----------------------------------------------------------------------------------------------------- */

.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.2rem; margin-top: 2em; }
.legal .hinweis {
    background: var(--panel);
    border: 2px solid var(--schwarz);
    border-left: 6px solid var(--gelb);
    padding: 12px 16px;
    color: var(--muted);
    font-size: 0.95rem;
}

/* --- Einblenden beim Scrollen -------------------------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.sichtbar {
    opacity: 1;
    transform: none;
}
   SVG-ANIMATIONEN DER LEISTUNGS-PANELS
   Jedes animierte Element trägt die Klasse .anim + eine Detail-Klasse.
   Gestartet wird erst, wenn das Panel sichtbar ist (.play via JS).
   ========================================================================== */

.pop-anim .anim { animation-play-state: paused; transform-box: fill-box; }
.pop-anim.play .anim { animation-play-state: running; }

/* -- Panel 1: Attribution – Balken wächst, Euro ploppt -- */

.a-balken {
    transform-origin: center bottom;
    animation: balken-wachsen 2.6s ease-in-out infinite;
}
@keyframes balken-wachsen {
    0%, 12%  { transform: scaleY(0.25); }
    55%, 78% { transform: scaleY(1); }
    100%     { transform: scaleY(0.25); }
}

.a-euro {
    transform-origin: center;
    animation: euro-plopp 2.6s ease-in-out infinite;
}
@keyframes euro-plopp {
    0%, 50%   { opacity: 0; transform: scale(0.4); }
    62%       { opacity: 1; transform: scale(1.25); }
    72%, 86%  { opacity: 1; transform: scale(1); }
    100%      { opacity: 0; transform: scale(0.4); }
}

/* -- Panel 2: Messfenster – Fenster gleitet, Werte kippen -- */

.a-fenster { animation: fenster-gleiten 6s ease-in-out infinite; }
@keyframes fenster-gleiten {
    0%, 12%  { transform: translateX(0); }
    46%, 62% { transform: translateX(128px); }
    94%, 100%{ transform: translateX(0); }
}

.a-messbalken {
    transform-origin: center bottom;
    animation: messbalken-springen 6s ease-in-out infinite;
}
@keyframes messbalken-springen {
    0%, 40%   { transform: scaleY(0.45); }
    52%, 84%  { transform: scaleY(1); }
    96%, 100% { transform: scaleY(0.45); }
}

.a-roas-a { animation: roas-a 6s ease-in-out infinite; }
.a-roas-b { animation: roas-b 6s ease-in-out infinite; }
@keyframes roas-a {
    0%, 44%   { opacity: 1; }
    50%, 92%  { opacity: 0; }
    98%, 100% { opacity: 1; }
}
@keyframes roas-b {
    0%, 44%   { opacity: 0; }
    50%, 92%  { opacity: 1; }
    98%, 100% { opacity: 0; }
}

/* -- Panel 3: Sortiment – Band läuft, Stempel prüft -- */

.a-band { animation: band-laufen 2.6s linear infinite; }
@keyframes band-laufen {
    from { transform: translateX(0); }
    to   { transform: translateX(-156px); }
}

.a-rolle { transform-origin: center; animation: rolle-drehen 1.4s linear infinite; }
@keyframes rolle-drehen { to { transform: rotate(360deg); } }

.a-stempel { animation: stempel-druecken 1.3s ease-in-out infinite; }
@keyframes stempel-druecken {
    0%, 52%   { transform: translateY(0); }
    64%, 72%  { transform: translateY(15px); }
    86%, 100% { transform: translateY(0); }
}

.a-mark-ok, .a-mark-nein { transform-origin: center; opacity: 0; }
.a-mark-ok   { animation: mark-plopp 2.6s ease-out infinite; }
.a-mark-nein { animation: mark-plopp 2.6s ease-out infinite; animation-delay: 1.3s; }
@keyframes mark-plopp {
    0%, 26%   { opacity: 0; transform: scale(0.3); }
    32%       { opacity: 1; transform: scale(1.25); }
    40%, 62%  { opacity: 1; transform: scale(1); }
    74%, 100% { opacity: 0; transform: scale(0.6); }
}

/* -- Panel 4: Strategie – Pfeil fliegt ins Bullseye -- */

.a-pfeil {
    transform-origin: 92% 50%;
    animation: pfeil-flug 4.6s ease-out infinite;
}
@keyframes pfeil-flug {
    0%        { opacity: 0; transform: translate(-235px, 52px) rotate(9deg); }
    4%        { opacity: 1; }
    20%       { transform: translate(0, 0) rotate(0deg); }
    24%       { transform: translate(0, 0) rotate(-3deg); }
    28%       { transform: translate(0, 0) rotate(2deg); }
    32%, 86%  { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    92%, 100% { opacity: 0; transform: translate(-235px, 52px) rotate(9deg); }
}

.a-pow { transform-origin: center; animation: pow-blitz 4.6s ease-out infinite; }
@keyframes pow-blitz {
    0%, 18%   { opacity: 0; transform: scale(0.3); }
    23%       { opacity: 1; transform: scale(1.3); }
    30%, 44%  { opacity: 1; transform: scale(1); }
    56%, 100% { opacity: 0; transform: scale(0.5); }
}

.a-zappel-1, .a-zappel-2 { transform-origin: center bottom; }
.a-zappel-1 { animation: zappeln 0.9s ease-in-out infinite alternate; }
.a-zappel-2 { animation: zappeln 0.7s ease-in-out infinite alternate-reverse; }
@keyframes zappeln {
    from { transform: rotate(-5deg); }
    to   { transform: rotate(5deg); }
}

/* -- Panel 5: OKR – Haken werden gezeichnet, Balken füllt sich -- */

.a-haken-1, .a-haken-2, .a-haken-3 {
    stroke-dasharray: 34;
    stroke-dashoffset: 34;
}
.a-haken-1 { animation: haken-1 6s ease-in-out infinite; }
.a-haken-2 { animation: haken-2 6s ease-in-out infinite; }
.a-haken-3 { animation: haken-3 6s ease-in-out infinite; }
@keyframes haken-1 {
    0%, 6%    { stroke-dashoffset: 34; }
    14%, 88%  { stroke-dashoffset: 0; }
    96%, 100% { stroke-dashoffset: 34; }
}
@keyframes haken-2 {
    0%, 26%   { stroke-dashoffset: 34; }
    34%, 88%  { stroke-dashoffset: 0; }
    96%, 100% { stroke-dashoffset: 34; }
}
@keyframes haken-3 {
    0%, 46%   { stroke-dashoffset: 34; }
    54%, 88%  { stroke-dashoffset: 0; }
    96%, 100% { stroke-dashoffset: 34; }
}

.a-fortschritt {
    transform-origin: left center;
    animation: fortschritt-fuellen 6s ease-in-out infinite;
}
@keyframes fortschritt-fuellen {
    0%, 6%    { transform: scaleX(0.02); }
    14%, 26%  { transform: scaleX(0.34); }
    34%, 46%  { transform: scaleX(0.67); }
    54%, 88%  { transform: scaleX(1); }
    96%, 100% { transform: scaleX(0.02); }
}

.a-stern { transform-origin: center; animation: stern-plopp 6s ease-in-out infinite; }
@keyframes stern-plopp {
    0%, 54%   { opacity: 0; transform: scale(0.3) rotate(-20deg); }
    62%       { opacity: 1; transform: scale(1.3) rotate(8deg); }
    70%, 86%  { opacity: 1; transform: scale(1) rotate(0deg); }
    94%, 100% { opacity: 0; transform: scale(0.3) rotate(-20deg); }
}

/* -- Panel 6: KI & Automatisierung – Zahnräder, Dokumente -- */

.a-zahnrad      { transform-origin: center; animation: zahnrad-drehen 5s linear infinite; }
.a-zahnrad-rueck{ transform-origin: center; animation: zahnrad-rueck 5s linear infinite; }
@keyframes zahnrad-drehen { to { transform: rotate(360deg); } }
@keyframes zahnrad-rueck  { to { transform: rotate(-360deg); } }

.a-doc-rein { animation: doc-rein 3.6s ease-in-out infinite; }
@keyframes doc-rein {
    0%       { transform: translateX(0); opacity: 0; }
    8%       { opacity: 1; }
    42%      { transform: translateX(88px); opacity: 1; }
    50%,100% { transform: translateX(88px); opacity: 0; }
}

.a-doc-raus { animation: doc-raus 3.6s ease-in-out infinite; }
@keyframes doc-raus {
    0%, 48%  { transform: translateX(0); opacity: 0; }
    56%      { opacity: 1; }
    90%      { transform: translateX(86px); opacity: 1; }
    100%     { transform: translateX(86px); opacity: 0; }
}

.a-lampe { animation: lampe-blinken 1.1s steps(2, jump-none) infinite; }
@keyframes lampe-blinken { from { opacity: 0.25; } to { opacity: 1; } }


/* --- Responsiv --------------------------------------------------------------------------------------------- */

@media (max-width: 1060px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__uhr { max-width: 230px; justify-self: start; }
}

@media (max-width: 980px) {
    .steps { grid-template-columns: 1fr; gap: 22px; }
    .about { grid-template-columns: 1fr; gap: 32px; }
    .portrait { max-width: 300px; }
    .kontakt { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
    .section { padding: 60px 0; }
    .hero { padding: 56px 0 52px; }
    .services-grid { grid-template-columns: 1fr; }
    .quote-panel { min-height: 0; padding: 26px 24px; }

    .nav-toggle { display: flex; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--bg);
        border-bottom: 2px solid var(--schwarz);
        box-shadow: 0 2px 0 var(--gelb);
        padding: 14px 24px 20px;
        display: none;
    }
    .nav.offen { display: flex; }
    .nav a { width: 100%; padding: 10px 2px; }
    .lang-switch {
        margin: 10px 0 0;
        padding: 14px 0 0;
        border-left: none;
        border-top: var(--border);
        width: 100%;
    }
}

/* --- Reduzierte Bewegung ------------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .uhr-minute { animation: none; }
}
