/* =============================================
   Elektro & Computer Trost — Design 2026
   ============================================= */

/* DESIGN TOKENS */
:root {
  --primary:       #C41428;
  --primary-dark:  #9e1020;
  --primary-glow:  rgba(196,20,40,0.25);
  --dark:          #0f172a;
  --dark-2:        #1e293b;
  --dark-3:        #334155;
  --gray:          #64748b;
  --gray-light:    #94a3b8;
  --border:        #e2e8f0;
  --light:         #f1f5f9;
  --lighter:       #f8fafc;
  --white:         #ffffff;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1),  0 8px 10px -6px rgba(0,0,0,.08);

  --transition: .2s ease;
  --max-w: 1200px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font); line-height: 1.6; color: var(--dark-2); background: var(--white); -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* TYPOGRAPHY */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--gray); line-height: 1.75; }

/* ─── LAYOUT ─────────────────────────────── */
.container  { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--dark    { background: var(--dark);    color: var(--white); }
.section--light   { background: var(--lighter); }
.section--primary { background: var(--primary); color: var(--white); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .label {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--primary);
  margin-bottom: .75rem;
}
.section-header h2  { color: var(--dark); margin-bottom: .9rem; }
.section-header p   { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section--dark .section-header h2  { color: var(--white); }
.section--dark .section-header .label { color: #ff8898; }

/* GRID */
.grid   { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3-fixed { grid-template-columns: repeat(3, 1fr); }

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.65rem; border-radius: var(--radius-full);
  font-size: .9rem; font-weight: 600; transition: var(--transition);
  border: 2px solid transparent; white-space: nowrap; line-height: 1.4;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 16px var(--primary-glow); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: .9rem 2.1rem; font-size: .97rem; }
.btn-sm { padding: .45rem 1.1rem; font-size: .82rem; }
.btn-ghost { color: var(--gray); }
.btn-ghost:hover { color: var(--primary); }

/* ─── CARDS ──────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(196,20,40,.1), rgba(196,20,40,.04));
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; color: var(--primary); stroke-width: 1.8; }
.card h3 { color: var(--dark); margin-bottom: .45rem; }
.card p  { font-size: .9rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.card-tag {
  display: inline-block; background: var(--light); border: 1px solid var(--border);
  padding: .2rem .65rem; border-radius: var(--radius-full);
  font-size: .75rem; color: var(--dark-3); font-weight: 500;
}
.card-link {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--primary); font-weight: 600; font-size: .87rem;
  margin-top: auto; padding-top: 1.2rem; transition: gap var(--transition);
}
.card-link:hover { gap: .55rem; }
.card-link svg { width: 15px; height: 15px; }

/* ─── NAVIGATION ─────────────────────────── */
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo  { display: flex; align-items: center; gap: .75rem; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text { font-size: .95rem; font-weight: 700; color: var(--dark); line-height: 1.25; }
.nav-logo-text span { display: block; font-size: .68rem; font-weight: 400; color: var(--gray); }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a {
  padding: .48rem .85rem; border-radius: var(--radius);
  font-size: .88rem; font-weight: 500; color: var(--dark-3); transition: var(--transition);
}
.nav-links a:hover  { color: var(--primary); background: var(--light); }
.nav-links a.active { color: var(--primary); }
.nav-fw {
  background: var(--primary); color: var(--white) !important;
  border-radius: var(--radius-full) !important; padding: .5rem 1.1rem !important;
  margin-left: .4rem;
}
.nav-fw:hover { background: var(--primary-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 23px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ─── HERO ───────────────────────────────── */
#hero {
  background: var(--dark); color: var(--white);
  padding: 7rem 0 5rem; overflow: hidden; position: relative;
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 70% 50%, rgba(196,20,40,.14), transparent);
  pointer-events: none;
}
#hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(196,20,40,.2); border: 1px solid rgba(196,20,40,.4);
  color: #ff8898; font-size: .76rem; font-weight: 700; letter-spacing: .07em;
  padding: .38rem .9rem; border-radius: var(--radius-full); margin-bottom: 1.4rem; text-transform: uppercase;
}
.hero-badge svg { width: 13px; height: 13px; }
#hero h1 { color: var(--white); margin-bottom: 1.2rem; }
#hero h1 em { font-style: normal; color: var(--primary); }
.hero-lead { font-size: 1.1rem; color: rgba(255,255,255,.65); margin-bottom: 2rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.stat-val   { font-size: 1.75rem; font-weight: 800; color: var(--white); display: block; line-height: 1; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: .25rem; }
.hero-visual { position: relative; }
.hero-glass {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl); padding: 2rem; backdrop-filter: blur(8px);
}
.hero-partner-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.hero-partner-badges img { width: 50px; height: 50px; object-fit: contain; }

/* ─── ABOUT ──────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.about-features { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.75rem; }
.about-feat { display: flex; align-items: flex-start; gap: .85rem; }
.about-feat-icon { width: 40px; height: 40px; border-radius: var(--radius); background: rgba(196,20,40,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-feat-icon svg { width: 20px; height: 20px; color: var(--primary); stroke-width: 1.8; }
.about-feat strong { display: block; font-size: .92rem; color: var(--dark); margin-bottom: .1rem; }
.about-feat span { font-size: .83rem; color: var(--gray); }
.about-visual { background: var(--light); border-radius: var(--radius-xl); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.partner-tile { background: var(--white); border-radius: var(--radius); padding: .9rem 1rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); transition: var(--transition); }
.partner-tile:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.partner-tile img { max-height: 46px; width: auto; object-fit: contain; }
.award-tile { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.award-tile img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.award-tile p { padding: .6rem 1rem; font-size: .75rem; color: var(--gray); }

/* ─── SERVICE CARDS ──────────────────────── */
.service-card ul { margin-top: .7rem; display: flex; flex-direction: column; gap: .28rem; }
.service-card ul li { font-size: .84rem; color: var(--gray); display: flex; align-items: center; gap: .45rem; }
.service-card ul li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.card-dark { background: var(--dark); border-color: var(--dark-2); }
.card-dark h3 { color: var(--white); }
.card-dark p  { color: rgba(255,255,255,.55); }
.card-dark .card-icon { background: rgba(196,20,40,.22); }
.card-dark:hover { border-color: rgba(196,20,40,.5); }

/* ─── ADVANTAGES ─────────────────────────── */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.adv-item { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.75rem; border-radius: var(--radius-lg); transition: background var(--transition); }
.adv-item:hover { background: rgba(255,255,255,.04); }
.adv-num { font-size: 2.2rem; font-weight: 800; color: rgba(196,20,40,.35); line-height: 1; flex-shrink: 0; width: 50px; }
.adv-item h3 { color: var(--white); margin-bottom: .3rem; font-size: 1.1rem; }
.adv-item p  { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.65; }

/* ─── LOGO STRIP ─────────────────────────── */
.logos-strip { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; align-items: center; }
.logo-tile { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem 1.5rem; display: flex; align-items: center; justify-content: center; min-width: 130px; transition: var(--transition); }
.logo-tile img { max-height: 42px; width: auto; object-fit: contain; opacity: .75; filter: grayscale(20%); transition: var(--transition); }
.logo-tile:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.logo-tile:hover img { opacity: 1; filter: none; }

/* ─── CONTACT ────────────────────────────── */

/* Kontakt-Karten (3 nebeneinander) */
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.5rem;
}
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: .6rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(196,20,40,.2); }
.contact-card-ico {
  width: 48px; height: 48px; background: rgba(196,20,40,.08); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: .4rem;
}
.contact-card-ico svg { width: 22px; height: 22px; color: var(--primary); }
.contact-card-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--gray);
}
.contact-card-value { font-size: .97rem; color: var(--dark); line-height: 1.6; font-weight: 500; }
.contact-card-value a { color: var(--dark); }
.contact-card-value a:hover { color: var(--primary); }
.contact-card-sub { font-size: .8rem; color: var(--gray); font-weight: 400; }

