/* =============================================================
   ARFEP IT-Service – Design-System (vollständig)
   ============================================================= */

/* ----- Custom Properties ----- */
:root {
    --navy:     #1e293b;
    --navy-d:   #0f172a;
    --blue:     #2563eb;
    --blue-d:   #1d4ed8;
    --green:    #22c55e;
    --blue-50:  #eff6ff;
    --blue-100: #dbeafe;
    --blue-300: #93c5fd;
    --gray:     #94a3b8;
    --gray-d:   #64748b;
    --white:    #ffffff;

    --radius:    0.5rem;
    --radius-lg: 1rem;
    --shadow:    0 4px 24px rgba(30, 41, 59, 0.10);
    --shadow-lg: 0 12px 40px rgba(30, 41, 59, 0.18);

    --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --transition-base: 200ms ease;
    --transition-slow: 400ms ease;
}

/* ----- 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;
    }
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
}

img, svg, video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

address { font-style: normal; }

/* ----- Typography ----- */
h1 {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    line-height: 1.15;
    font-weight: 800;
}
h2 {
    font-size: clamp(1.5rem, 3vw + 0.75rem, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
}
h3 {
    font-size: clamp(1.125rem, 2vw + 0.5rem, 1.5rem);
    line-height: 1.3;
    font-weight: 600;
}
p {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.125rem);
}

/* ----- Container ----- */
.wrap {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-base),
                color var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base),
                transform var(--transition-base);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--blue-d);
    border-color: var(--blue-d);
    box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: rgba(30,41,59,0.3);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
    background: var(--blue-50);
    border-color: var(--blue);
    color: var(--blue);
}

/* ----- Scroll-Reveal ----- */
.reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Section common ----- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
}
.section-intro {
    max-width: 600px;
    margin-inline: auto;
    margin-top: 0.75rem;
    color: var(--gray-d);
}

/* ----- Header ----- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.80);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(30,41,59,0.08);
    transition: box-shadow var(--transition-base);
}
.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(30,41,59,0.12);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.25rem;
}
.logo {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.logo-dot { color: var(--blue); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.main-nav ul {
    display: flex;
    gap: 2rem;
}
.main-nav a {
    font-weight: 500;
    color: var(--navy);
    transition: color var(--transition-base);
    position: relative;
}
.main-nav ul a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
    border-radius: 2px;
}
.main-nav ul a:hover::after,
.main-nav ul a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); }

.header-cta { padding: 0.5rem 1.15rem; font-size: 0.9375rem; }
.header-cta-icon { display: inline-block; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

@media (max-width: 800px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 4.25rem;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid rgba(30,41,59,0.08);
        padding: 1rem 1.25rem 1.5rem;
    }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--blue-50); }
    .header-cta { margin-top: 0.75rem; justify-content: center; }
    body.nav-open .main-nav { display: flex; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.section-hero {
    position: relative;
    overflow: hidden;
    background: var(--navy-d);
    padding-block: clamp(4rem, 10vw, 8rem);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,99,235,0.22) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 10% 80%, rgba(34,197,94,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy { color: var(--white); }

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-300);
    margin-bottom: 1rem;
}
.hero-title { color: var(--white); margin-bottom: 0.5rem; }
.hero-title-accent {
    color: var(--blue-300);
    position: relative;
}
.hero-subline {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
    font-weight: 500;
    color: var(--blue-300);
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
}
.hero-lead {
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.hero-ghost {
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.hero-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.hero-trust {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}
.trust-badge svg { color: var(--green); flex-shrink: 0; }

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.h-net { width: 100%; max-width: 420px; }

/* Hero SVG animations */
.h-glow {
    animation: h-glow-pulse 3s ease-in-out infinite;
}
@keyframes h-glow-pulse {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; }
}
.h-link {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: h-draw 1s ease forwards;
    animation-delay: var(--d);
}
@keyframes h-draw {
    to { stroke-dashoffset: 0; }
}
.h-dot {
    animation: h-travel 4s linear infinite;
    animation-delay: var(--d);
    opacity: 0;
}
@keyframes h-travel {
    0%   { transform: translate(0,0); opacity: 0; }
    5%   { opacity: 1; }
    45%  { transform: translate(var(--dx), var(--dy)); opacity: 1; }
    50%  { transform: translate(var(--dx), var(--dy)); opacity: 0; }
    100% { transform: translate(0,0); opacity: 0; }
}
.h-node {
    fill: var(--navy);
    stroke: var(--blue-300);
    stroke-width: 2;
    opacity: 0;
    animation: h-node-in 0.4s ease forwards;
    animation-delay: var(--d);
}
@keyframes h-node-in {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}
.h-pulse {
    fill: none; stroke: var(--blue); stroke-width: 2;
    animation: h-ring 2s ease-out infinite;
}
@keyframes h-ring {
    0%   { r: 22; opacity: 0.8; }
    100% { r: 40; opacity: 0; }
}
.h-core { fill: var(--blue); }
.h-core-dot { fill: var(--white); }

