/*
Theme Name: Schneidtechnik Benschneider
Theme URI: https://schneidtechnik-benschneider.de
Author: Johann Benschneider
Author URI: https://schneidtechnik-benschneider.de
Description: Professionelles WordPress Theme fuer Schneidtechnik Benschneider - Fachbetrieb fuer Schneidwerkzeuge seit 1987
Version: 2.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: schneidtechnik-benschneider
*/

/* ========================================
   CSS Custom Properties
   ======================================== */

:root {
    /* Primary: Gruen — Handwerk & Natur */
    --color-accent: #4f8c37;
    --color-accent-dark: #3d6d2a;
    --color-accent-light: #e8f3e3;
    --color-accent-glow: rgba(79, 140, 55, 0.15);

    /* Secondary: Blau — Vertrauen & Kompetenz */
    --color-blue: #004799;
    --color-blue-dark: #003570;
    --color-blue-light: #e6eef8;

    /* Dark tones: Blau-basiert */
    --color-dark: #003570;
    --color-dark-soft: #002d5e;
    --color-dark-card: #003a7a;

    /* Light tones */
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-cream: #f1f3f5;

    /* Text */
    --color-text: #333333;
    --color-text-light: #555555;
    --color-text-muted: #6c757d;
    --color-text-on-dark: #e8edf3;
    --color-text-on-dark-muted: #a8b8cc;

    /* Functional */
    --color-border: #dee2e6;
    --color-border-dark: #1a3a5c;

    /* Typography */
    --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout */
    --container-width: 1180px;
    --container-narrow: 800px;
    --header-height: 72px;
    --section-padding: 100px;

    /* Effects */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 4px 20px rgba(79, 140, 55, 0.3);
    --radius: 6px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* ========================================
   Local Font: Inter (DSGVO-konform)
   ======================================== */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('./assets/fonts/inter-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;
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent-dark);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Utility: Scroll Reveal
   ======================================== */

.stb-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.stb-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.stb-reveal--delay-1 { transition-delay: 0.1s; }
.stb-reveal--delay-2 { transition-delay: 0.2s; }
.stb-reveal--delay-3 { transition-delay: 0.3s; }

/* ========================================
   Layout
   ======================================== */

.stb-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.stb-container--narrow {
    max-width: var(--container-narrow);
}

.stb-section {
    padding: var(--section-padding) 0;
}

.stb-section--dark {
    background-color: var(--color-dark);
    color: var(--color-text-on-dark);
}

.stb-section--cream {
    background-color: var(--color-off-white);
}

.stb-section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.stb-section__header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.stb-section--dark .stb-section__header h2 {
    color: var(--color-white);
}

.stb-section__header h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.stb-section__header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.25rem auto 0;
    line-height: 1.7;
}

.stb-section--dark .stb-section__header p {
    color: var(--color-text-on-dark-muted);
}

/* Tagline / Kicker */
.stb-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

/* ========================================
   Vacation Banner
   ======================================== */

.stb-vacation-banner {
    background: var(--color-dark);
    color: var(--color-accent-light);
    padding: 14px 24px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1001;
    border-bottom: 2px solid var(--color-blue);
}

.stb-vacation-banner .stb-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stb-vacation-banner__icon {
    font-size: 1.2rem;
    color: var(--color-accent);
}

/* ========================================
   Header & Navigation
   ======================================== */

.stb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stb-header.stb-header--scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.stb-header .stb-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.stb-header__logo img {
    height: 44px;
    width: auto;
}

.stb-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.stb-nav__link {
    display: block;
    padding: 8px 18px;
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all var(--transition);
    position: relative;
}

.stb-nav__link:hover {
    color: var(--color-text);
    background-color: var(--color-off-white);
}

.stb-nav__link--active {
    color: var(--color-accent-dark);
    font-weight: 600;
}

.stb-nav__toggle {
    display: none;
    background: none;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 6px 10px;
    color: var(--color-text);
    line-height: 1;
    transition: all var(--transition);
}

.stb-nav__toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}

/* ========================================
   Hero Section
   ======================================== */

.stb-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.stb-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.stb-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 71, 153, 0.75) 0%,
        rgba(79, 140, 55, 0.6) 100%
    );
    z-index: 2;
}

.stb-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 40px 24px;
    max-width: 780px;
}

.stb-hero__kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    padding: 6px 16px;
    border: 1px solid rgba(79, 140, 55, 0.4);
    border-radius: 50px;
    background: rgba(79, 140, 55, 0.1);
}

