/* ══════════════════════════════════════════════
   Sehn & Veit Web & IT Solutions GbR – Styles
   ══════════════════════════════════════════════ */

:root {
    --primary: #0d2240;
    --primary-light: #1a3460;
    --accent: #1455C0;
    --accent-dark: #0f44a0;
    --accent-light: #edf3ff;
    --light: #f7f9fc;
    --white: #ffffff;
    --text: #1a2b3e;
    --text-light: #6b7a8d;
    --border: #e1e8f0;
    --shadow: 0 2px 20px rgba(13, 34, 64, 0.08);
    --shadow-hover: 0 8px 30px rgba(13, 34, 64, 0.15);
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { transition: color 0.2s; }

.nav {
    position: fixed; top: 0; width: 100%;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    padding: 0;
    transition: padding 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.nav-inner {
    width: 100%;
    margin: 0;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 0;
    box-shadow: none;
    transition: height 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
                border-radius 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
                background 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
                backdrop-filter 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
                -webkit-backdrop-filter 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
                box-shadow 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
                padding 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.nav-logo img { height: 48px; width: auto; }
.nav-logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--accent), #2266d0);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800;
    color: var(--white); letter-spacing: -0.5px; flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name { font-size: 16px; font-weight: 800; color: var(--white); letter-spacing: -0.3px; }
.nav-logo-sub { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; }
.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.85); padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-cta { background: var(--accent) !important; color: var(--white) !important; }
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 10px; transition: background 0.2s; }
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger.active { background: rgba(255,255,255,0.1); }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

.page-header { padding: 130px 24px 60px; background: var(--primary); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 30% 50%, rgba(20, 85, 192, 0.12) 0%, transparent 60%); }
.page-header h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; position: relative; z-index: 1; letter-spacing: -0.5px; }
.page-header p { font-size: 17px; opacity: 0.8; margin-top: 12px; position: relative; z-index: 1; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero { position: relative; overflow: hidden; text-align: center; color: var(--white); }
.hero-bg { display: block; width: 100%; height: auto; min-height: 520px; object-fit: cover; object-position: center; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(160deg, rgba(13, 34, 64, 0.88) 0%, rgba(10, 20, 40, 0.75) 50%, rgba(13, 34, 64, 0.85) 100%); z-index: 1; }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 100%; max-width: 960px; padding: 24px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 6px 20px; border-radius: 50px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 28px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 18px; opacity: 0.9; max-width: 580px; margin: 0 auto 40px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 0; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stats > div { text-align: center; flex: 1; padding: 0 24px; }
.hero-stats > div + div { border-left: 1px solid rgba(255,255,255,0.15); }
.hero-stat-num { font-size: 22px; font-weight: 700; color: var(--accent); display: block; line-height: 1.3; }
.hero-stat-label { font-size: 12px; opacity: 0.65; text-transform: uppercase; letter-spacing: 1.2px; display: block; margin-top: 5px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.25s; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(20, 85, 192, 0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-2px); }

.section { padding: 100px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-header h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; color: var(--primary); letter-spacing: -0.5px; margin-bottom: 16px; }
.section-header p { color: var(--text-light); font-size: 17px; max-width: 600px; margin: 0 auto; }

.services-bg { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid rgba(0,0,0,0.04); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--accent), #2266d0); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--white); }
.service-icon .material-symbols-outlined { font-size: 28px; color: var(--white); }
.service-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 15px; line-height: 1.7; }
.service-features { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.service-features li { list-style: none; background: var(--light); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--text-light); }


