/* Lokale Schriftart einbinden (muss im Ordner /fonts/ liegen) */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/Finlandica_Headline,Playfair_Display/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Finlandica Headline';
    src: url('../fonts/Finlandica_Headline/FinlandicaHeadline-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

/* CSS Variablen für einfaches Theming */
:root {
    --primary-color: #2c303a;    /* Anthrazit Grau/Blau für Text und Footer */
    --secondary-color: #d4af37;  /* Edles Gold für Akzente */
    --bg-color: #ffffff;         /* Reines Weiß als Haupt-Hintergrund */
    --text-color: #333333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Finlandica Headline', sans-serif;
    --atelier-cream: #f8f3e8;
    --atelier-paper: #fffaf0;
    --atelier-ink-soft: #68717d;
    --atelier-border: rgba(var(--primary-color-rgb), 0.10);
    --atelier-shadow: 0 22px 55px rgba(var(--primary-color-rgb), 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden; /* Verhindert horizontales Scrollen auf Smartphones (z.B. iOS) */
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    cursor: var(--cursor-default, url('../images/nadel.webp') 0 0, auto); /* Standard-Mauszeiger als Nadel */
    overflow-x: hidden; /* Sperrt die Breite strikt auf 100% */
    width: 100%;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    color: var(--heading-color, var(--primary-color));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    left: 50%;
    isolation: isolate;
    max-width: 1140px;
    position: fixed;
    top: 0;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    z-index: 1000;
}

.navbar::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.055) 40%, rgba(0, 0, 0, 0.18) 100%),
        rgba(24, 27, 34, var(--nav-bg-opacity, 0.82));
    backdrop-filter: saturate(135%) blur(var(--nav-blur, 25px));
    -webkit-backdrop-filter: saturate(135%) blur(var(--nav-blur, 25px));
    border: 1px solid rgba(var(--secondary-color-rgb), 0.32);
    border-bottom-color: rgba(0, 0, 0, 0.22);
    border-top-color: rgba(255, 255, 255, 0.22);
    clip-path: polygon(4.2% 0, 95.8% 0, 100% 100%, 0 100%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -20px 34px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.055),
        0 22px 50px rgba(0, 0, 0, 0.28),
        0 6px 18px rgba(var(--secondary-color-rgb), 0.10);
    z-index: 0;
}