.stb-hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--color-white);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stb-hero__title span {
    color: var(--color-accent);
}

.stb-hero__subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-on-dark-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.stb-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.stb-btn--primary {
    background: var(--color-accent);
    color: var(--color-dark);
    box-shadow: var(--shadow-accent);
}

.stb-btn--primary:hover {
    background: var(--color-accent-dark);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79, 140, 55, 0.4);
}

.stb-btn--outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.stb-btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.stb-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.stb-hero__scroll::before {
    content: "";
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: stb-scroll-dot 2s infinite;
}

@keyframes stb-scroll-dot {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Hide scroll indicator in landscape / short viewports */
@media (max-height: 500px) {
    .stb-hero__scroll {
        display: none;
    }
}

/* ========================================
   Trust Bar (Kennzahlen)
   ======================================== */

.stb-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 0;
}

.stb-trust__item {
    text-align: center;
}

.stb-trust__number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stb-trust__label {
    display: block;
    font-size: 0.88rem;
    color: var(--color-text-on-dark-muted);
    margin-top: 0.35rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ========================================
   Intro Section
   ======================================== */

.stb-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stb-intro__text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.stb-intro__text h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    margin-top: 1rem;
    border-radius: 2px;
}

.stb-intro__text p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.stb-intro__badge {
    margin-top: 2rem;
}

.stb-intro__badge img {
    max-width: 240px;
    opacity: 0.85;
    transition: opacity var(--transition);
}

.stb-intro__badge img:hover {
    opacity: 1;
}

.stb-intro__image {
    position: relative;
}

.stb-intro__image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}


/* ========================================
   Services Section
   ======================================== */

.stb-services-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.stb-services-intro__text p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.stb-services-intro__text ul {
    margin-top: 1.5rem;
}

.stb-services-intro__text li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--color-text-light);
    font-size: 0.98rem;
    line-height: 1.6;
}

.stb-services-intro__text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 16px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

.stb-services-intro__image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

/* Service Cards Grid */
.stb-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stb-service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stb-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

@media (hover: hover) {
    .stb-service-card:hover {
        border-color: var(--color-accent);
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }

    .stb-service-card:hover::before {
        transform: scaleX(1);
    }
}

.stb-service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.stb-service-card ul {
    list-style: none;
    columns: 2;
    column-gap: 1rem;
}

.stb-service-card li {
    padding: 5px 0 5px 18px;
    position: relative;
    color: var(--color-text-light);
    font-size: 0.9rem;
    break-inside: avoid;
}

.stb-service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* Single column for cards with few items */
.stb-service-card--narrow ul {
    columns: 1;
}

/* ========================================
   About Section
   ======================================== */

.stb-about {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.stb-about__text p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.stb-about__media {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stb-about__media img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.stb-about__video-standalone {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stb-about__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.stb-about__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================
   Gallery / References Section
   ======================================== */

/* Before/After Compare Slider */
.stb-compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .stb-compare-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stb-compare {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.stb-compare__after,
.stb-compare__before {
    position: absolute;
    inset: 0;
}

.stb-compare__after img,
.stb-compare__before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stb-compare__before {
    z-index: 1;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.stb-compare__slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--color-white);
    cursor: ew-resize;
    z-index: 2;
    transform: translateX(-50%);
}

.stb-compare__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    z-index: 3;
}

.stb-compare__handle::before,
.stb-compare__handle::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
}

.stb-compare__handle::before {
    border-width: 6px 8px 6px 0;
    border-color: transparent var(--color-text) transparent transparent;
    left: 10px;
}

.stb-compare__handle::after {
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent var(--color-text);
    right: 10px;
}

.stb-compare:hover .stb-compare__handle {
    transform: translate(-50%, -50%) scale(1.1);
}

.stb-compare__slider:focus-visible .stb-compare__handle {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.stb-compare__label {
    position: absolute;
    bottom: 1rem;
    padding: 0.3rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
    pointer-events: none;
}

.stb-compare__label--before {
    left: 1rem;
    z-index: 2;
}

.stb-compare__label--after {
    right: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .stb-compare:hover .stb-compare__handle {
        transform: translate(-50%, -50%);
    }
}

.stb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.stb-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    aspect-ratio: 1;
}

.stb-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stb-gallery-item:hover img {
    transform: scale(1.08);
}

.stb-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(27, 27, 31, 0.4) 100%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.stb-gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.stb-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.stb-lightbox.stb-lightbox--active {
    display: flex;
}

.stb-lightbox__img {
    max-width: 88vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.stb-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition);
}