.about-bg { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); position: relative; }
.about-image img { width: 100%; height: 420px; object-fit: cover; display: block; }
.about-image-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(13, 34, 64, 0.85), transparent); padding: 40px 24px 20px; color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.about-text h2 { font-size: 34px; font-weight: 800; color: var(--primary); margin-bottom: 20px; letter-spacing: -0.5px; }
.about-text p { color: var(--text-light); font-size: 16px; margin-bottom: 16px; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.about-highlight { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.about-highlight-icon { width: 40px; height: 40px; background: var(--accent-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-highlight-icon .material-symbols-outlined { font-size: 22px; color: var(--accent); }
.about-highlight-text { font-size: 14px; font-weight: 600; color: var(--primary); }

/* ── Vorteile ──────────────────────────────── */
.advantages-bg { background: var(--accent-light); }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.advantage-card {
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: var(--white);
    transition: all 0.3s;
}
.advantage-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.advantage-icon {
    width: 52px; height: 52px;
    background: var(--accent-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.advantage-icon .material-symbols-outlined { font-size: 26px; color: var(--accent); }
.advantage-card h3 { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.advantage-card p { color: var(--text-light); font-size: 15px; line-height: 1.7; }

/* ── Referenzen / Projekte ────────────────── */
.projects-bg { background: var(--light); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    background: var(--white);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.project-card-image { height: 220px; overflow: hidden; }
.project-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease; display: block;
}
.project-card:hover .project-card-image img { transform: scale(1.05); }
.project-card-body { padding: 24px; }
.project-card-tag {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--accent); margin-bottom: 8px;
}
.project-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.project-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ── Team ─────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.team-card {
    text-align: center;
    padding: 40px 32px;
    border-radius: 16px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(13, 34, 64, 0.13);
}
.team-card:hover .team-avatar-placeholder {
    animation-play-state: paused;
    transform: scale(1.07);
    box-shadow: 0 0 0 8px rgba(20, 85, 192, 0.18), 0 0 0 16px rgba(20, 85, 192, 0.07);
}
.team-avatar-wrapper {
    position: relative;
    width: 180px;
    margin: 0 auto 20px;
}
.team-avatar-wrapper::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(20, 85, 192, 0.25);
    animation: avatarSpin 12s linear infinite;
}
.team-avatar-wrapper::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1.5px dashed rgba(20, 85, 192, 0.1);
    animation: avatarSpin 20s linear infinite reverse;
}
.team-avatar-placeholder {
    width: 180px; height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; font-weight: 800; color: var(--white);
    animation: avatarFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    object-fit: cover;
}
img.team-avatar-placeholder {
    display: block;
    object-fit: cover;
    object-position: center top;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}
.team-card:nth-child(2) .team-avatar-placeholder {
    animation-delay: -2s;
}
@keyframes avatarFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes avatarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.team-name {
    font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 6px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}
.team-role {
    font-size: 13px; font-weight: 700; color: var(--accent);
    margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.25s, transform 0.5s ease 0.25s;
}
.team-bio {
    font-size: 15px; color: var(--text-light); line-height: 1.7;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}
.team-card.visible .team-name,
.team-card.visible .team-role,
.team-card.visible .team-bio {
    opacity: 1;
    transform: translateY(0);
}

/* ── CTA-Banner ────────────────────────────── */
.cta-banner {
    background: linear-gradient(160deg, #0d2240 0%, #1a3460 100%);
    padding: 0;
    overflow: hidden;
}
.cta-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    min-height: 380px;
}
.cta-banner-content {
    padding: 72px 64px 72px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-banner-tag {
    display: inline-block;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
}
.cta-banner-headline {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.cta-banner-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 15px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    align-self: flex-start;
}
.btn-cta-white:hover {
    background: var(--accent-light);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}
.cta-banner-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin: 24px;
}
.cta-banner-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.reviews-bg { background: var(--white); }
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.reviews-stars { font-size: 28px; color: #f5a623; letter-spacing: 2px; }
.reviews-avg { font-size: 36px; font-weight: 800; color: var(--primary); }
.reviews-count { font-size: 15px; color: var(--text-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.review-card { background: var(--light); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04); transition: all 0.3s; }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.review-author { font-size: 15px; font-weight: 700; color: var(--primary); }
.review-date { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.review-stars { color: #f5a623; font-size: 15px; letter-spacing: 1px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.review-google-link { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: #4285f4; text-decoration: none; font-weight: 600; }
.review-google-link:hover { text-decoration: underline; }
.reviews-loading { text-align: center; padding: 40px; color: var(--text-light); font-size: 15px; grid-column: 1 / -1; }
.reviews-error { text-align: center; padding: 40px; color: var(--text-light); font-size: 14px; grid-column: 1 / -1; }
.reviews-error a { color: var(--accent); text-decoration: none; font-weight: 600; }
.reviews-error a:hover { text-decoration: underline; }

.emergency-banner { background: linear-gradient(135deg, var(--accent), #2266d0); color: var(--white); padding: 60px 24px; text-align: center; }
.emergency-banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.emergency-banner p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; }
.emergency-phone { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.2); padding: 16px 36px; border-radius: 50px; font-size: 28px; font-weight: 800; text-decoration: none; color: var(--white); transition: all 0.25s; }
.emergency-phone:hover { background: rgba(255,255,255,0.3); transform: scale(1.03); }

.contact-bg { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item-icon { width: 48px; height: 48px; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); flex-shrink: 0; }
.contact-item-icon .material-symbols-outlined { font-size: 24px; color: var(--accent); }
.contact-item-icon--instagram svg { color: var(--accent); }
.contact-item-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); font-weight: 600; margin-bottom: 4px; }
.contact-item-value { font-size: 16px; font-weight: 600; color: var(--primary); }
.contact-item-value a { color: var(--primary); text-decoration: none; }
.contact-item-value a:hover { color: var(--accent); }
.contact-hours { margin-top: 32px; padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.contact-hours h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.contact-hours-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.contact-hours-row:last-child { border: none; }
.contact-hours-day { color: var(--text-light); }
.contact-hours-time { font-weight: 600; color: var(--primary); }

.contact-form-wrapper { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form-wrapper h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid #e8e8e8; border-radius: 8px; font-size: 15px; font-family: inherit; transition: border-color 0.2s; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit { width: 100%; padding: 16px; background: var(--accent); color: var(--white); border: none; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.25s; font-family: inherit; }
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(20, 85, 192, 0.3); }
.form-privacy { font-size: 12px; color: #999; margin-top: 12px; text-align: center; }
.form-privacy a { color: var(--accent); }.form-checkbox label { display: flex !important; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 13px; line-height: 1.5; color: var(--text-light); font-weight: normal; }
.form-checkbox input[type="checkbox"] { margin-top: 2px; width: 15px; height: 15px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.form-checkbox a { color: var(--accent); text-decoration: underline; display: inline; }
.form-success { display: flex; align-items: center; gap: 10px; background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; border-radius: var(--radius); padding: 14px 18px; margin-top: 16px; font-weight: 500; font-size: 15px; animation: fadeInSuccess 0.4s ease; }
.contact-form-disabled { opacity: 0.72; }
.form-disabled-group { border: 0; margin: 0; padding: 0; min-width: 0; pointer-events: none; }
.contact-form-disabled .form-group input:disabled,
.contact-form-disabled .form-group select:disabled,
.contact-form-disabled .form-group textarea:disabled {
    background: #eef1f4;
    border-color: #d7dde5;
    color: #7c8796;
    cursor: not-allowed;
}
.contact-form-disabled .form-group label,
.contact-form-disabled .form-checkbox label,
.contact-form-disabled .form-privacy {
    color: #8a94a3;
}
.contact-form-disabled .form-privacy a {
    color: #8a94a3;
}
.contact-form-disabled .btn-submit:disabled {
    background: #b5bfcb;
    color: rgba(255,255,255,0.92);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
.contact-form-disabled .btn-submit:disabled::after {
    opacity: 0;
}
@keyframes fadeInSuccess { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin: 40px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-light); font-size: 15px; margin-bottom: 12px; }
.legal-content a { color: var(--accent); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

.footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 60px 24px 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; margin-left: 24px; transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--accent), #2266d0);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; color: var(--white); flex-shrink: 0;
}
.footer-logo-text-wrapper { display: flex; flex-direction: column; line-height: 1.2; }
.footer-logo-name { font-size: 16px; font-weight: 800; color: var(--white); }
.footer-logo-sub { font-size: 11px; color: rgba(255,255,255,0.5); }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1200px) {
    .nav-links { display: none; }
    .nav-hamburger { display: block; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        background: rgba(13, 34, 64, 0.92);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.08);
    }
    .hero-stats { gap: 30px; flex-wrap: wrap; }
    .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .about-image img { height: 280px; }
    .gallery-banner { height: 280px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .page-header { padding: 110px 24px 40px; }
    .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .cta-banner-inner { grid-template-columns: 1fr; }
    .cta-banner-content { padding: 48px 24px 36px; text-align: center; align-items: center; }
    .cta-banner-sub { max-width: 100%; }
    .btn-cta-white { align-self: stretch; justify-content: center; padding: 16px 24px; }
    .cta-banner-image { height: 240px; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .emergency-phone { font-size: 20px; padding: 14px 28px; }
    .reviews-avg { font-size: 28px; }
    .reviews-stars { font-size: 22px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   Enhancement Layer – Animations & Visual Polish
   ══════════════════════════════════════════════ */

/* 1. Navigation scroll effect – pill nav */
/* ── Pill Nav: scrolled state ── */
.nav.scrolled {
    padding: 12px 150px;
    background: transparent;
    box-shadow: none;
}
.nav.scrolled .nav-inner {
    padding: 0 28px;
    height: 58px;
    border-radius: 16px;
    background: rgba(13, 34, 64, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.08);
}
.nav:not(.scrolled) {
    background: transparent;
    box-shadow: none;
}

/* Tablet: pill nav padding korrektur (hamburger ab 1200px, padding-fix ab 1200px) */
@media (max-width: 1200px) {
    .nav.scrolled {
        padding: 8px 12px;
    }
}

/* Mobile: pill nav adjustments */
@media (max-width: 900px) {
    .nav-inner {
        padding: 0 20px;
    }
    .nav.scrolled {
        padding: 8px 12px;
    }
    .nav.scrolled .nav-inner {
        padding: 0 18px;
        height: 54px;
    }
}

/* 2. Hero animated orbs */
.hero::before {
    content: '';
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20,85,192,0.15), transparent 70%);
    border-radius: 50%;
    position: absolute;
    top: -150px;
    right: -100px;
    animation: orbFloat 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}
.hero::after {
    content: '';
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20,85,192,0.1), transparent 70%);
    border-radius: 50%;
    position: absolute;
    bottom: -100px;
    left: -50px;
    animation: orbFloat 10s ease-in-out infinite reverse;
    z-index: 1;
    pointer-events: none;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* 3. Hero badge animation */
.hero-badge {
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(20,85,192,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(20,85,192,0); }
}

/* 4. Hero h1 span gradient animation */
.hero h1 span {
    background: linear-gradient(90deg, #1455C0, #4488ff, #1455C0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
    color: unset;
}
@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* 5. Hero stats number style */
.hero-stat-num {
    transition: all 0.3s;
    text-shadow: 0 0 30px rgba(20,85,192,0.5);
}

/* 6. Staggered card animations */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

.services-grid .service-card,
.advantages-grid .advantage-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.services-grid.animated .service-card:nth-child(1),
.advantages-grid.animated .advantage-card:nth-child(1) {
    opacity: 1; transform: translateY(0); transition-delay: 0s;
}
.services-grid.animated .service-card:nth-child(2),
.advantages-grid.animated .advantage-card:nth-child(2) {
    opacity: 1; transform: translateY(0); transition-delay: 0.1s;
}
.services-grid.animated .service-card:nth-child(3),
.advantages-grid.animated .advantage-card:nth-child(3) {
    opacity: 1; transform: translateY(0); transition-delay: 0.2s;
}
.services-grid.animated .service-card:nth-child(4),
.advantages-grid.animated .advantage-card:nth-child(4) {
    opacity: 1; transform: translateY(0); transition-delay: 0.3s;
}

/* 7. Enhanced service card hover with gradient overlay */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(20,85,192,0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(20,85,192,0.12), 0 4px 15px rgba(0,0,0,0.08);
    border-color: rgba(20,85,192,0.2);
}
.service-card:hover::before {
    opacity: 1;
}

/* 8. Service icon float animation on hover */
.service-card:hover .service-icon {
    animation: iconBounce 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* 9. CTA Banner animated gradient */
.cta-banner {
    background: linear-gradient(135deg, #0d2240, #1a3460, #0f2a4d, #1455C0);
    background-size: 300% 300%;
    animation: bannerGradient 8s ease infinite;
}
@keyframes bannerGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 10. Enhanced button hover effects with shimmer */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20,85,192,0.4), 0 0 0 0 rgba(20,85,192,0);
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    transition: none;
}
.btn-primary:hover::after {
    animation: btnShimmer 0.6s ease;
}
@keyframes btnShimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}
.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,255,255,0.2);
}


/* 12. Section background improvements */
.services-bg {
    background: linear-gradient(180deg, #f0f4fa 0%, #f7f9fc 100%);
}
.about-bg {
    background: var(--white);
}
.advantages-bg {
    background: var(--accent-light);
    position: relative;
    overflow: hidden;
}
.advantages-bg::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20,85,192,0.04), transparent 70%);
    pointer-events: none;
}

/* 13. Review cards glassmorphism */
.review-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(20,85,192,0.08);
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(20,85,192,0.1);
    border-color: rgba(20,85,192,0.2);
}

/* 14. Footer gradient top border */
.footer {
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20,85,192,0.5), transparent);
}