/* Fernwartung + CTA unterhalb */
.contact-bottom {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.25rem; align-items: stretch;
}
.fw-teaser {
  background: var(--light); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; gap: 1rem; align-items: flex-start;
}
.fw-teaser-icon { width: 42px; height: 42px; background: var(--primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fw-teaser-icon svg { width: 20px; height: 20px; color: var(--white); }
.fw-teaser h4 { color: var(--dark); margin-bottom: .25rem; }
.fw-teaser p  { font-size: .83rem; margin-bottom: .85rem; }
.contact-cta { background: linear-gradient(135deg, var(--primary), #9e0a1e); border-radius: var(--radius-lg); padding: 2rem 2.25rem; color: var(--white); }
.contact-cta h3 { color: var(--white); font-size: 1.2rem; margin-bottom: .55rem; }
.contact-cta p  { color: rgba(255,255,255,.75); font-size: .88rem; margin-bottom: 1.25rem; }
.contact-cta-note { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: 1.25rem; }
.contact-cta-note p { font-size: .83rem; color: rgba(255,255,255,.85); line-height: 1.6; margin: 0; }
.contact-cta-note strong { color: var(--white); }
.contact-cta .btn { background: var(--white); color: var(--primary); font-weight: 700; }
.contact-cta .btn:hover { background: var(--lighter); }

/* ─── FOOTER ─────────────────────────────── */
footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 44px; width: auto; margin-bottom: .85rem; opacity: .9; }
.footer-brand .name { font-size: 1rem; font-weight: 700; color: var(--white); }
.footer-brand .sub  { font-size: .7rem; color: rgba(255,255,255,.4); }
.footer-brand p { margin-top: .8rem; font-size: .85rem; max-width: 270px; line-height: 1.75; }
footer h5 { color: var(--white); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
footer ul li { margin-bottom: .45rem; }
footer ul li a { font-size: .86rem; color: rgba(255,255,255,.55); transition: var(--transition); }
footer ul li a:hover { color: var(--white); }
footer ul li a.fw-link { color: #ff8898; font-weight: 600; }
.footer-contact { display: flex; flex-direction: column; gap: .35rem; margin-top: .5rem; }
.footer-contact a, .footer-contact p { font-size: .84rem; color: rgba(255,255,255,.5); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.35); transition: var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.75); }

/* ─── PAGE HERO (inner pages) ─────────────── */
.page-hero { background: var(--dark); color: var(--white); padding: 4rem 0 3.5rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 100% at 90% 50%, rgba(196,20,40,.12), transparent); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: rgba(255,255,255,.4); margin-bottom: 1.25rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.5); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.6); font-size: 1.05rem; max-width: 600px; }