.stb-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.stb-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: var(--radius);
    transition: all var(--transition);
    opacity: 0.7;
}

.stb-lightbox__nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.12);
}

.stb-lightbox__prev {
    left: 16px;
}

.stb-lightbox__next {
    right: 16px;
}

/* ========================================
   Contact Section
   ======================================== */

.stb-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.stb-contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.stb-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.stb-contact-item__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--color-accent-glow);
    color: var(--color-accent-dark);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    border: 1px solid var(--color-accent-light);
}

.stb-contact-item__text h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 2px;
    font-weight: 600;
}

.stb-contact-item__text a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1rem;
}

.stb-contact-item__text a:hover {
    color: var(--color-accent-dark);
}

.stb-contact-item__text p {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
}

/* Opening Hours Box */
.stb-hours-box {
    background: var(--color-dark);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    color: var(--color-text-on-dark);
    position: relative;
    overflow: hidden;
}

.stb-hours-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent);
}

.stb-hours-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.stb-hours-box p {
    color: var(--color-text-on-dark-muted);
    margin: 0;
    white-space: pre-line;
    line-height: 1.9;
    font-size: 0.95rem;
}

.stb-hours-box__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.stb-hours-box__link:hover {
    color: var(--color-accent-light);
}

.stb-contact__map {
    position: relative;
}

.stb-contact__map img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

/* ========================================
   Contact Form (CF7 Integration)
   ======================================== */

.stb-contact__form {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.stb-contact__form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

/* CF7 Form Fields */
.stb-contact__form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.25rem;
}

.stb-contact__form .wpcf7 label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.375rem;
}

.stb-contact__form .wpcf7 input[type="text"],
.stb-contact__form .wpcf7 input[type="email"],
.stb-contact__form .wpcf7 textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.stb-contact__form .wpcf7 input[type="text"]:focus,
.stb-contact__form .wpcf7 input[type="email"]:focus,
.stb-contact__form .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.stb-contact__form .wpcf7 input[type="text"]:focus-visible,
.stb-contact__form .wpcf7 input[type="email"]:focus-visible,
.stb-contact__form .wpcf7 textarea:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 1px;
}

.stb-contact__form .wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.stb-contact__form .wpcf7 input::placeholder,
.stb-contact__form .wpcf7 textarea::placeholder {
    color: var(--color-text-muted);
}

/* Submit Button — matches .stb-btn--primary */
.stb-contact__form .wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.25rem;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-white);
    background: var(--color-accent);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.stb-contact__form .wpcf7 input[type="submit"]:hover {
    background: var(--color-accent-dark);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

.stb-contact__form .wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

.stb-contact__form .wpcf7 input[type="submit"]:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Validation Error States */
.stb-contact__form .wpcf7-not-valid {
    border-color: #dc3545;
    background: #fff5f5;
}

.stb-contact__form .wpcf7-not-valid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.stb-contact__form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #dc3545;
}

/* Response Messages */
.stb-contact__form .wpcf7-response-output {
    margin: 1.25rem 0 0;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
}

.stb-contact__form .wpcf7-form.sent .wpcf7-response-output {
    background: var(--color-accent-light);
    color: var(--color-accent-dark);
}

.stb-contact__form .wpcf7-form.failed .wpcf7-response-output,
.stb-contact__form .wpcf7-form.aborted .wpcf7-response-output {
    background: #fff5f5;
    color: #dc3545;
}

.stb-contact__form .wpcf7-form.invalid .wpcf7-response-output {
    background: #fff5f5;
    color: #dc3545;
}

/* DSGVO Acceptance Checkbox */
/* DSGVO Acceptance — Checkbox + Text in einer Zeile */
.stb-contact__form .wpcf7-form-control-wrap[data-name="datenschutz"] {
    display: inline;
}

.stb-contact__form .wpcf7-acceptance {
    display: inline;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-text-light);
}

.stb-contact__form .wpcf7-acceptance .wpcf7-list-item {
    display: inline;
}

.stb-contact__form .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 0.4rem;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.stb-contact__form .wpcf7-acceptance a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.stb-contact__form .wpcf7-acceptance a:hover {
    color: var(--color-accent-dark);
}

/* Hide CF7 branding elements */
.stb-contact__form .wpcf7 .ajax-loader {
    display: inline-block;
    margin-left: 0.5rem;
}

.stb-contact__form .wpcf7-spinner {
    display: inline-block;
    margin-left: 0.5rem;
}