/* 15. Advantage card enhanced hover */
.advantage-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(20,85,192,0.12);
    background: linear-gradient(135deg, rgba(20,85,192,0.03), var(--white));
}

/* 16. Section tag underline animation */
.section-tag {
    position: relative;
}
.section-tag::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.6s ease;
}
.visible .section-tag::after,
.section-tag.animated::after {
    width: 100%;
}

/* 17. Hero content animation on load */
.hero-badge {
    animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) both, badgePulse 3s ease-in-out infinite;
}
.hero h1 {
    animation: fadeInUp 0.8s 0.1s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero p {
    animation: fadeInUp 0.8s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-buttons {
    animation: fadeInUp 0.8s 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-stats {
    animation: fadeInUp 0.8s 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 18. Contact form hover improvements */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20,85,192,0.1);
}
.btn-submit {
    position: relative;
    overflow: hidden;
}
.btn-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-submit:hover::after {
    opacity: 1;
}

/* 19. About image hover effect */
.about-image {
    overflow: hidden;
}
.about-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-image:hover img {
    transform: scale(1.04);
}
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,85,192,0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.about-image:hover::after {
    opacity: 1;
}

/* 20. Mobile hero layout */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 120px 0 36px;
        isolation: isolate;
    }
    .hero::before {
        width: 420px;
        height: 420px;
        top: -180px;
        right: -180px;
    }
    .hero::after {
        width: 300px;
        height: 300px;
        bottom: -120px;
        left: -120px;
    }
    .hero-bg,
    .hero-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
    }
    .hero-bg {
        object-position: center;
        transform: none !important;
    }
    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 560px;
        padding: 0 20px;
        margin: 0 auto;
    }
    .hero-badge {
        margin-bottom: 18px;
        padding: 7px 14px;
        font-size: 11px;
        letter-spacing: 1px;
    }
    .hero h1 {
        font-size: clamp(34px, 10.5vw, 48px);
        line-height: 1.05;
        letter-spacing: -0.04em;
        text-wrap: balance;
        margin-bottom: 18px;
    }
    .hero p {
        font-size: 17px;
        line-height: 1.6;
        max-width: 32ch;
        margin: 0 auto 28px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 420px;
        margin: 0 auto;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
    }
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 360px;
        margin: 32px auto 0;
        padding-top: 24px;
    }
    .hero-stats > div {
        padding: 18px 0;
    }
    .hero-stats > div + div {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.15);
    }
    .hero-stat-num {
        font-size: 24px;
    }
    .hero-stat-label {
        font-size: 11px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 112px;
        padding-bottom: 28px;
    }
    .hero-content {
        padding: 0 16px;
    }
    .hero-badge {
        font-size: 10px;
    }
    .hero h1 {
        font-size: clamp(30px, 11vw, 40px);
    }
    .hero p {
        font-size: 16px;
        max-width: 26ch;
        margin-bottom: 24px;
    }
    .hero-buttons .btn {
        font-size: 16px;
    }
    .hero-stats {
        max-width: 100%;
    }
}