@media (max-width: 800px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { order: -1; }
    .h-net { max-width: 300px; margin-inline: auto; }
    .section-hero { min-height: auto; }
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.section-leistungen { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--blue-50); }

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-block: 3rem;
    border-bottom: 1px solid rgba(37,99,235,0.1);
}
.service-row:last-child { border-bottom: none; }

/* Odd: text left, visual right (default) */
/* Even: visual left, text right (swap via order) */
.service-even .service-visual { order: -1; }

.service-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--blue-50);
    border: 1.5px solid var(--blue-100);
    color: var(--blue);
    margin-bottom: 1rem;
    transition: background var(--transition-base), transform var(--transition-base);
}
.service-row:hover .service-icon-badge {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.05);
}

.service-copy h3 { margin-bottom: 0.75rem; color: var(--navy); }
.service-copy p { color: var(--gray-d); margin-bottom: 1.25rem; }

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
}
.service-features li {
    font-size: 0.9rem;
    color: var(--gray-d);
    padding-left: 1.1rem;
    position: relative;
}
.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 0.8rem;
}

.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-svg, .svc-img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0.5rem;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}
.service-row:hover .svc-svg,
.service-row:hover .svc-img {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* SVG Animations – Row 1: Netzwerk */
.c1-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: c1-draw 0.8s ease forwards;
    animation-delay: var(--d);
}
@keyframes c1-draw { to { stroke-dashoffset: 0; } }
.c1-dot {
    animation: c1-travel 3.5s linear infinite;
    animation-delay: var(--d);
    opacity: 0;
}
@keyframes c1-travel {
    0%   { cx: 200px; cy: 140px; opacity: 0; }
    5%   { opacity: 1; }
    45%  { cx: var(--ex); cy: var(--ey); opacity: 1; }
    50%  { cx: var(--ex); cy: var(--ey); opacity: 0; }
    100% { cx: 200px; cy: 140px; opacity: 0; }
}
.c1-node {
    transform-origin: center;
    animation: c1-node-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
    animation-delay: var(--d);
    opacity: 0;
}
@keyframes c1-node-pop {
    from { opacity: 0; transform: scale(0); }
    to   { opacity: 1; transform: scale(1); }
}
.c1-pulse {
    animation: c1-ring 2.5s ease-out infinite;
}
@keyframes c1-ring {
    0%   { r: 24; opacity: 0.8; }
    100% { r: 42; opacity: 0; }
}

/* Row 2: Linux Server */
.c2-led-g { animation: c2-blink 1.8s ease-in-out infinite; }
.c2-led-b { animation: c2-blink 2.4s ease-in-out infinite 0.6s; }
@keyframes c2-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}
.c2-type {
    opacity: 0;
    animation: c2-fade-in 0.3s ease forwards;
    animation-delay: var(--d);
}
@keyframes c2-fade-in { to { opacity: 1; } }
.c2-cursor { animation: c2-fade-in 0.3s ease forwards, c2-cursor-blink 0.8s step-end infinite; }
.c2-cursor { animation-delay: var(--d), calc(var(--d) + 0.3s); }
@keyframes c2-cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Row 3: NAS & Backup */
.c3-file {
    animation: c3-fly 3s ease-in-out infinite;
    animation-delay: var(--d);
    transform: translate(155px, 165px);
    opacity: 0;
}
@keyframes c3-fly {
    0%   { transform: translate(155px, 165px); opacity: 0; }
    5%   { opacity: 1; }
    45%  { transform: translate(280px, 140px); opacity: 1; }
    55%  { transform: translate(280px, 140px); opacity: 0; }
    100% { transform: translate(155px, 165px); opacity: 0; }
}
.c3-led {
    animation: c3-blink 1.5s ease-in-out infinite;
}
@keyframes c3-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}
.c3-progress {
    animation: c3-prog 3s ease-in-out infinite;
}
@keyframes c3-prog {
    0%, 10% { width: 0; }
    80%     { width: 180px; }
    90%,100%{ width: 0; }
}
.c3-shield {
    transform-origin: 200px 121px;
    animation: c3-shield-pop 1s cubic-bezier(0.34,1.56,0.64,1) forwards 1.5s,
               c3-shield-glow 2s ease-in-out infinite 2.5s;
    transform: scale(0.5);
    opacity: 0;
}
@keyframes c3-shield-pop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
@keyframes c3-shield-glow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(34,197,94,0.4)); }
    50%       { filter: drop-shadow(0 0 12px rgba(34,197,94,0.8)); }
}