/* Accessible loading state */
.stb-contact__form .wpcf7-form.submitting input[type="submit"] {
    opacity: 0.7;
    cursor: wait;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stb-contact__form .wpcf7 input[type="submit"]:hover {
        transform: none;
    }
}

/* ========================================
   Footer
   ======================================== */

.stb-footer {
    background: var(--color-dark);
    color: var(--color-text-on-dark);
    padding: 3rem 0 2rem;
}

.stb-footer .stb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.stb-footer__copy {
    font-size: 0.88rem;
    color: var(--color-text-on-dark-muted);
}

.stb-footer__links {
    display: flex;
    gap: 2rem;
}

.stb-footer__links a {
    color: var(--color-text-on-dark-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--transition);
}

.stb-footer__links a:hover {
    color: var(--color-accent);
}

.stb-footer__meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-dark);
}

.stb-footer__version {
    font-size: 0.72rem;
    color: var(--color-text-on-dark-muted);
    opacity: 0.45;
}

.stb-footer__credit {
    font-size: 0.8rem;
    color: var(--color-text-on-dark-muted);
    opacity: 0.6;
}

/* ========================================
   Page Template (Impressum, Datenschutz)
   ======================================== */

.stb-page-content {
    padding-top: calc(var(--header-height) + 48px);
    min-height: 60vh;
}

.stb-page-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.stb-page-content h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    margin-top: 0.75rem;
    border-radius: 2px;
}

.stb-page-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.stb-page-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.stb-page-content p,
.stb-page-content li {
    color: var(--color-text-light);
    line-height: 1.8;
}

.stb-page-content ul,
.stb-page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.stb-page-content a {
    color: var(--color-accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.stb-page-content a:hover {
    color: var(--color-accent);
}

/* ========================================
   Accessibility
   ======================================== */

/* Skip-to-Content Link */
.stb-skip-link {
    position: absolute;
    top: -100%;
    left: 12px;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: top 0.2s ease;
}

.stb-skip-link:focus {
    top: 12px;
    color: var(--color-white);
}

/* Global Focus States */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.stb-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    box-shadow: var(--shadow-accent);
}

/* Remove default outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================
   Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .stb-reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   Responsive: Tablet
   ======================================== */

@media (max-width: 992px) {
    :root {
        --section-padding: 72px;
    }

    .stb-hero__title {
        font-size: 2.6rem;
    }

    .stb-section__header h2 {
        font-size: 2rem;
    }

    .stb-intro,
    .stb-about,
    .stb-contact,
    .stb-services-intro {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stb-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stb-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stb-intro__image {
        order: -1;
    }


    .stb-trust {
        gap: 1.5rem;
    }

    .stb-trust__number {
        font-size: 2.2rem;
    }
}

/* ========================================
   Responsive: Mobile
   ======================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 56px;
        --header-height: 64px;
    }

    .stb-section__header {
        margin-bottom: 2.5rem;
    }

    .stb-section__header h2 {
        font-size: 1.75rem;
    }

    .stb-hero {
        min-height: 80vh;
    }

    .stb-hero__title {
        font-size: 2rem;
    }

    .stb-hero__subtitle {
        font-size: 1rem;
    }

    .stb-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .stb-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .stb-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 0.75rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--color-border);
    }

    .stb-nav--open {
        display: flex;
    }

    .stb-nav__link {
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius);
        font-size: 0.92rem;
    }

    .stb-nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stb-services-grid {
        grid-template-columns: 1fr;
    }

    .stb-service-card ul {
        columns: 1;
    }

    .stb-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stb-header__logo img {
        height: 36px;
    }

    .stb-trust {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stb-trust__number {
        font-size: 1.8rem;
    }

    .stb-trust__label {
        font-size: 0.75rem;
    }

    .stb-about {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .stb-hero__title {
        font-size: 1.7rem;
    }

    .stb-hero__kicker {
        font-size: 0.7rem;
    }

    .stb-footer .stb-container {
        flex-direction: column;
        text-align: center;
    }

    .stb-footer__links {
        justify-content: center;
    }

    .stb-contact__map img {
        max-width: 100%;
    }

    .stb-contact__form {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .stb-contact__form .wpcf7 input[type="submit"] {
        width: 100%;
    }

    .stb-contact__form .wpcf7 input[type="text"],
    .stb-contact__form .wpcf7 input[type="email"],
    .stb-contact__form .wpcf7 textarea {
        font-size: 16px;
        min-height: 44px;
    }
}