/* ─── LEISTUNGEN PAGE ─────────────────────── */
.leistung-anchor { scroll-margin-top: 130px; } /* nav 68px + sticky TOC ~52px + gap */
.leistung-block { padding: 4.5rem 0; border-bottom: 1px solid var(--border); }
.leistung-block:last-child { border-bottom: none; }
.leistung-inner { display: grid; grid-template-columns: 280px 1fr; gap: 5rem; align-items: start; }
.leistung-side { position: sticky; top: 90px; }
.leistung-ico { width: 64px; height: 64px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(196,20,40,.12), rgba(196,20,40,.04)); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.leistung-ico svg { width: 32px; height: 32px; color: var(--primary); stroke-width: 1.6; }
.leistung-side h2 { color: var(--dark); font-size: 1.55rem; margin-bottom: .65rem; }
.leistung-body { display: flex; flex-direction: column; gap: 1.25rem; }
.leistung-body p { font-size: .95rem; color: var(--dark-3); line-height: 1.75; }
.check-list { display: flex; flex-direction: column; gap: .55rem; }
.check-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--dark-3); }
.check-list li svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; margin-top: 1px; stroke-width: 2.5; }
.brand-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.brand-tag { background: var(--light); border: 1px solid var(--border); padding: .25rem .7rem; border-radius: var(--radius-full); font-size: .78rem; color: var(--dark-3); font-weight: 500; }
.partner-logo-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: .5rem; }
.partner-logo-row img { height: 36px; width: auto; object-fit: contain; opacity: .8; }
.leistung-cta { background: var(--lighter); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.leistung-cta p { font-size: .88rem; margin: 0; }
.service-toc { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.service-toc a { padding: .4rem .9rem; border-radius: var(--radius-full); font-size: .82rem; font-weight: 500; background: var(--light); color: var(--dark-3); border: 1px solid var(--border); transition: var(--transition); }
.service-toc a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ─── FERNWARTUNG PAGE ────────────────────── */
.fw-info { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.fw-steps { display: flex; flex-direction: column; gap: 1.25rem; }
.fw-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.fw-step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; flex-shrink: 0; }
.fw-step-text h4 { color: var(--dark); margin-bottom: .2rem; font-size: .95rem; }
.fw-step-text p  { font-size: .86rem; }
.fw-os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.fw-os-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.fw-os-head { padding: 1.1rem 1.5rem; background: var(--light); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .75rem; }
.fw-os-head svg { width: 22px; height: 22px; }
.fw-os-head h3 { font-size: .95rem; color: var(--dark); }
.fw-os-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.fw-dl { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); gap: 1rem; transition: var(--transition); }
.fw-dl:hover { border-color: var(--primary); background: rgba(196,20,40,.03); }
.fw-dl-label strong { display: block; font-size: .88rem; color: var(--dark); }
.fw-dl-label span { font-size: .76rem; color: var(--gray); }
.fw-dl-btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--primary); color: var(--white); padding: .45rem 1rem; border-radius: var(--radius); font-size: .82rem; font-weight: 600; white-space: nowrap; transition: var(--transition); flex-shrink: 0; }
.fw-dl-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.fw-dl-btn svg { width: 14px; height: 14px; }
.fw-notice { background: var(--lighter); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.fw-notice h4 { color: var(--dark); margin-bottom: .4rem; font-size: .9rem; }
.fw-notice p  { font-size: .85rem; line-height: 1.65; }

/* ─── LEGAL PAGES ────────────────────────── */
.legal-wrap { max-width: 800px; }
.legal-wrap h2 { color: var(--dark); margin-bottom: 1.75rem; }
.legal-wrap h3 { color: var(--dark); font-size: 1.05rem; margin: 2rem 0 .6rem; }
.legal-wrap p, .legal-wrap li { font-size: .93rem; color: var(--dark-3); line-height: 1.8; margin-bottom: .75rem; }
.legal-wrap ul { list-style: disc; margin-left: 1.25rem; margin-bottom: 1rem; }
.legal-wrap a { color: var(--primary); }
.legal-wrap a:hover { text-decoration: underline; }
.legal-wrap .agb-num { font-weight: 700; color: var(--dark); margin-right: .4rem; }

/* ─── ANIMATIONS ─────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .55s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ─── RESPONSIVE ─────────────────────────── */

/* ── 1024px: Tablet landscape ── */
@media (max-width: 1024px) {
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid    { grid-template-columns: 1fr; }
  .hero-inner    { grid-template-columns: 1fr; }
  .hero-visual   { display: none; }
  .leistung-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .leistung-side  { position: static; }
  .fw-os-grid    { grid-template-columns: 1fr; }
  .fw-info       { grid-template-columns: 1fr; }
  .grid-3-fixed  { grid-template-columns: repeat(3, 1fr); }
  .adv-grid      { grid-template-columns: 1fr 1fr; }
}

/* ── 900px: Service cards → 2 columns ── */
@media (max-width: 900px) {
  .grid-3-fixed { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px: Mobile ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); padding: .75rem;
    box-shadow: var(--shadow-lg); z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a    { padding: .75rem 1rem; border-radius: var(--radius); width: 100%; }
  .nav-fw         { text-align: center; justify-content: center; margin: .25rem 0; border-radius: var(--radius) !important; }
  .nav-logo-text span { display: none; } /* hide subtitle in mobile nav */

  /* Hero */
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-lead  { font-size: 1rem; }

  /* Layout */
  .section         { padding: 3rem 0; }
  .contact-cards   { grid-template-columns: 1fr; gap: .75rem; }
  .contact-bottom  { grid-template-columns: 1fr; }
  .adv-grid        { grid-template-columns: 1fr; }
  .leistung-cta  { flex-direction: column; }
  .about-visual  { display: none; } /* hide partner grid visual on small screens */

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 1.75rem; margin-bottom: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .75rem; }
  .footer-legal  { justify-content: center; }

  /* Fernwartung */
  .fw-dl         { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .fw-dl-btn     { width: 100%; justify-content: center; }

  /* Leistungen TOC */
  .service-toc   { gap: .3rem; }
  .service-toc a { font-size: .78rem; padding: .35rem .7rem; }
}

/* ── 480px: Small mobile ── */
@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.45rem; }

  .hero-actions        { flex-direction: column; }
  .hero-actions .btn   { width: 100%; justify-content: center; }
  .hero-stats          { gap: 1.25rem; }
  .stat-val            { font-size: 1.4rem; }

  .grid-2, .grid-3     { grid-template-columns: 1fr; }
  .grid-3-fixed        { grid-template-columns: 1fr; }

  .page-hero           { padding: 2.5rem 0 2rem; }
  .page-hero h1        { font-size: 1.6rem; }

  .card                { padding: 1.4rem; }
  .section-header      { margin-bottom: 2.25rem; }

  .leistung-cta        { gap: .75rem; }
  .leistung-cta .btn   { width: 100%; justify-content: center; }

  .fw-steps            { gap: 1rem; }
  .contact-cta         { padding: 1.75rem; }

  .footer-grid         { gap: 1.25rem; }
  .footer-bottom       { font-size: .72rem; }
  .footer-legal        { gap: 1rem; }
  .footer-legal a      { font-size: .72rem; }
}