/* Row 4: VPN */
.c4-packet {
    animation: c4-travel 2.8s ease-in-out infinite;
    transform: translate(150px, 139px);
}
@keyframes c4-travel {
    0%   { transform: translate(115px, 172px); opacity: 0; }
    5%   { opacity: 1; }
    45%  { transform: translate(280px, 155px); opacity: 1; }
    50%  { transform: translate(280px, 155px); opacity: 0; }
    100% { transform: translate(115px, 172px); opacity: 0; }
}
.c4-lock {
    opacity: 0;
    animation: c4-lock-in 0.4s ease forwards;
    animation-delay: 1.2s;
}
@keyframes c4-lock-in {
    from { opacity: 0; transform: translate(352px,85px) scale(0.5); }
    to   { opacity: 1; transform: translate(352px,85px) scale(1); }
}
.c4-led { animation: c2-blink 1.4s ease-in-out infinite; }

/* Row 5: M365 */
.c5-tile {
    opacity: 0;
    animation: c5-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
    animation-delay: var(--d);
}
@keyframes c5-pop {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}
.c5-dot {
    animation: c5-orbit 1.5s ease-in-out infinite;
    animation-delay: var(--d);
    opacity: 0;
}
@keyframes c5-orbit {
    0%,100% { opacity: 0; }
    20%,80% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Row 6: Webentwicklung */
.c6-hero { opacity: 0; animation: c6-fade 0.5s ease forwards 0.2s; }
.c6-headline { animation: c6-grow-w 0.8s ease forwards 0.5s; }
.c6-sub      { animation: c6-grow-w 0.6s ease forwards 0.9s; }
.c6-nav      { animation: c6-grow-w 0.5s ease forwards 1.1s; }
.c6-nav2     { animation: c6-grow-w 0.4s ease forwards 1.3s; }
.c6-nav3     { animation: c6-grow-w 0.4s ease forwards 1.5s; }
.c6-card     { opacity: 0; animation: c6-fade 0.4s ease forwards; animation-delay: var(--d); }
@keyframes c6-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes c6-grow-w { from { width: 0; } }
.c6-cursor {
    animation: c6-cursor-move 3s ease-in-out infinite;
}
@keyframes c6-cursor-move {
    0%   { transform: translate(60px, 90px); }
    20%  { transform: translate(120px, 80px); }
    40%  { transform: translate(80px, 180px); }
    60%  { transform: translate(200px, 195px); }
    80%  { transform: translate(300px, 180px); }
    100% { transform: translate(60px, 90px); }
}

/* Row 7: Überwachung */
.c7-cone { animation: c7-cone-fade 1.5s ease forwards 0.5s; opacity: 0; }
@keyframes c7-cone-fade { to { opacity: 1; } }
.c7-box  { opacity: 0; animation: c7-box-in 0.4s ease forwards; animation-delay: var(--d, 0s); }
@keyframes c7-box-in { to { opacity: 1; } }
.c7-badge { opacity: 0; animation: c7-badge-in 0.4s ease forwards; animation-delay: calc(var(--d, 0s) + 0.3s); }
@keyframes c7-badge-in { to { opacity: 1; } }
.c7-led { animation: c7-rec 1s step-end infinite; }
.c7-rec { animation: c7-rec 1s step-end infinite; }
@keyframes c7-rec { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Row 8: Cloudflare */
.c8-attack {
    animation: c8-fly 3s ease-in-out infinite;
    animation-delay: var(--d);
    transform: translate(30px, 160px);
    opacity: 0;
}
@keyframes c8-fly {
    0%   { transform: translate(30px, 160px); opacity: 0; }
    5%   { opacity: 1; }
    50%  { transform: translate(170px, 160px); opacity: 1; }
    60%  { transform: translate(170px, 160px); opacity: 0; }
    100% { transform: translate(30px, 160px); opacity: 0; }
}
.c8-burst {
    opacity: 0;
    animation: c8-burst-anim 0.6s ease forwards;
    animation-delay: var(--d);
}
@keyframes c8-burst-anim {
    0%   { opacity: 0; transform: translate(170px,160px) scale(0.5); }
    50%  { opacity: 1; transform: translate(170px,160px) scale(1.2); }
    100% { opacity: 0; transform: translate(170px,160px) scale(0.8); }
}
.c8-led { animation: c2-blink 1.6s ease-in-out infinite; }
.c8-shield {
    transform-origin: 187px 131px;
    animation: c8-shield-pop 0.8s cubic-bezier(0.34,1.56,0.64,1) forwards 0.8s,
               c8-shield-glow 2.5s ease-in-out infinite 1.6s;
    transform: scale(0);
    opacity: 0;
}
@keyframes c8-shield-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@keyframes c8-shield-glow {
    0%,100% { filter: drop-shadow(0 0 3px rgba(34,197,94,0.3)); }
    50%      { filter: drop-shadow(0 0 10px rgba(34,197,94,0.7)); }
}

/* Row 9: IT-Sicherheit */
.c9-scanline {
    animation: c9-sweep 3s linear infinite;
    transform: translateY(0);
}
@keyframes c9-sweep {
    0%   { transform: translateY(-20px); opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { transform: translateY(200px); opacity: 0; }
}
.c9-scanbeam {
    animation: c9-sweep 3s linear infinite;
}
.c9-warn {
    opacity: 0;
    animation: c9-warn-in 0.4s ease forwards;
    animation-delay: var(--d);
}
@keyframes c9-warn-in { to { opacity: 1; } }
.c9-fix {
    opacity: 0;
    animation: c9-fix-in 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
    animation-delay: var(--d);
}
@keyframes c9-fix-in {
    from { opacity: 0; transform: translate(200px,135px) scale(0.5); }
    to   { opacity: 1; transform: translate(200px,135px) scale(1); }
}
.c9-dsgvo {
    opacity: 0;
    animation: c9-dsgvo-in 0.5s ease forwards 2.8s;
}
@keyframes c9-dsgvo-in { to { opacity: 1; } }

@media (max-width: 800px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-block: 2rem;
    }
    .service-even .service-visual { order: 0; }
    .service-features { grid-template-columns: 1fr; }
}

/* ============================================================
   ÜBER MICH
   ============================================================ */
.section-ueber-mich {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background: var(--white);
}

.ueber-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: center;
}

.ueber-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--blue);
    box-shadow: 0 0 0 8px rgba(37,99,235,0.1);
    margin-inline: auto;
    flex-shrink: 0;
}

