/* ============================================
   INGRABAN® Cosmetic – Mobile-Optimierung 2026
   Umfassende Smartphone-Anpassungen
   ============================================ */

/* ============================================
   GLOBAL: Banner & UI-Anpassungen
   ============================================ */

/* Scroll-to-Top Button entfernt */
.scroll-top-button {
    display: none !important;
}

/* --- BANNER TICKER (Lauftext) --- */
.banner-ticker {
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.banner-ticker__track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
}

.banner-ticker__set {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.banner-ticker__item {
    color: #d0d0da;
    font-size: 0.82rem;
    font-weight: 400;
    padding: 0 6px;
}

.banner-ticker__item a {
    color: var(--gold-light, #5ee0cb);
    font-weight: 600;
    text-decoration: none;
}

.banner-ticker__item a:hover {
    text-decoration: underline;
}

.banner-ticker__sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.7rem;
    padding: 0 10px;
}

@keyframes bannerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause ticker on hover */
.banner-ticker:hover .banner-ticker__track {
    animation-play-state: paused;
}

/* Dark-Mode-Toggle: jetzt im Banner inline */
.dark-mode-toggle {
    position: static !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #e2e2ea !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 13px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: all 0.3s ease;
    padding: 0 !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
}

.dark-mode-toggle:hover {
    background: rgba(255,255,255,0.18) !important;
    color: var(--gold-light, #5ee0cb) !important;
    transform: none !important;
    box-shadow: none !important;
}

[data-theme="dark"] .dark-mode-toggle {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.25) !important;
    color: var(--gold-light, #5ee0cb) !important;
}

/* ============================================
   TABLET (bis 991px)
   ============================================ */
@media (max-width: 991px) {

    /* Header Logo kleiner */
    .header-logo-col img {
        height: 120px !important;
        width: auto !important;
    }

    /* Brand-Name kleiner */
    .header-brand-line .brand-name {
        font-size: 2.8rem !important;
    }

    .header-brand-line .brand-name span[style*="font-size"] {
        font-size: 2.8rem !important;
    }

    /* Tagline */
    .header-tagline {
        font-size: 1.15rem;
    }

    /* Footer Logo */
    .footer-logo {
        height: 120px !important;
        width: auto !important;
    }

    /* Hausbesuch Box flexibler */
    .hausbesuch-box__inner {
        flex-direction: column;
    }

    /* Bilder auf Tablets begrenzen */
    .img-responsive,
    .img-rounded {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* ============================================
   MOBILE (bis 767px) – Hauptoptimierung
   ============================================ */
@media (max-width: 767px) {

    /* --- GLOBAL MOBILE OVERRIDES --- */
    html {
        overflow-x: hidden !important;
    }

    body {
        overflow-x: hidden !important;
        padding-bottom: 56px !important;
    }

    .container {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* --- NAVIGATION --- */
    .quick-nav {
        padding: 6px 4px;
        gap: 3px;
    }

    .quick-nav-brand {
        margin-right: 2px;
    }
    .quick-nav-brand__logo {
        height: 28px;
    }
    .quick-nav-brand__text {
        display: none;
    }

    .quick-nav-btn {
        padding: 8px 10px;
        font-size: 0.78rem;
        min-height: 40px;
        border-radius: 25px;
        gap: 5px;
    }

    .quick-nav-btn i {
        font-size: 0.82rem;
    }

    .quick-nav-btn span {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Dark Mode Toggle – lebt jetzt im Banner (position:static), kein Overlap mit CTA */

    /* --- ANNOUNCEMENT BANNER --- */
    #announce-banner {
        padding: 4px 0 !important;
    }

    #announce-banner p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }

    #announce-banner > div {
        gap: 4px !important;
        padding: 0 4px !important;
    }

    .banner-ticker__item {
        font-size: 0.72rem;
        padding: 0 4px;
    }

    .banner-ticker__sep {
        padding: 0 6px;
    }

    /* --- HEADER --- */
    header#box1 {
        padding: 0 8px;
        margin: 0 !important;
    }

    header#box1 > .row {
        flex-direction: column;
        text-align: center;
        margin: 0 !important;
    }

    .header-logo-col {
        padding: 10px 8px 4px;
        justify-content: center;
        display: flex;
    }

    .header-logo-col > a {
        align-items: center !important;
    }

    .header-logo-col img {
        height: 70px !important;
        width: auto !important;
    }

    /* Logo Schriftzug kleiner */
    .header-logo-col span[style*="staccato"] {
        font-size: 1.2rem !important;
        margin-top: -10px !important;
    }

    .header-logo-col span[style*="letter-spacing"] {
        font-size: 0.5rem !important;
    }

    .header-info-col {
        padding: 2px 8px 10px;
        text-align: center !important;
        align-items: center !important;
    }

    .header-brand-line {
        justify-content: center;
        gap: 6px;
        display: none !important;
    }

    .header-tagline {
        font-size: 1.05rem !important;
        line-height: 1.3 !important;
        padding-bottom: 6px;
        margin-bottom: 6px;
        margin-top: 0 !important;
        text-align: center !important;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .header-tagline::after {
        left: 50% !important;
        transform: translateX(-50%);
        width: 30px;
    }

    /* --- HEADER PHONE BAR (Mobile-Layout) --- */
    .header-phone-bar {
        flex-wrap: wrap !important;
        white-space: normal !important;
        justify-content: center !important;
        gap: 5px 6px !important;
        text-align: center;
    }

    .header-phone-sep {
        display: none !important;
    }

    .header-phone-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.78rem;
        padding: 4px 10px;
        background: rgba(46, 211, 183, 0.08);
        border: 1px solid rgba(46, 211, 183, 0.15);
        border-radius: 20px;
        white-space: nowrap;
    }

    .header-phone-note {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.75rem !important;
        padding: 4px 10px;
        background: rgba(201, 168, 76, 0.1);
        border: 1px solid rgba(201, 168, 76, 0.2);
        border-radius: 20px;
        white-space: nowrap;
    }

    /* --- HERO BANNER --- */
    .hero-banner {
        min-height: 240px;
        margin: 0 -8px !important;
        margin-bottom: -20px !important;
        padding-bottom: 35px;
        clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
    }

    .hero-content {
        padding: 24px 14px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 1.45rem !important;
        line-height: 1.25;
        margin-bottom: 8px;
        letter-spacing: -0.01em;
    }

    .hero-content p {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 16px;
        max-width: 100%;
    }

    .hero-cta {
        padding: 12px 22px;
        font-size: 0.88rem;
        border-radius: 50px;
        width: auto;
        max-width: 100%;
    }

    /* Wellness Hero – fix background position for mobile */
    .hero-banner--wellness {
        background-position: center center !important;
        background-size: cover !important;
    }

    /* --- CONTENT SECTIONS --- */
    .content-section {
        padding: 20px 0;
    }

    .content-section.highlight {
        padding: 20px 12px;
        margin: 16px -4px;
        border-radius: 12px;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 1.75rem !important;
        -webkit-text-fill-color: initial;
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 0.92rem;
        margin-top: 16px;
        line-height: 1.6;
    }

    /* --- USP CARDS --- */
    .usp-card {
        padding: 20px 16px;
        margin-bottom: 12px;
    }

    .usp-card i {
        font-size: 2rem;
    }

    .usp-card h4 {
        font-size: 1.05rem;
        margin-top: 10px;
        margin-bottom: 6px;
    }

    .usp-card p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    /* --- LEISTUNG CARDS --- */
    .leistung-card {
        border-radius: 12px;
    }

    .leistung-card img {
        height: 180px;
        border-radius: 12px 12px 0 0;
    }

    .leistung-card-overlay h4 {
        font-size: 1rem;
    }

    /* --- PREIS-QUICKLINKS --- */
    .price-quicklink-inline {
        font-size: 0.85rem;
    }

    /* --- HAUSBESUCH BOX --- */
    .hausbesuch-box {
        margin: 0 -5px;
    }

    .hausbesuch-box__inner {
        flex-direction: column !important;
        padding: 20px 16px;
        gap: 20px;
    }

    .hausbesuch-box__left {
        text-align: center;
        padding-right: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 20px;
    }

    .hausbesuch-box__icon {
        margin: 0 auto 12px;
    }

    .hausbesuch-box__icon i {
        font-size: 2rem;
    }

    .hausbesuch-box__title {
        font-size: 1.15rem !important;
        line-height: 1.3;
        text-align: center;
    }

    .hausbesuch-box__desc {
        font-size: 0.9rem;
        line-height: 1.55;
        text-align: center;
    }

    .hausbesuch-box__extra {
        font-size: 0.88rem;
        text-align: center;
    }

    .hausbesuch-box__right {
        text-align: center;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .hausbesuch-box__list {
        padding-left: 0;
        list-style: none;
        text-align: left;
        display: inline-block;
    }

    .hausbesuch-box__list li {
        font-size: 0.88rem;
        line-height: 1.5;
        padding: 6px 0;
    }

    .hausbesuch-box__phones {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .hausbesuch-box__phone {
        font-size: 0.95rem !important;
        padding: 12px 16px !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        min-height: 48px;
        width: 85% !important;
        max-width: 300px !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hausbesuch-box__phone--cta {
        background: transparent !important;
        border-color: var(--gold) !important;
        color: var(--gold) !important;
        font-size: 0.95rem !important;
        width: 85% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    .hausbesuch-box__phone--cta:hover {
        background: var(--gold) !important;
        color: #fff !important;
    }

    /* --- TESTIMONIALS --- */
    .testimonial {
        padding: 18px 14px;
        margin-bottom: 14px;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .testimonial-name {
        font-size: 0.85rem;
    }

    .testimonial-date {
        font-size: 0.75rem;
    }

    .rating-summary {
        flex-direction: column;
        gap: 4px;
    }

    .rating-stars {
        font-size: 1.2rem;
    }

    .rating-text {
        font-size: 0.82rem;
    }

    /* --- PREIS-BUTTONS --- */
    .price-btn-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .price-cat-btn {
        padding: 10px 8px !important;
        font-size: 0.78rem !important;
        min-height: 44px; /* Touch-Target */
        border-radius: 10px;
        line-height: 1.3;
    }

    .price-cat-btn i {
        font-size: 1rem;
    }

    /* --- PREIS-PANELS --- */
    .price-panel-header-card {
        padding: 16px 14px;
    }

    .price-panel-header-card h2 {
        font-size: 1.2rem !important;
    }

    .price-panel-subtitle {
        font-size: 0.85rem;
    }

    .price-panel-icon {
        font-size: 1.8rem;
    }

    .price-table__head {
        font-size: 0.72rem;
        padding: 8px 10px;
    }

    .price-table__row {
        padding: 10px;
    }

    .price-table__name {
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .price-table__val {
        font-size: 0.88rem;
        font-weight: 600;
    }

    .price-table__detail {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .price-subgroup__title {
        font-size: 0.88rem;
    }

    .price-panel-cta {
        padding: 14px;
    }

    .price-panel-cta a {
        font-size: 0.9rem;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .price-panel-note {
        font-size: 0.82rem;
        padding: 10px 12px;
    }

    /* --- TERMIN FORM --- */
    .termin-form-card {
        margin: 0 -10px;
        border-radius: 12px;
    }

    .termin-form-header {
        padding: 14px 16px;
        font-size: 1.05rem;
    }

    .termin-form-section {
        padding: 12px 14px;
    }

    .termin-field label {
        font-size: 0.88rem;
        margin-bottom: 4px;
    }

    .termin-field input,
    .termin-field select,
    .termin-field textarea {
        font-size: 16px !important; /* Verhindert iOS-Zoom */
        padding: 12px;
        border-radius: 8px;
        min-height: 48px;
    }

    .termin-form-actions {
        padding: 16px 14px;
    }

    .termin-submit-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 50px;
    }

    .tageszeit-btns {
        gap: 6px;
    }

    .tz-btn {
        font-size: 0.85rem;
        padding: 10px 14px;
        min-height: 44px;
    }

    .termin-alternative {
        padding: 16px 14px;
    }

    .termin-alt-phones {
        flex-direction: column;
        gap: 8px;
    }

    .termin-alt-phone {
        font-size: 0.92rem;
        padding: 12px 16px;
        min-height: 48px;
        text-align: center;
        justify-content: center;
    }

    .termin-alt-hours {
        font-size: 0.85rem;
    }

    /* --- FAQ --- */
    .faq-item {
        margin-bottom: 10px;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 0.95rem;
        min-height: 48px; /* Touch-Target */
        display: flex;
        align-items: center;
    }

    .faq-toggle {
        font-size: 0.85rem;
    }

    .faq-answer {
        padding: 0 16px 14px;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* --- FOOTER --- */
    .footer-main {
        grid-template-columns: 1fr !important;
        gap: 28px;
        padding: 28px 16px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h5 {
        font-size: 1.05rem;
        margin-bottom: 12px;
    }

    .footer-about {
        text-align: center;
    }

    .footer-logo {
        height: 100px !important;
        width: auto !important;
    }

    .footer-contact-item {
        justify-content: center;
        font-size: 0.9rem;
    }

    .footer-contact-item a {
        font-size: 0.9rem;
        word-break: break-all;
    }

    .footer-social {
        justify-content: center !important;
    }

    .footer-tagline {
        padding: 12px 16px;
    }

    .footer-tagline p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .footer-bottom {
        padding: 14px 16px;
    }

    .footer-bottom-bar {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px 8px !important;
        white-space: normal !important;
    }

    .footer-bottom-sep {
        display: none !important;
    }

    .footer-bottom p {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    /* --- STICKY CTA BAR --- */
    .sticky-cta-bar {
        height: 52px;
    }

    .sticky-cta-btn {
        font-size: 0.85rem !important;
        padding: 10px 12px !important;
    }

    /* --- FLOATING BUTTONS --- */
    .termin-float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 14px;
        font-size: 18px;
    }

    .termin-float span {
        display: none; /* Nur Icon auf Mobile */
    }

    .scroll-top-button {
        width: 40px;
        height: 40px;
        bottom: 16px;
        right: 70px;
        font-size: 14px;
    }

    /* --- ALLGEMEINE BILDER – Mobile Sizing --- */
    img {
        max-width: 100%;
        height: auto;
    }

    .img-responsive,
    .img-rounded,
    .center-block img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        object-fit: cover;
        border-radius: 10px;
    }

    /* Leistungskarten-Bilder */
    .leistung-card img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }

    /* Produkt-Bilder in Grid */
    .image-grid img,
    .col-md-4 img.img-responsive,
    .col-md-3 img.img-responsive {
        width: 100% !important;
        max-height: 250px;
        object-fit: cover;
        border-radius: 10px !important;
    }

    /* Einzelne große Bilder */
    img[style*="max-width"] {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Bild-Spalten nebeneinander auf Mobile: 2 pro Reihe */
    .image-grid .col-md-4,
    .image-grid .col-md-3 {
        width: 50%;
        float: left;
        padding: 4px;
    }

    /* Microblading Vorher/Nachher Bilder */
    .col-sm-6 img.img-responsive {
        width: 100% !important;
        height: auto !important;
        max-height: 220px;
        object-fit: cover;
    }

    /* --- ALLGEMEINE TYPOGRAFIE --- */
    h1 {
        font-size: 1.5rem;
        margin-top: 16px;
        margin-bottom: 12px;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    h3 {
        font-size: 1.1rem;
        margin-top: 16px;
        margin-bottom: 8px;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    /* Inline Staccato-Font Überschreibung */
    span[style*="staccato"] {
        font-size: inherit !important;
    }

    /* Bilder */
    .img-rounded {
        border-radius: 10px !important;
        margin-bottom: 16px !important;
    }

    /* Bootstrap Grid-Gap auf Mobile */
    .row {
        margin-left: -6px;
        margin-right: -6px;
    }

    .row > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

    /* Container-Padding */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* --- PAGE HEADING --- */
    .page-heading {
        padding: 20px 12px 16px;
        margin: 0 -12px;
    }

    .page-heading h1 {
        font-size: 1.4rem !important;
        line-height: 1.25;
    }

    .page-heading p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    /* --- GOOGLE REVIEWS --- */
    .google-reviews {
        padding: 24px 12px;
    }

    .gr-card {
        flex: 0 0 82vw;
        min-width: 240px;
        max-width: 82vw;
    }

    .gr-badge {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }

    .gr-badge-info {
        text-align: center;
    }

    /* Image Grid */
    .image-grid .col-md-4 {
        margin-bottom: 12px;
    }

    /* Tabellen */
    .table {
        font-size: 0.85rem;
    }

    .table thead th,
    .table tbody td {
        padding: 8px 10px;
    }

    /* Promo Badge */
    .promo-badge {
        display: none;
    }

    /* Datenschutz */
    .datenschutz-section {
        padding: 16px 12px;
        font-size: 0.88rem;
    }

    /* Inline CTA-Buttons breiter */
    .hero-cta[style*="background"] {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    /* Sticky Price Button Bar */
    .price-btn-sticky {
        padding: 8px 6px;
    }
}

/* ============================================
   KLEINE SMARTPHONES (bis 400px)
   ============================================ */
@media (max-width: 400px) {

    /* Navigation noch kompakter */
    .quick-nav-btn {
        padding: 6px 7px;
        font-size: 0.7rem;
        gap: 3px;
    }

    .quick-nav-brand__logo {
        height: 24px;
    }

    .quick-nav-btn i {
        font-size: 0.75rem;
    }

    .quick-nav-btn span {
        max-width: 60px;
    }

    /* Header noch kleiner */
    .header-logo-col img {
        height: 55px !important;
    }

    .header-logo-col span[style*="staccato"] {
        font-size: 1rem !important;
    }

    .header-tagline {
        font-size: 0.92rem !important;
    }

    /* Phone bar noch kompakter */
    .header-phone-link {
        font-size: 0.72rem;
        padding: 3px 7px;
    }

    .header-phone-note {
        font-size: 0.7rem !important;
        padding: 3px 7px;
    }

    /* Hero noch kompakter */
    .hero-content h1 {
        font-size: 1.4rem !important;
    }

    .hero-content p {
        font-size: 0.88rem;
    }

    .hero-cta {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    /* Content */
    h1 { font-size: 1.35rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.05rem; }

    p {
        font-size: 0.9rem;
    }

    /* USP Cards */
    .usp-card {
        padding: 16px 12px;
    }

    .usp-card h4 {
        font-size: 0.95rem;
    }

    .usp-card p {
        font-size: 0.82rem;
    }

    /* Preis-Buttons 2 Spalten für sehr kleine Screens */
    .price-btn-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .price-cat-btn {
        padding: 10px 6px !important;
        font-size: 0.72rem !important;
    }

    /* Leistungskarten */
    .leistung-card img {
        height: 150px;
    }

    /* Footer */
    .footer-logo {
        height: 80px !important;
    }

    .footer-bottom p {
        font-size: 0.72rem;
    }

    /* Hausbesuch */
    .hausbesuch-box__title {
        font-size: 1.05rem !important;
    }

    .hausbesuch-box__list li {
        font-size: 0.82rem;
    }

    .hausbesuch-box__phone {
        font-size: 0.88rem;
        padding: 10px 14px;
    }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-banner {
        min-height: 200px;
        padding-bottom: 30px;
    }

    .hero-content {
        padding: 20px 16px;
    }

    .hero-content h1 {
        font-size: 1.4rem !important;
    }

    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .header-logo-col img {
        height: 60px !important;
    }
}

/* ============================================
   TOUCH-TARGET GARANTIEN (alle Geräte)
   ============================================ */
@media (pointer: coarse) {
    /* Touch-Screens bekommen größere Tap-Targets */
    a, button, [role="button"], input[type="submit"], .faq-question {
        min-height: 44px;
    }

    /* Links innerhalb von Text etwas mehr Padding */
    p a, li a, .footer-contact-item a {
        padding: 2px 0;
    }
}

/* ============================================
   iOS-SPEZIFISCH: Zoom bei Input verhindern
   ============================================ */
@supports (-webkit-touch-callout: none) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* ============================================
   SAFE AREA (Notch-Handys)
   ============================================ */
@supports (padding: env(safe-area-inset-top)) {
    .quick-nav {
        padding-top: calc(8px + env(safe-area-inset-top));
    }

    .footer-bottom {
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .termin-float {
        bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .scroll-top-button {
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

/* ============================================
   SCROLL ANIMATION – Mobile Optimierungen
   ============================================ */

/* Auf Mobile keine 3D-Transformationen (Performance) */
@media (max-width: 767px) {
    .content-section,
    .leistung-card,
    .usp-card,
    .service-highlight,
    .price-card {
        will-change: auto !important;
        /* Don't override transform – GSAP sets it for animations.
           Overriding with !important causes layout thrashing. */
    }

    /* Scroll Progress Bar ausblenden auf Mobile */
    .scroll-progress {
        display: none !important;
    }

    /* Kein Cursor-Glow auf Touch */
    .cursor-glow {
        display: none !important;
    }

    /* Keine Shimmer Particles auf Mobile */
    .shimmer-container {
        display: none !important;
    }

    /* Cards: kein will-change für bessere Scroll-Performance */
    .hero-cta,
    .termin-float {
        will-change: auto;
    }

    /* Bilder: kein Parallax-Versatz auf Mobile */
    .img-responsive[style*="transform"],
    .img-rounded[style*="transform"] {
        transform: none !important;
    }

    /* Section-Enthüllungen schneller triggern */
    .section-header::after {
        transition: width 0.3s ease;
    }
}

/* Reduced Motion: überspringt alle Animationen */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-progress,
    .cursor-glow,
    .shimmer-container {
        display: none !important;
    }
}