/* 20. Smooth page load */
body {
    animation: pageLoad 0.4s ease both;
}
@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ══════════════════════════════════════════════
   21. Dark Mode
   ══════════════════════════════════════════════ */

:root {
    --bg-main: #ffffff;
    --bg-card: #ffffff;
    --bg-section: #f0f4fa;
    --border-color: #e2e8f0;
}


/* ===== ACCESSIBILITY FEATURES ===== */

/* 1. Skip Navigation Link */
.skip-nav {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s ease;
    outline: none;
    white-space: nowrap;
}
.skip-nav:focus {
    top: 0;
}

/* 2. Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.sr-only-focusable:focus,
.sr-only-focusable:active {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* 3. Verbesserte Focus-Stile (für alle interaktiven Elemente) */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-color: var(--accent);
}

/* 4. Reduced Motion */
@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;
    }
    .hero-badge,
    .hero-cta .btn,
    .hero-stats,
    .hero-content,
    .hero-subtitle,
    .hero-text {
        opacity: 1;
        transform: none;
    }
}

/* 5. High Contrast Mode Support */
@media (forced-colors: active) {
    .btn,
    .nav-cta {
        border: 2px solid ButtonText;
    }
    .card,
    .service-card,
    .adv-card {
        border: 1px solid ButtonText;
    }
}

/* 6. Tastatur-Navigation sichtbar machen */
.nav-links a:focus-visible {
    outline: 2px solid rgba(255,255,255,0.9);
    outline-offset: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.15);
}

/* 7. Linktext Underline für bessere Erkennbarkeit */
.footer-links a:hover,
.footer-links a:focus {
    text-decoration: underline;
}

/* 8. Interaktionsgröße (min. 44x44px für Touch-Targets) */
.nav-hamburger {
    min-width: 44px;
    min-height: 44px;
}
.nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* 10. Fehler-Styling für Formulare */
.form-group.error input,
.form-group.error textarea {
    border-color: #dc2626;
    outline: 2px solid #dc2626;
}
.form-error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
    display: none;
    align-items: center;
    gap: 4px;
}
.form-error:not([hidden]) {
    display: flex;
}
.form-error::before {
    content: "⚠";
}

/* 11. Live Region Styling */
.aria-announcement {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-bg { background: var(--light); }

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    gap: 16px;
    transition: background 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.25s;
}
.faq-item[open] .faq-question {
    background: var(--accent-light);
}
.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}