.ueber-role {
    font-size: 1rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 1.25rem;
    margin-top: 0.25rem;
}

.ueber-copy h2 { margin-bottom: 0.1rem; }
.ueber-copy p { color: var(--gray-d); margin-bottom: 1rem; max-width: 600px; }

.ueber-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-block: 2rem;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
}
.stat-icon {
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.stat-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}
.stat-item span {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-d);
    margin-top: 0.1rem;
}

.ueber-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 900px) {
    .ueber-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .ueber-stats { text-align: left; }
    .ueber-actions { justify-content: center; }
}
@media (max-width: 550px) {
    .ueber-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.section-faq {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background: var(--blue-50);
}

.faq-list {
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(37,99,235,0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.faq-item:hover {
    border-color: rgba(37,99,235,0.3);
    box-shadow: var(--shadow);
}
.faq-item[open] {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    transition: color var(--transition-base);
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] .faq-question { color: var(--blue); }

.faq-arrow {
    flex-shrink: 0;
    color: var(--gray);
    transition: transform var(--transition-base), color var(--transition-base);
}
.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
    color: var(--blue);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    border-top: 1px solid var(--blue-50);
}
.faq-answer p {
    font-size: 0.9375rem;
    color: var(--gray-d);
    line-height: 1.7;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.section-kontakt {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background: var(--white);
}

.kontakt-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
    align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}
.required { color: var(--blue); }
.optional { font-size: 0.8rem; font-weight: 400; color: var(--gray); }

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid rgba(30,41,59,0.2);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    color: var(--navy);
    background: var(--white);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    outline: none;
}
.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-control::placeholder { color: var(--gray); }
.form-control.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-textarea { resize: vertical; min-height: 130px; }

.form-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.form-privacy {
    font-size: 0.8rem;
    color: var(--gray);
    max-width: 300px;
    line-height: 1.5;
}
.form-privacy a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.form-submit { position: relative; min-width: 160px; }
.btn-spinner {
    display: none;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
.form-submit.loading .btn-text { opacity: 0; }
.form-submit.loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    tab-size: 0;
}

/* Feedback */
.form-feedback {
    border-radius: var(--radius);
    padding: 0.875rem 1.125rem;
    font-size: 0.9375rem;
    font-weight: 500;
    display: none;
}
.form-feedback.success {
    display: block;
    background: rgba(34,197,94,0.1);
    border: 1.5px solid rgba(34,197,94,0.4);
    color: #15803d;
}
.form-feedback.error {
    display: block;
    background: rgba(239,68,68,0.08);
    border: 1.5px solid rgba(239,68,68,0.3);
    color: #dc2626;
}

/* Contact info sidebar */
.kontakt-info {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.kontakt-info h3 { margin-bottom: 1.5rem; font-size: 1.125rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}
.contact-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}
.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-bottom: 0.2rem;
}
.contact-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.5;
}
a.contact-value:hover { color: var(--blue); }