.navbar::after {
    background:
        linear-gradient(90deg, transparent 8%, rgba(255, 255, 255, 0.22) 50%, transparent 92%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.20), transparent);
    clip-path: polygon(5% 0, 95% 0, 98.5% 100%, 1.5% 100%);
    content: '';
    height: 42%;
    inset: 0 0 auto 0;
    opacity: 0.72;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    height: 70px;
    max-width: none;
    padding: max(8px, env(safe-area-inset-top)) clamp(30px, 4.8vw, 62px) 0;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo a {
    display: flex;
    align-items: center; /* Zentriert das "U" und den Text exakt auf gleicher Höhe */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055) 48%, rgba(0, 0, 0, 0.16)),
        rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(var(--secondary-color-rgb), 0.28);
    border-bottom-color: rgba(0, 0, 0, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -12px 22px rgba(0, 0, 0, 0.16),
        0 12px 24px rgba(0, 0, 0, 0.23),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
    padding: 7px 20px 7px 14px;
    text-decoration: none;
    transform: translateY(0);
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.logo a:hover {
    border-color: rgba(var(--secondary-color-rgb), 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.30),
        inset 0 -12px 22px rgba(0, 0, 0, 0.12),
        0 16px 30px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(var(--secondary-color-rgb), 0.12);
    transform: translateY(-1px);
}

.logo-text {
    color: #ffffff; /* Weiß für die dunkle Navbar */
    margin-left: 2px; /* Minimaler Abstand zum U */
    -webkit-text-stroke: var(--nav-stroke-width, 0.5px) var(--nav-stroke-color, #000000); /* Dünner schwarzer Rand (Webkit/Chrome/Safari) */
    text-shadow:
        var(--nav-stroke-width, 0.5px) 0 0 var(--nav-stroke-color, #000000),
        calc(var(--nav-stroke-width, 0.5px) * -1) 0 0 var(--nav-stroke-color, #000000),
        0 var(--nav-stroke-width, 0.5px) 0 var(--nav-stroke-color, #000000),
        0 calc(var(--nav-stroke-width, 0.5px) * -1) 0 var(--nav-stroke-color, #000000);
    font-family: var(--nav-font-family, var(--font-body));
    font-weight: var(--nav-font-weight, 900); /* Schrift maximal dicker machen (Black/Extra Bold) */
    letter-spacing: var(--nav-letter-spacing, 1.5px); /* Etwas mehr Luft für eine saubere Kontur */
    line-height: 1;
}

/* Styling für das Bild-Logo */
.logo-img {
    max-height: 42px; /* Passt perfekt in die schmalere Navbar */
    width: auto;
    display: block;
    flex-shrink: 0; /* Verhindert, dass das Bild auf Handys gequetscht wird */
}

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

.nav-links a {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 20px;
    text-decoration: none;
    color: #ffffff; /* Weiße Schriftart, da das Menü jetzt dunkel ist */
    display: flex;
    flex-direction: column;
    font-family: var(--nav-font-family, var(--font-body));
    font-size: clamp(0.78rem, 0.72vw, var(--nav-font-size, 0.9rem));
    font-weight: var(--nav-font-weight, 900); /* Schrift maximal dicker machen (Black/Extra Bold) */
    letter-spacing: 0.04em;
    line-height: 1.1;
    min-width: 98px;
    padding: 10px 12px 11px;
    position: relative;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-links a:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.04);
    border-color: rgba(var(--secondary-color-rgb), 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 10px 20px rgba(0, 0, 0, 0.15);
    color: var(--secondary-color);
    transform: translateY(-1px);
}

.nav-links a span {
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links a small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-top: 4px;
    text-transform: none;
    white-space: nowrap;
}

.nav-links a:hover small {
    color: rgba(255, 255, 255, 0.82);
}

.nav-links a::after {
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    border-radius: 999px;
    bottom: 7px;
    content: '';
    height: 2px;
    left: 14px;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    width: calc(100% - 28px);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

/* Neuer Navigations-Button (Desktop) */
.nav-cta {
    margin-left: 4px;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    font-family: var(--nav-font-family, var(--font-body));
    line-height: 1.1;
    padding: 11px 14px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-size: clamp(0.78rem, 0.72vw, var(--nav-font-size, 0.9rem));
    font-weight: var(--nav-font-weight, 900);
    border-radius: 18px;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 12px 24px rgba(0,0,0,0.16);
    min-width: 144px;
    overflow: hidden;
}

.btn-nav small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-top: 4px;
    text-transform: none;
}

.btn-nav:hover {
    background: rgba(var(--secondary-color-rgb), 0.13);
    border-color: rgba(var(--secondary-color-rgb), 0.38);
    color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 28px rgba(0,0,0,0.22);
}

.btn-nav:hover small {
    color: rgba(255, 255, 255, 0.82);
}

.btn-nav::after {
    background: var(--secondary-color);
    border-radius: 999px;
    bottom: 6px;
    content: '';
    height: 2px;
    left: 14px;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    width: calc(100% - 28px);
}

.btn-nav:hover::after,
.btn-nav:focus-visible::after {
    transform: scaleX(1);
}

/* Zeigt eine leicht andere Nadel (z.B. geneigt), wenn man über etwas klickbares fährt */
a, button, .hamburger {
    cursor: var(--cursor-pointer, url('../images/nadel-klick.webp') 0 0, pointer);
}

/* Hamburger Menu (Desktop: versteckt) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(var(--secondary-color-rgb), 0.24);
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 10px 20px rgba(0, 0, 0, 0.18);
    padding: 11px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, var(--secondary-color));
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    transition: all 0.3s ease-in-out;
}

/* Trust Bar (USPs unter Hero) */
.trust-bar {
    background:
        radial-gradient(circle at top left, rgba(var(--secondary-color-rgb), 0.16), transparent 32%),
        linear-gradient(135deg, #20242d, #151820);
    padding: 24px 0;
    border-bottom: 1px solid rgba(var(--secondary-color-rgb), 0.32);
    position: relative;
    z-index: 10;
    margin-top: -5px; /* Schließt nahtlos ans Hero-Bild an */
}

/* Customer Guide */
.customer-guide {
    background:
        radial-gradient(circle at top right, rgba(var(--secondary-color-rgb), 0.16), transparent 30%),
        linear-gradient(135deg, #fffaf0, #f8f3e8);
    padding-top: clamp(58px, 7vw, 92px);
}

.customer-guide__head {
    margin: 0 auto 30px;
    max-width: 760px;
    text-align: center;
}

.customer-guide__eyebrow {
    color: var(--secondary-color);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.customer-guide__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.customer-guide__card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(var(--primary-color-rgb), 0.10);
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(var(--primary-color-rgb), 0.08);
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    min-height: 238px;
    padding: 22px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.customer-guide__card:hover,
.customer-guide__card:focus-visible {
    border-color: rgba(var(--secondary-color-rgb), 0.46);
    box-shadow: 0 22px 46px rgba(var(--primary-color-rgb), 0.13);
    transform: translateY(-4px);
}

.customer-guide__card span {
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.customer-guide__card strong {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.18;
    margin-bottom: 10px;
}

.customer-guide__card p {
    color: var(--atelier-ink-soft);
    font-size: 0.94rem;
    line-height: 1.45;
    margin: 0;
}

.customer-guide__card em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 900;
    margin-top: auto;
    padding-top: 18px;
}

.pricing-trust-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 28px 0;
}

.pricing-trust-card {
    background:
        radial-gradient(circle at top right, rgba(var(--secondary-color-rgb), 0.12), transparent 38%),
        #fff;
    border: 1px solid rgba(var(--primary-color-rgb), 0.09);
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(var(--primary-color-rgb), 0.07);
    padding: 20px;
}

.pricing-trust-card span {
    color: var(--secondary-color);
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pricing-trust-card h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.pricing-trust-card p {
    color: var(--atelier-ink-soft);
    font-size: 0.94rem;
    line-height: 1.5;
    margin: 0;
}

.trust-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    padding: 15px;
}

.trust-icon {
    align-items: center;
    background: rgba(var(--secondary-color-rgb), 0.16);
    border: 1px solid rgba(var(--secondary-color-rgb), 0.28);
    border-radius: 50%;
    color: var(--secondary-color);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.trust-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.3;
}

.trust-text small {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.atelier-eyebrow {
    color: var(--secondary-color);
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.atelier-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--atelier-border);
    border-radius: 26px;
    box-shadow: var(--atelier-shadow);
}

.atelier-stitch-line {
    border-top: 1px dashed rgba(var(--secondary-color-rgb), 0.55);
    margin: 22px 0;
}

.section {
    position: relative;
}

.section::after {
    background: linear-gradient(90deg, transparent, rgba(var(--secondary-color-rgb), 0.35), transparent);
    bottom: 0;
    content: '';
    height: 1px;
    left: 10%;
    position: absolute;
    right: 10%;
}

/* Allgemeine Sektionen */
.section {
    padding: 100px 0;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.section.bg-light {
    background:
        radial-gradient(circle at top left, rgba(var(--secondary-color-rgb), 0.08), transparent 34%),
        #f6f4ef;
}

.section.bg-dark {
    background-color: var(--primary-color);
    color: white;
}

.section.bg-dark h2 {
    color: white;
}

.lead-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-atelier {
    align-items: stretch;
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
}

.about-atelier__story {
    padding: clamp(26px, 4vw, 42px);
}

.about-atelier__story h2,
.about-atelier__story .lead-text {
    text-align: left;
}

.about-atelier__story h2 {
    margin-bottom: 20px;
}

.about-atelier__quote {
    background:
        linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.98), rgba(22, 25, 33, 0.98)),
        var(--primary-color);
    color: #fff;
    display: grid;
    padding: clamp(26px, 4vw, 38px);
}

.about-atelier__quote strong {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.15;
}

.about-atelier__quote span {
    color: rgba(255, 255, 255, 0.70);
    margin-top: 14px;
}

.about-stats,
.expertise-steps {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
}

.about-stat,
.expertise-step {
    background: rgba(255, 250, 240, 0.96);
    border: 1px solid rgba(var(--secondary-color-rgb), 0.34);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    padding: 16px;
}

.about-stat strong,
.about-stat span,
.expertise-step strong,
.expertise-step span {
    display: block;
}

.about-stat strong {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.55rem;
}

.expertise-step strong {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.18rem;
}

.about-stat span,
.expertise-step span {
    color: #4f5966;
    font-size: 0.9rem;
}

/* Expertise & Philosophie Sektion */
.expertise-content {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.expertise-text {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
}

.expertise-text p {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
    padding: 24px;
    text-align: left;
}

.expertise-text p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background:
        radial-gradient(circle at top left, rgba(var(--secondary-color-rgb), 0.12), transparent 35%),
        #171b23;
    color: rgba(255, 255, 255, 0.68);
    padding: 50px 0;
    text-align: left;
}

.footer-content {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.6fr));
}

.footer-brand strong {
    color: #fff;
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-block h3 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-block p,
.footer-brand p {
    margin-bottom: 10px;
}

.footer-block a,
.footer-brand a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-block a:hover,
.footer-brand a:hover {
    color: var(--secondary-color);
}

.legal-links {
    list-style: none;
    display: grid;
    gap: 8px;
}

.legal-links a {
    color: #888;
    text-decoration: none;
}

@media (max-width: 980px) {
    .trust-grid,
    .customer-guide__grid,
    .pricing-trust-grid,
    .about-atelier,
    .expertise-text,
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-atelier__story,
    .about-atelier__quote {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .trust-grid,
    .customer-guide__grid,
    .pricing-trust-grid,
    .about-stats,
    .expertise-steps,
    .expertise-text,
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.legal-links a:hover {
    color: white;
}

/* Legal Pages (Impressum, Datenschutz) */
.legal-page {
    padding-top: 80px; /* Offset for fixed navbar */
}

.legal-page .section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.legal-page h2 {
    text-align: left;
}

.legal-intro {
    background: rgba(212, 175, 55, 0.12);
    border-left: 4px solid var(--secondary-color);
    border-radius: 14px;
    color: var(--primary-color);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 32px;
    padding: 18px 20px;
}

/* Fade-In Scroll Animationen */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

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

/* Visueller Wisch-Hinweis für Mobile */
.swipe-hint {
    display: none; /* Auf dem Desktop unsichtbar */
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}

.swipe-hint .arrow-left { display: inline-block; animation: swipe-bounce-left 2s infinite; margin-right: 5px; }
.swipe-hint .arrow-right { display: inline-block; animation: swipe-bounce-right 2s infinite; margin-left: 5px; }

@keyframes swipe-bounce-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

@keyframes swipe-bounce-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Tablet & Mobile Layout: Horizontales Scrollen (Wischen) statt untereinander */
@media (max-width: 1200px) {
    .swipe-hint {
        display: block; /* Wird auf Tablets und Handys eingeblendet */
    }
    .grid-gallery {
        display: flex; /* Überschreibt das normale Grid */
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* Zwingt die Karten beim Wischen einzurasten */
        justify-content: flex-start;
        padding: 20px 20px 40px 20px; /* Platz für Schatten und Hover-Effekt */
        margin: 0 -20px; /* Erlaubt das Wischen bis ganz an den Bildschirmrand */
        gap: 20px;
        scrollbar-width: none; /* Versteckt die Scrollbar für einen sauberen Look */
        -webkit-overflow-scrolling: touch;
    }
    .grid-gallery::-webkit-scrollbar {
        display: none;
    }
    .gallery-item {
        flex-shrink: 0;
        width: 320px; /* Ähnlich wie die großen Karten auf dem Tablet */
        scroll-snap-align: center;
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        height: 62px; /* Macht die Navbar auf Handys schmaler */
        gap: 10px;
        padding: max(8px, env(safe-area-inset-top)) 18px 0 24px;
    }

    .navbar {
        max-width: none;
        top: 0;
        width: calc(100% - 20px);
    }

    .navbar::before {
        clip-path: polygon(5.5% 0, 94.5% 0, 100% 100%, 0 100%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.26),
            inset 0 -16px 24px rgba(0, 0, 0, 0.20),
            0 16px 34px rgba(0, 0, 0, 0.28);
    }

    .logo {
        font-size: 1.4rem; /* Text im Logo leicht anpassen */
    }

    .logo-img {
        max-height: 35px; /* Logo-Bild proportional zur Navbar verkleinern */
    }

    .logo a {
        padding: 5px 11px 5px 6px;
    }

    /* Versteckt den Nav-CTA auf dem Handy (spart Platz) */
    .nav-cta {
        display: none;
    }

    nav {
        position: fixed;
        top: 80px; /* Angepasst an die schwebende Navbar */
        right: -100%; /* Versteckt das Menü rechts außerhalb des Bildschirms */
        width: min(84vw, 340px);
        height: auto;
        max-height: calc(100dvh - 96px);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
            rgba(24, 27, 34, 0.92);
        backdrop-filter: saturate(130%) blur(var(--nav-blur, 25px));
        -webkit-backdrop-filter: saturate(130%) blur(var(--nav-blur, 25px));
        border-radius: 26px 0 0 26px;
        box-shadow:
            -18px 22px 44px rgba(0, 0, 0, 0.38),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(var(--secondary-color-rgb), 0.22);
        border-right: 0;
        overflow: hidden;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    nav.active {
        right: 0; /* Schiebt das Menü von rechts ins Bild */
    }

    .navbar nav.active {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
            rgba(24, 27, 34, 0.94) !important;
        box-shadow:
            -18px 22px 44px rgba(0, 0, 0, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        background: transparent;
        gap: 12px;
        min-height: 0;
        padding: 18px 16px 20px;
    }

    .nav-links a {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
            rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.10);
        border-radius: 18px;
        min-width: 0;
        padding: 14px 15px;
        width: 100%;
    }

    .nav-links a small {
        white-space: normal;
    }

    /* Hamburger Animation (wird zu einem X) */
    .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .hero-content h1 {
        font-size: 2.2rem; /* Etwas kleiner für sehr schmale Handys */
        overflow-wrap: break-word; /* Bricht ultra-lange Wörter auf dem Handy um */
        hyphens: auto; /* Erlaubt Silbentrennung NUR auf kleinen Bildschirmen */
    }

    .trust-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .trust-item {
        flex-direction: column;
        gap: 5px;
    }

    /* Macht die Karten auf dem Handy kompakter und passt die Überlappung an */
    .card {
        width: 80vw; 
        min-height: 380px;
    }
    .card:hover ~ .card, .card.is-open ~ .card {
        transform: translateX(10px) scale(0.95);
    }
    
    .carousel-nav {
        display: none;
    }
    
    .services-carousel-wrapper.full-width-carousel {
        padding: 0;
    }

    .card h3 {
        font-size: 1.8rem;
    }

    .gallery-item {
        width: 85vw; /* Gleiche kompakte Breite wie die Leistungskarten auf dem Smartphone */
    }
    
    .grid-contact {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .expertise-text p {
        font-size: 1rem;
        text-align: left; /* Auf dem Handy lässt sich linksbündiger Text besser lesen */
    }

    /* --- NEUE MOBILE OPTIMIERUNGEN --- */
    
    .section {
        padding: 60px 0; /* Weniger leerer Raum zwischen Sektionen */
    }
    
    .section h2 {
        font-size: 2rem; /* Überschriften leicht verkleinern */
        margin-bottom: 30px;
    }
    
    .contact-form {
        padding: 30px 20px; /* Gibt den Eingabefeldern mehr Breite auf dem Handy */
    }
    
    .map-container {
        min-height: 400px; /* Verhindert, dass die Karte den kompletten Handy-Bildschirm einnimmt */
    }
    
    .review-card {
        padding: 30px 20px; /* Zitate haben so mehr Platz */
    }
    
    /* Floating Buttons etwas dezenter machen */
    .whatsapp-float, .instagram-float, .scroll-to-top {
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon, .instagram-icon {
        width: 30px;
        height: 30px;
    }
    .instagram-float { bottom: 90px; }
    .scroll-to-top { bottom: 150px; }
    
    #order-status > .container > div {
        padding: 30px 20px !important; /* Auftrags-Box kompakter machen */
    }
}

/* Accessibility: Reduzierte Animationen für Nutzer, die dies im OS bevorzugen */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 
