/* Roboto – lokal gehostet (DSGVO-konform) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/roboto-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;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/roboto-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;
}

  :root {
    --primary: #00B8F0;
    --secondary: #333;
    --bg: #fff;
    --dark: #1a2535;
    --white: #fff;
  }

  body { margin:0; font-family: 'Roboto', sans-serif; color: var(--secondary); background: var(--bg); scroll-behavior: smooth; }

  #about, #services, #process, #contact, #references, #configurator {
    scroll-margin-top: 82px;
  }
  a { text-decoration:none; color: var(--primary); }

  h1,h2,h3 { margin:0 0 1rem 0; }
  p { margin:0 0 1rem 0; line-height:1.6; }

  nav {
    position:fixed; top:0; width:100%; display:flex; justify-content:center; background:rgba(255,255,255,0.95);
    z-index:10; padding:1rem 0; box-shadow:0 2px 5px rgba(0,0,0,0.1);
  }
  nav a { margin:0 1.5rem; font-weight:700; color: var(--secondary); }

  header {
    position:relative; height:100vh; background:url('img/hero.jpg') center/cover no-repeat;
    display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; color: var(--white); overflow:hidden;
    z-index: 5;
  }
  header::after { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.5); }
  header .hero-content { position:relative; z-index:1; max-width:900px; opacity:0; transform:translateY(50px); animation:fadeIn 1.5s ease forwards; }
  header h1 { font-size:3rem; margin-bottom:1rem; }
  header p { font-size:1.2rem; margin-bottom:2rem; }
  header .cta { padding:1rem 2rem; background: var(--primary); color:var(--white); border-radius:8px; font-weight:bold; transition:0.3s; display:inline-flex; align-items:center; gap:0.45em; }
  header .cta:hover { background:#0096C8; }

  section { padding:6rem 2rem; max-width:1200px; margin:auto; }

  /* Alle Vollbreiten-Sektionen: einheitliche Struktur */
  #services, #process, #references, .configurator-section, .contact {
    max-width: 100%;
    padding: 6rem 2rem;
    margin: 0;
  }
  #services > .section-title, #services > .features,
  #process > .section-title, #process > .services,
  .configurator-section > .section-title {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Helle Sektionen: #services und .configurator-section */
  #services { background: #f0f8fd; }
  .configurator-section { background: #f0f8fd; }

  .section-title { text-align:center; margin-bottom:3rem; font-size:2rem; color: var(--primary); }

  .features, .services { display:flex; flex-wrap:wrap; gap:2rem; justify-content:center; }
  .card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    flex: 1 1 280px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
  }
  .card:hover { box-shadow: 0 6px 24px rgba(0,184,240,0.14); }
  .card-link { display:inline-block; margin-top:0.75rem; font-size:0.9rem; font-weight:700; color:var(--primary); }
  .card.active { opacity:1; transform:translateY(0); }
  .card img { width:100%; height:180px; object-fit:cover; border-radius:8px; margin-bottom:1rem; display:block; }

  .about-container { display:flex; flex-wrap:wrap; align-items:center; gap:2rem; margin:auto; max-width:1200px; }
  .about-motto {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid var(--primary);
  }
  .about-text { flex:1; min-width:300px; text-align: justify; hyphens: auto; }
  .about-image { flex:1; min-width:300px; }
  .about-image img { width:100%; border-radius:12px; }

  .project-teaser {
    display: block;
    margin-top: 1.8rem;
    padding: 1.2rem 1.4rem;
    background: #f0f8fd;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
  }
  .project-teaser:hover { background: #dff0fb; }
  .project-teaser-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.3rem;
  }
  .project-teaser-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
    line-height: 1.4;
  }
  .project-teaser-sub {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
  }

  /* About-Stats */
  .about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #eee;
  }
  .about-stat { display: flex; flex-direction: column; }
  .about-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
  }
  .about-stat-label {
    font-size: 0.78rem;
    color: #888;
    margin-top: 0.15rem;
  }

  /* Dunkle Band: Vorgehensweise + Referenzen */
  #process {
    background: var(--dark);
  }
  #process .section-title { color: #fff; }
  #process .card {
    background: rgba(255,255,255,0.07);
    box-shadow: none;
    color: rgba(255,255,255,0.9);
  }
  #process .card h3 { color: #fff; }
  #process .card p  { color: rgba(255,255,255,0.72); }
  #process .card:hover { box-shadow: none; }
  .process-icon { margin-bottom: 0.75rem; color: var(--primary); display: flex; justify-content: center; }
  .process-icon svg { display: block; }

  /* Referenzen – hell, zwischen Kontakt und Footer */
  #references {
    background: #f0f8fd;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  #references.active { opacity: 1; transform: translateY(0); }
  #references .section-title { color: var(--primary); }

  .carousel-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem 0;
    min-height: 80px;
    display: flex;
    flex-direction: column;
  }
  .carousel-track { position: relative; width: 100%; }
  .testimonial {
    opacity: 0;
    position: absolute;
    top: 0; left: 0; width: 100%;
    transition: opacity 0.6s ease;
    pointer-events: none;
    text-align: center;
  }
  .testimonial.active { opacity: 1; pointer-events: auto; }
  .testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary);
    font-style: italic;
    margin: 0 0 1rem 0;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  .testimonial-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.04em;
    margin: 0 0 1rem 0;
  }
  .client-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }
  .carousel-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .carousel-btn:hover { background: #0096C8; transform: scale(1.1); }
  .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
  }
  .dot.active { background: var(--primary); width: 12px; height: 12px; }
  .dot:hover { background: #999; }
  .ref-footnote {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #aaa;
  }

  /* Kontaktbereich */
  .contact {
    background: #fff;
    color: var(--secondary);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .contact.active { opacity:1; transform:translateY(0); }
  .contact .section-title { color: var(--dark); }

  .contact form { display:flex; flex-direction:column; gap:1rem; max-width:600px; margin:auto; }
  .field-wrap { display: flex; flex-direction: column; }
  .field-error {
    font-size: 0.82rem;
    color: #c0392b;
    margin: 0.2rem 0 0;
    min-height: 1.1em;
  }
  .input-invalid {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 2px rgba(192,57,43,0.12) !important;
  }
  .contact input:not(.captcha-input), .contact textarea {
    padding:0.8rem;
    border-radius:6px;
    border:1.5px solid #9abfcf;
    background: #fff;
    color: var(--secondary);
    width:100%;
    box-sizing:border-box;
  }
  .contact input:not(.captcha-input)::placeholder, .contact textarea::placeholder { color: #888; }
  .contact input:not(.captcha-input):focus, .contact textarea:focus { outline:none; border-color:#00B8F0; box-shadow:0 0 0 2px rgba(0,184,240,0.15); background: #fff; }
  .contact button { padding:1rem; background: var(--primary); color: var(--white); border:none; border-radius:6px; font-weight:bold; cursor:pointer; transition:0.3s; display:flex; align-items:center; justify-content:center; gap:0.5em; }
  .contact button:hover { background:#0096C8; }

  .hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .consent-wrap { margin: 0.5rem 0 0.25rem; }
  .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
  }
  .consent-label input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
  }
  .consent-label a { color: var(--primary); }

  /* Kontakt-Info unterhalb des Formulars */
  .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 3rem;
    margin-top: 2.5rem;
    font-size: 0.95rem;
    color: #555;
  }
  .contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .contact-info-item a {
    color: var(--primary);
    font-weight: bold;
  }

  .nc-feature-img {
    max-width: 860px;
    margin: 0 auto 3rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }
  .nc-feature-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ===== KONFIGURATOR ===== */
  .config-intro {
    text-align: center;
    max-width: 680px;
    margin: -1.5rem auto 3rem;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
  }
  .config-intro-block {
    max-width: 860px;
    box-sizing: border-box;
    margin: -1rem auto 3rem;
    background: #fff;
    border: 1px solid #e0eaf0;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    color: #444;
    line-height: 1.75;
  }
  .config-intro-block p {
    margin: 0 0 1.2rem;
    font-size: 1.05rem;
  }
  .config-intro-list {
    margin: 0 0 1.2rem 1.2rem;
    padding: 0;
    list-style: none;
  }
  .config-intro-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.55rem;
    font-size: 1rem;
  }
  .config-intro-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
  }
  .config-intro-sub {
    margin: 0 !important;
    font-size: 0.95rem !important;
    color: #777;
    font-style: italic;
  }
  .config-wrapper {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .config-block {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  }
  .config-block-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .config-step-num {
    background: var(--primary);
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
  }
  .config-optional-hint {
    font-size: 0.78rem;
    font-weight: 400;
    color: #888;
    margin-left: auto;
  }

  /* Basis-Card */
  .config-base-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: #f0f6fb;
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
  }
  .config-base-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
  }
  .config-base-body { flex: 1; }
  .config-base-body p { margin: 0.4rem 0 0 0; color: #555; font-size: 0.93rem; line-height: 1.6; }
  .config-base-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .config-base-name { font-weight: 700; font-size: 1rem; }
  .badge-included {
    background: #e6f7ee;
    color: #2d8a55;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
  }

  /* Nutzer-Buttons */
  .user-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
  .user-btn {
    padding: 0.55rem 1.3rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: var(--secondary);
    font-family: 'Roboto', sans-serif;
    font-size: 0.93rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
  }
  .user-btn:hover { border-color: var(--primary); }
  .user-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
  }

  /* Modul-Karten */
  .config-options { display: flex; flex-direction: column; gap: 0.75rem; }
  .config-option {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.1rem 1.3rem;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
  }
  .config-option:hover { border-color: #a8dcf0; }
  .config-option.selected {
    border-color: var(--primary);
    background: rgba(0,184,240,0.05);
  }
  .config-option-icon {
    color: #888;
    flex-shrink: 0;
    margin-top: 2px;
    transition: color 0.2s;
  }
  .config-option.selected .config-option-icon { color: var(--primary); }
  .config-option-body { flex: 1; }
  .config-option-body strong { font-size: 0.97rem; }
  .config-option-body p { margin: 0.3rem 0 0 0; color: #666; font-size: 0.88rem; line-height: 1.55; }
  .config-option-title-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
  .config-option-check {
    color: var(--primary);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s;
    margin-top: 2px;
  }
  .config-option.selected .config-option-check { opacity: 1; }
  .badge-partner {
    background: #fff3e0;
    color: #b35a00;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
  }

  /* Kontakt-Formular */
  .config-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: start;
  }
  .config-form input,
  .config-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.93rem;
    color: var(--secondary);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
  }
  .config-form input:focus,
  .config-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,184,240,0.1);
  }
  .config-notes { grid-column: 1 / -1; resize: vertical; }

  /* Submit */
  .config-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
  }
  .config-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .config-submit:hover { background: #0096C8; transform: translateY(-2px); }
  .config-note {
    font-size: 0.83rem;
    color: #888;
    text-align: center;
    margin: 0;
    max-width: 480px;
    line-height: 1.5;
  }

  @media(max-width: 640px) {
    .config-form { grid-template-columns: 1fr; }
    .config-optional-hint { display: none; }
  }

  /* CAPTCHA */
  .captcha-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  .captcha-inline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    background: #f7f9fb;
    border: 1px solid #dde5eb;
    border-radius: 8px;
    padding: 0.55rem 0.9rem;
  }
  .captcha-prefix {
    font-size: 0.82rem;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .captcha-question {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .captcha-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
  }
  .captcha-input {
    width: 72px !important;
    padding: 0.4rem 0.65rem !important;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    box-sizing: border-box;
    text-align: center;
  }
  .captcha-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,184,240,0.1);
  }
  .captcha-refresh {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    line-height: 0;
    padding: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
  }
  .captcha-refresh svg { display: block; overflow: visible; stroke: currentColor; }
  .captcha-refresh:hover { background: #e8f5fc; color: var(--primary); border-color: var(--primary); }
  .captcha-error {
    font-size: 0.82rem;
    color: #c0392b;
    margin: 0;
    min-height: 1.1em;
    padding-left: 0.2rem;
  }

  /* ===== KONFIGURATOR ENDE ===== */

  /* Footer */
  footer {
    background: #1a2535;
    color: #ccc;
    font-size: 0.93rem;
    position: relative;
    z-index: 5;
  }
  .footer-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 3rem;
    padding: 3.5rem 2rem 2.5rem;
  }
  .footer-col { display: flex; flex-direction: column; gap: 0.8rem; }
  .footer-logo { height: 45px; width: auto; align-self: flex-start; }
  footer .logo-subtext { color: #aaa; }
  .footer-heading {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 0.4rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
  }
  .footer-col p { margin: 0; line-height: 1.7; color: #bbb; }
  .footer-contact-item { display: flex; align-items: center; gap: 0.5rem; color: #bbb; line-height: 1.7; }
  .footer-col a { color: #bbb; text-decoration: none; }
  .footer-col a:hover { color: var(--primary); }
  .footer-link {
    display: block;
    color: #bbb;
    text-decoration: none;
    padding: 0.2rem 0;
    transition: color 0.2s;
  }
  .footer-link:hover { color: var(--primary); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 1.2rem 2rem;
    font-size: 0.82rem;
    color: #666;
  }
  .footer-bottom p { margin: 0; }

  @media(max-width: 768px) {
    .footer-inner {
      grid-template-columns: 1fr;
      gap: 2rem;
      padding: 2.5rem 1.5rem 2rem;
    }
    .captcha-inline { flex-wrap: nowrap; }
    .captcha-prefix { display: none; }
  }

  #sticky-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, background 0.3s;
    display:none;
    align-items:center;
    gap:0.45em;
  }
  #sticky-contact:hover { background:#0096C8; transform:translateY(-3px); }

  @keyframes fadeIn { to { opacity:1; transform:translateY(0); } }

  @media(max-width:768px){
    header h1 { font-size:2.2rem; }
    header p { font-size:1rem; }
    nav a { margin:0 0.8rem; }
    .about-container { flex-direction:column; }
  }

  /* NAV Layout */
.nav-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1200px;
  margin:auto;
  width:100%;
  padding:0 1rem;
}

.nav-logo img {
  height:50px;
}

/* Desktop Menü */
.nav-links {
  display:flex;
  gap:1.5rem;
}

/* Burger */
.burger {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.burger span {
  width:26px;
  height:3px;
  background:var(--secondary);
  transition:0.3s;
}

/* ===== MOBILE ===== */
@media(max-width:900px){

  .gear { display: none; }

  .nav-inner { padding: 0 1.5rem; }

  header .hero-content { padding: 0 2.5rem; }

  .logo-subtext { display: none; }

  header { padding-top: 82px; box-sizing: border-box; }

  .burger {
    display:flex;
  }

  .nav-links {
    position:absolute;
    top:72px;
    right:0;
    background:white;
    flex-direction:column;
    width:260px;
    padding:2rem;
    gap:1.5rem;
    transform:translateX(100%);
    transition:transform 0.3s ease;
    box-shadow:-5px 5px 20px rgba(0,0,0,0.15);
  }

  .nav-links.open {
    transform:translateX(0);
  }
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.logo-wrapper img {
  height: 50px;
  width: auto;
}

.logo-subtext {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 2px;
  margin-left: 20px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}


.gear {
  position: fixed;
  opacity: 0.15;
  z-index: 0;
}

.left-gear {
  left: max(20px, calc(50% - 900px));
  top: 30%;
  animation: spin-left 20s linear infinite;
}

.right-gear {
  right: max(20px, calc(50% - 900px));
  top: 65%;
  animation: spin-right 20s linear infinite;
}

/* Kleine antreibende Zahnräder */
.small-left-gear {
  left: max(118px, calc(50% - 802px));
  top: calc(30% + 118px);
  transform: rotate(22.5deg);
  animation: spin-right-offset 13.33s linear infinite;
}

.small-right-gear {
  right: max(118px, calc(50% - 802px));
  top: calc(65% - 58px);
  transform: rotate(-22.5deg);
  animation: spin-left-offset 13.33s linear infinite;
}

@keyframes spin-left {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-right {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes spin-right-offset {
  0% { transform: rotate(22.5deg); }
  100% { transform: rotate(-337.5deg); }
}

@keyframes spin-left-offset {
  0% { transform: rotate(-22.5deg); }
  100% { transform: rotate(337.5deg); }
}

@media (max-width: 900px) and (orientation: landscape) {
  .logo-subtext { display: inline; }
  header { padding-top: 130px; }
}