.form-feedback + .contact-form { margin-top: 1rem; }

@media (max-width: 900px) {
    .kontakt-inner { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy-d);
    color: var(--gray);
    padding-block: 2.5rem;
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo { color: var(--white); }
.footer-tagline { font-size: 0.875rem; color: var(--gray); margin-top: 0.25rem; }

.footer-nap {
    font-size: 0.8125rem;
    color: var(--gray);
    line-height: 1.8;
}
.footer-nap a { color: var(--blue-300); }
.footer-nap a:hover { color: var(--white); }

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8125rem;
}
.footer-links a {
    color: var(--gray);
    transition: color var(--transition-base);
}
.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 0.8125rem; color: rgba(148,163,184,0.6); }

/* ============================================================
   GENERAL SECTION SPACING
   ============================================================ */
.section-hero,
.section-leistungen,
.section-ueber-mich,
.section-faq,
.section-kontakt {
    /* individual sections set their own padding-block */
}

/* ============ ABLAUF ============ */
.section-ablauf {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background: var(--white);
}
.ablauf-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-top: 2.5rem;
}
.ablauf-step {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    height: 100%;
}
.ablauf-num {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 700;
}
.ablauf-step h3 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--navy); }
.ablauf-step p { color: var(--gray-d); font-size: 0.98rem; }
.ablauf-arrow {
    align-self: center;
    color: var(--blue-300);
    display: flex;
}
@media (max-width: 820px) {
    .ablauf-steps { grid-template-columns: 1fr; }
    .ablauf-arrow { justify-content: center; transform: rotate(90deg); }
}

/* ============ PREISE ============ */
.section-preise {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background: var(--blue-50);
}
.preise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}
.preis-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.preis-card-featured {
    border: 2px solid var(--blue);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.16);
}
.preis-badge {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}
.preis-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.75rem; }
.preis-wert {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 0.75rem;
    line-height: 1.1;
}
.preis-einheit { font-size: 1rem; font-weight: 500; color: var(--gray-d); white-space: nowrap; }
.preis-desc { color: var(--gray-d); font-size: 0.98rem; }
.preise-note {
    margin-top: 1.75rem;
    text-align: center;
    color: var(--gray-d);
    font-size: 0.9rem;
}
@media (max-width: 820px) {
    .preise-grid { grid-template-columns: 1fr; }
}

/* Preisliste: Pauschalen unterhalb der Karten */
.preisliste {
    margin-top: 2.5rem;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
}
.preisliste-title {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    text-align: center;
}
.preisliste-items { list-style: none; margin: 0; padding: 0; }
.preisliste-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0.25rem;
    border-bottom: 1px dashed var(--blue-100);
    font-size: 0.98rem;
    color: var(--gray-d);
}
.preisliste-item:last-child { border-bottom: none; }
.preisliste-preis {
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
    text-align: right;
}
@media (max-width: 560px) {
    .preisliste-item { flex-direction: column; gap: 0.15rem; }
    .preisliste-preis { text-align: left; }
}

/* ============ SICHERHEITSPAKETE ============ */
.section-pakete {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background: var(--white);
}
.pakete-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}
.paket-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow);
}
.paket-card-featured {
    border: 2px solid var(--blue);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.16);
}
.paket-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.75rem; }
.paket-fuer {
    font-size: 0.9rem;
    color: var(--gray-d);
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed var(--blue-100);
}
.paket-features {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    font-size: 0.94rem;
    color: var(--gray-d);
}
.paket-features li {
    position: relative;
    padding-left: 1.6rem;
}
.paket-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--blue);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') no-repeat center / contain;
}
.paket-cta { margin-top: auto; text-align: center; justify-content: center; }
/* Zeilen (Titel, Preis, Beschreibung, Features, Button) über alle 3 Karten
   hinweg ausrichten, damit Trennlinien und Buttons auf gleicher Höhe liegen */
@supports (grid-template-rows: subgrid) {
    .paket-card {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 5;
        row-gap: 0;
        align-content: start;
    }
    .paket-cta { margin-top: 0; align-self: end; }
}
.pakete-mehr { margin-top: 1.75rem; text-align: center; }
@media (max-width: 820px) {
    .pakete-grid { grid-template-columns: 1fr; }
}
/* Unterseite IT-Betreuung: breiterer Inhaltsbereich für die 3 Paket-Karten */
.sub-content-wide { max-width: 1080px; }
.sub-content-wide .pakete-grid { margin-top: 1.5rem; }

/* ============ RATGEBER (Startseite) ============ */
.section-ratgeber {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background: var(--blue-50);
}
.ratgeber-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}
.ratgeber-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--gray-d);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ratgeber-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.16);
    text-decoration: none;
}
.ratgeber-card h3 {
    font-size: 1.08rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}
.ratgeber-card p {
    font-size: 0.94rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ratgeber-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--blue);
    font-size: 0.95rem;
}
.ratgeber-all { margin-top: 2.25rem; text-align: center; }
@media (max-width: 820px) {
    .ratgeber-grid { grid-template-columns: 1fr; }
}

/* ============ KUNDENSTIMMEN (vorbereitet) ============ */
.section-kundenstimmen {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background: var(--white);
}
.stimmen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.stimme-card {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin: 0;
}
.stimme-card blockquote {
    margin: 0 0 1rem;
    color: var(--navy);
    font-style: italic;
    line-height: 1.6;
}
.stimme-card figcaption { color: var(--gray-d); font-size: 0.9rem; font-weight: 600; }
@media (max-width: 820px) {
    .stimmen-grid { grid-template-columns: 1fr; }
}

/* ============ WHATSAPP-FAB ============ */
.whatsapp-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
    color: var(--white);
}

/* ============ SUB-PAGES (Leistungs-Unterseiten) ============ */
.sub-page { padding-block: 5rem 4rem; background: var(--blue-50); }
.sub-content { background: var(--white); padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); max-width: 1080px; margin-inline: auto; }
.sub-content h1 { font-size: 2.1rem; color: var(--navy); margin-bottom: 1.25rem; line-height: 1.25; }
.sub-content h2 { font-size: 1.5rem; color: var(--navy); margin-block: 2.25rem 1rem; }
.sub-content p { color: var(--gray-d); margin-bottom: 1rem; line-height: 1.7; }
.sub-content a { color: var(--blue); }
/* FAQ auf Unterseiten: volle Inhaltsbreite statt der zentrierten 760px der Startseite */
.sub-content .faq-list { max-width: none; }
.sub-breadcrumb { max-width: 1080px; margin: 0 auto 1.25rem; font-size: 0.9rem; color: var(--gray-d); }
.sub-breadcrumb a { color: var(--blue); text-decoration: none; }
.sub-breadcrumb a:hover { text-decoration: underline; }
.sub-steps { margin: 0 0 1rem 1.25rem; padding: 0; color: var(--gray-d); line-height: 1.7; }
.sub-steps li { margin-bottom: 0.75rem; }
.sub-cta { margin-top: 2.5rem; padding: 2rem; background: var(--blue-50); border-radius: var(--radius-lg); text-align: center; }
.sub-cta h2 { margin-top: 0; }
.sub-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
@media (max-width: 640px) {
    .sub-content { padding: 1.75rem 1.25rem; }
    .sub-content h1 { font-size: 1.6rem; }
}

/* ============ SUB-BLOG (Ratgeber-Übersicht) ============ */
.sub-blog-list { display: grid; gap: 1.5rem; margin-block: 2rem; }
.sub-blog-card { background: var(--blue-50); border-radius: var(--radius-lg); padding: 1.75rem; }
.sub-blog-card h2 { margin-top: 0.25rem; margin-bottom: 0.75rem; font-size: 1.35rem; }
.sub-blog-card h2 a { color: var(--navy); text-decoration: none; }
.sub-blog-card h2 a:hover { color: var(--blue); text-decoration: underline; }
.sub-blog-datum { font-size: 0.85rem; color: var(--gray-d); margin-bottom: 0; }

/* ============ MEHR-ERFAHREN-LINK (Leistungszeilen) ============ */
.service-more { margin-top: 1.25rem; }
.service-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}
.service-more-link:hover,
.service-more-link:focus-visible {
    color: var(--blue-d);
    gap: 0.65rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.service-more-link svg { flex-shrink: 0; }

/* ============ TELEFON-LINKS (alle nicht-Button tel:-Links) ============ */
a[href^="tel:"]:not(.btn) {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}
a[href^="tel:"]:not(.btn)::before {
    content: "";
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z"/></svg>') no-repeat center / contain;
}
a[href^="tel:"]:not(.btn):hover,
a[href^="tel:"]:not(.btn):focus-visible {
    color: var(--blue-d);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Footer: dunkler Hintergrund — helle Variante */
.site-footer a[href^="tel:"]:not(.btn) { color: var(--blue-300); }
.site-footer a[href^="tel:"]:not(.btn):hover { color: var(--white); }

/* ============ BUTTON-SCHUTZ ============
   Kontext-Regeln wie .main-nav a oder .sub-content a haben höhere Spezifität
   als .btn-primary und färbten Button-Text blau/navy (unsichtbar auf blau).
   Diese Overrides stellen die Button-Farben in jedem Kontext sicher. */
a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus-visible,
.main-nav a.btn-primary,
.main-nav a.btn-primary:hover,
.main-nav a.btn-primary:focus-visible,
.sub-content a.btn-primary {
    color: #fff;
    text-decoration: none;
}
.main-nav a.btn-ghost,
.sub-content a.btn-ghost,
a.btn-ghost {
    text-decoration: none;
}
@media (max-width: 768px) {
    /* .main-nav a setzt mobil display:block + border — für den Button zurücknehmen */
    .main-nav a.btn-primary {
        display: inline-flex;
        border-bottom: none;
    }
}

/* ============ PAKETE-TOGGLE (monatlich / jährlich) ============
   Ohne JS: Buttons bleiben hidden, beide Preisblöcke sichtbar (Fallback).
   Mit JS: #pakete-grid bekommt data-zahlweise="monat"|"jahr". */
.pakete-toggle[hidden] {
    display: none; /* ohne JS: Umschalter verborgen, beide Preise sichtbar */
}
.pakete-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0 auto 28px;
    width: max-content;
    background: #eef2f7;
    border-radius: 999px;
    padding: 4px;
}
.pakete-toggle-btn {
    border: none;
    background: transparent;
    font: inherit;
    font-weight: 600;
    color: #475569;
    padding: 8px 20px;
    border-radius: 999px;
    cursor: pointer;
}
.pakete-toggle-btn.is-active {
    background: #2563eb;
    color: #fff;
}
.pakete-toggle-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
.paket-preis-fussnote {
    font-size: 0.85rem;
    color: #64748b;
    margin: 2px 0 0;
}
.paket-jahr-badge {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 2px 10px;
    margin-left: 6px;
}
.pakete-grid[data-zahlweise="monat"] .paket-preis-jahr,
.pakete-grid[data-zahlweise="jahr"] .paket-preis-monat {
    display: none;
}
.pakete-vorteil {
    text-align: center;
    font-weight: 500;
    margin: 24px auto 4px;
    max-width: 720px;
}
.preisliste-zusatz {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
}
.preise-konditionen {
    margin: 18px auto 0;
    max-width: 760px;
    padding-left: 20px;
    color: #64748b;
    font-size: 0.9rem;
}
.preise-konditionen li { margin-bottom: 4px; }
