/* =============================================================================
   PC-Service Lukas Mayer — Modernes Redesign 2025
   ============================================================================= */

/* ── Google Fonts (Inter) wird per <link> im head.php eingebunden ─────────── */

/* =============================================================================
   1. DESIGN TOKENS
   ============================================================================= */
:root {
  /* ── Original-Markenfarben PC-Service Lukas Mayer ── */
  --c-navy:      #435970;   /* Stahlblau – Hauptfarbe */
  --c-navy-d:    #344657;   /* dunkler */
  --c-navy-lt:   #526D87;   /* heller */
  --c-red:       #9A1F19;   /* Dunkelrot – Akzent (NUR auf hellem Grund als Text!) */
  --c-red-d:     #7A1813;   /* dunkler */
  --c-green:     #2e7d32;   /* Kaufen-Button */
  --c-green-d:   #1b5e20;
  --c-olive:     #8B9B2A;   /* Olive – Hover, Info-Box */
  --c-olive-d:   #6E7C21;
  --c-amber:     #8B9B2A;   /* Fokus-Outline = Olive */

  /* Surfaces */
  --c-bg:        #E8ECEC;   /* Original Seiten-Hintergrund */
  --c-surface:   #FFFFFF;
  --c-surface2:  #F0F3F3;
  --c-border:    #C5CECE;   /* Original Border */
  --c-border-lt: #D8E2E2;

  /* Text */
  --c-text:      #304050;   /* Original Body-Text */
  --c-muted:     #5C6E7A;   /* Original Text-Light */
  --c-hint:      #8A9BA8;

  /* Highlight-Flächen */
  --c-blue-lt:   #DDE4E8;   /* Helles Stahlblau-Grau */
  --c-green-lt:  #EFF4DB;   /* Helles Olive-Grün */
  --c-red-lt:    #FDF0EF;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl:3rem;

  /* Shape */
  --r:     12px;
  --r-sm:  7px;
  --r-lg:  18px;
  --r-pill:999px;

  /* Shadows */
  --sh-card:  0 1px 3px rgba(28,43,58,.06), 0 4px 20px rgba(28,43,58,.08);
  --sh-hover: 0 8px 32px rgba(28,43,58,.14), 0 2px 8px rgba(28,43,58,.06);
  --sh-btn:   0 1px 4px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.1);
  --sh-nav:   0 2px 16px rgba(0,0,0,.1);

  /* Animation */
  --t:      0.18s ease;
  --t-slow: 0.3s ease;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  --font-size: 16px;
  --lh: 1.65;

  /* Layout */
  --max-w: 1100px;
  /* Responsiver Seitenabstand: min 1.25 rem, skaliert bis 3 rem */
  --sp-page: clamp(1.25rem, 5vw, 3rem);
}


/* =============================================================================
   2. RESET
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-size); scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: var(--lh);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--c-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t);
}
a:hover, a:focus { color: var(--c-red); }

nav ul, nav ol { list-style: none; }
p { margin-bottom: var(--sp-md); }
p:last-child { margin-bottom: 0; }


/* =============================================================================
   3. ACCESSIBILITY
   ============================================================================= */
.skip-link {
  position: absolute; top: -999px; left: 0; z-index: 9999;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--c-red); color: #fff;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { top: 0; outline: 3px solid var(--c-amber); }

:focus-visible {
  outline: 3px solid var(--c-amber);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }


/* =============================================================================
   4. PAGE WRAPPER
   ============================================================================= */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* =============================================================================
   5. HEADER  –  sticky, white, shadow
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-nav);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-page);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
}

/* ── Logo ── */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 74px;
  height: 42px;
  background: linear-gradient(135deg, var(--c-navy-d) 0%, var(--c-navy) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(67,89,112,.3);
}

.logo-icon svg { display: block; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-primary {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -0.025em;
}

.logo-secondary {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: 0.01em;
}

.logo-location {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--c-hint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Hamburger ── */
.nav-toggle {
  position: absolute; opacity: 0;
  width: 0; height: 0; pointer-events: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 20px;
  cursor: pointer;
  position: relative; z-index: 10;
}

.nav-toggle-label span {
  display: block; height: 2.5px; width: 100%;
  background: var(--c-navy); border-radius: 2px;
  transition: transform var(--t-slow), opacity var(--t);
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(1) { transform: translateY(8.75px) rotate(45deg); }
.nav-toggle:checked + .nav-toggle-label span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle:checked + .nav-toggle-label span:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); }

/* ── Desktop Nav ── */
.site-nav { display: flex; align-items: center; }

.site-nav ul {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 0;
  list-style: none;
}

.site-nav li { display: flex; align-items: stretch; }

.site-nav a {
  display: flex; align-items: center;
  padding: 0 var(--sp-md);
  height: 70px;
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 3px solid transparent;
  transition: color var(--t), border-color var(--t), background var(--t);
  white-space: nowrap;
}

.site-nav a:hover, .site-nav a:focus-visible {
  color: var(--c-navy);
  border-bottom-color: var(--c-olive);   /* Olive wie im Original */
  background: var(--c-blue-lt);
  outline: none;
}

.site-nav a.active, .site-nav a[aria-current="page"] {
  color: var(--c-navy);
  border-bottom-color: var(--c-red);     /* Dunkelrot-Unterstrich bei aktiver Seite */
  font-weight: 700;
}

/* Shop-Link: Olive-Highlight */
.site-nav a.nav-shop {
  color: var(--c-olive-d);
  font-weight: 700;
  margin-left: var(--sp-sm);
}
.site-nav a.nav-shop:hover, .site-nav a.nav-shop:focus-visible {
  background: var(--c-green-lt);
  border-bottom-color: var(--c-olive);
  color: var(--c-olive-d);
}

/* ── Language Switcher ────────────────────────────────────────────────────── */
.lang-switcher { position: relative; display: flex; align-items: center; }

.lang-btn {
  display: flex; align-items: center; gap: 4px;
  height: 70px; padding: 0 var(--sp-md);
  background: none; border: none;
  color: var(--c-muted); font-size: 0.82rem; font-weight: 600;
  font-family: inherit; cursor: pointer; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--t), background var(--t);
}
.lang-btn:hover, .lang-switcher.open .lang-btn {
  color: var(--c-navy); background: var(--c-blue-lt);
}
.lang-arrow { font-size: 0.6rem; opacity: .7; }

.lang-dropdown {
  display: none;
  position: absolute; top: calc(100% + 2px); right: 0;
  background: #fff; border: 1px solid #E2E8F0;
  border-radius: 10px; min-width: 148px;
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  z-index: 200; overflow: hidden;
}
.lang-switcher.open .lang-dropdown { display: block; }

.lang-dropdown a {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 15px; text-decoration: none;
  color: var(--c-text); font-size: 0.88rem;
  transition: background var(--t);
  border-bottom: none !important;
  height: auto !important;
}
.lang-dropdown a:hover   { background: var(--c-blue-lt); color: var(--c-navy); }
.lang-dropdown a.lang-active { font-weight: 700; color: var(--c-navy); background: #F0F4FA; }

@media (max-width: 720px) {
  .lang-btn { height: auto; padding: 12px var(--sp-xl); font-size: 0.9rem; }
  .lang-dropdown { position: static; display: flex !important; flex-direction: row;
                   border: none; border-radius: 0; box-shadow: none;
                   background: transparent; min-width: 0; }
  .lang-dropdown a { padding: 8px var(--sp-xl); }
  .lang-arrow { display: none; }
}

/* =============================================================================
   6. HERO SECTION  (nur Startseite)
   ============================================================================= */
.hero {
  background: linear-gradient(135deg, #2a3f52 0%, var(--c-navy) 55%, #526d87 100%);
  color: #fff;
  padding: var(--sp-2xl) 0 calc(var(--sp-2xl) + 1rem);
  position: relative;
  overflow: hidden;
}

/* Subtiler Muster-Overlay (Olive statt Rot) */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(139,155,42,.18) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--sp-page);
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-lg);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-lg);
  color: #fff;
}

.hero h1 span {
  color: rgba(255,255,255,.75);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin-bottom: var(--sp-xl);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  font-size: 0.82rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

.hero-trust span::before {
  content: '✓ ';
  color: #c8d96a;   /* Olive-Grün auf dunklem Grund — guter Kontrast */
  font-weight: 700;
}


/* =============================================================================
   7. MAIN CONTENT
   ============================================================================= */
main {
  flex: 1;
}

.content-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-page);
}


/* =============================================================================
   8. TYPOGRAPHY
   ============================================================================= */
h1.page-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-sm);
  line-height: 1.25;
}

h1.page-title + p { margin-top: var(--sp-sm); }

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-xs);
}

.section-sub {
  font-size: 0.95rem;
  color: var(--c-muted);
  margin-bottom: var(--sp-xl);
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-md);
  line-height: 1.3;
}

h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--c-navy);
  margin-bottom: var(--sp-sm);
  line-height: 1.4;
}


/* =============================================================================
   9. BUTTONS
   ============================================================================= */

/* Primary (navy) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 11px 22px;
  background: var(--c-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: var(--sh-btn);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--c-red-d); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,64,27,.35);
  outline: none;
}

/* Outline white (for hero dark bg) */
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 11px 22px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), border-color var(--t);
}
.btn-outline-white:hover, .btn-outline-white:focus-visible {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.65);
  color: #fff;
  outline: none;
}

/* Navy button */
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 10px 20px;
  background: var(--c-navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), transform var(--t);
  box-shadow: var(--sh-btn);
}
.btn-navy:hover, .btn-navy:focus-visible {
  background: var(--c-navy-d); color: #fff;
  transform: translateY(-1px);
  outline: none;
}

/* Buy (green) */
.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #16A34A, var(--c-green));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 2px 8px rgba(21,128,61,.25);
}
.btn-buy:hover, .btn-buy:focus-visible {
  background: linear-gradient(135deg, var(--c-green), var(--c-green-d));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(21,128,61,.35);
  outline: none;
}

/* Contact */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--c-red);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t);
  box-shadow: var(--sh-btn);
}
.btn-contact:hover { background: var(--c-red-d); color: #fff; }

/* Download */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--c-navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: var(--r-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t);
}
.btn-download:hover { background: var(--c-navy-d); color: #fff; }

/* Submit/Reset */
.btn-submit {
  padding: 11px var(--sp-xl);
  background: var(--c-navy);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t), box-shadow var(--t);
  box-shadow: var(--sh-btn);
}
.btn-submit:hover { background: var(--c-navy-d); box-shadow: var(--sh-hover); }

.btn-reset {
  padding: 11px var(--sp-lg);
  background: transparent;
  color: var(--c-muted);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.btn-reset:hover { border-color: var(--c-navy); color: var(--c-navy); background: var(--c-blue-lt); }


/* =============================================================================
   10. SERVICES GRID  (Startseite)
   ============================================================================= */
.services {
  background: var(--c-surface);
  padding: var(--sp-2xl) 0;
  border-bottom: 1px solid var(--c-border-lt);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--sp-page);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.service-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r);
  padding: var(--sp-lg) var(--sp-lg);
  transition: box-shadow var(--t-slow), transform var(--t-slow), background var(--t);
}
.service-card:hover {
  background: var(--c-surface);
  box-shadow: var(--sh-card);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-md);
  line-height: 1;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--sp-xs);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
}

/* USP strip */
.usp-strip {
  background: var(--c-blue-lt);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-lg) 0;
}
.usp-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--sp-page);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xl);
  align-items: center;
  justify-content: center;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-navy);
}
.usp-dot {
  width: 10px; height: 10px;
  background: var(--c-olive);   /* Olive wie im Original-Brand */
  border-radius: 50%;
  flex-shrink: 0;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #2a3f52 0%, var(--c-navy) 100%);
  color: #fff;
  padding: var(--sp-2xl) 0;
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; padding-inline: var(--sp-page); }
.cta-section h2 { color: #fff; font-size: 1.6rem; margin-bottom: var(--sp-md); }
.cta-section p { color: rgba(255,255,255,.75); margin-bottom: var(--sp-xl); }
.cta-btns { display: flex; flex-wrap: wrap; gap: var(--sp-md); justify-content: center; }


/* =============================================================================
   11. PRICE TABLES  (Angebot.php)
   ============================================================================= */
.price-section {
  background: var(--c-surface);
  border-radius: var(--r);
  border: 1px solid var(--c-border);
  overflow: hidden;
  margin-bottom: var(--sp-lg);
  box-shadow: var(--sh-card);
}

.price-section-header {
  background: var(--c-navy);
  color: #fff;
  padding: 12px var(--sp-lg);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table th {
  background: var(--c-blue-lt);
  color: var(--c-navy);
  font-weight: 600;
  text-align: left;
  padding: 10px var(--sp-lg);
  border-bottom: 1px solid var(--c-border);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-table td {
  padding: 11px var(--sp-lg);
  border-bottom: 1px solid var(--c-border-lt);
  color: var(--c-text);
}

.price-table tbody tr:last-child td { border-bottom: none; }

.price-table tbody tr:hover { background: var(--c-blue-lt); }

.price-table .price-col {
  text-align: right;
  color: var(--c-navy);
  font-weight: 700;
  white-space: nowrap;
}

/* Old caption-style table compat */
.price-table caption {
  display: none; /* header row übernimmt diese Rolle */
}


/* =============================================================================
   12. INFO BOX
   ============================================================================= */
.info-box {
  background: #F4F6EE;       /* Olive-getönter Hintergrund wie im Original */
  border-left: 4px solid var(--c-olive);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}
.info-box p { font-size: 0.9375rem; color: var(--c-text); }


/* =============================================================================
   13. FORMS
   ============================================================================= */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--sp-md);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--sp-xs);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  padding: 10px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-surface);
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(27,58,92,.12);
  outline: none;
}

.form-group input[aria-invalid="true"],
.form-group input.error {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(200,64,27,.12);
}

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

.form-checkbox {
  display: flex; flex-direction: row;
  align-items: flex-start; gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}
.form-checkbox input[type="checkbox"] {
  flex-shrink: 0; width: 18px; height: 18px;
  margin-top: 3px; accent-color: var(--c-navy); cursor: pointer;
}

.form-actions {
  display: flex; flex-wrap: wrap;
  gap: var(--sp-sm); margin-top: var(--sp-md);
}

.form-hp { display: none !important; }

/* Alert */
.alert {
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-md);
  font-size: 0.9375rem;
  font-weight: 500;
  border-left: 4px solid transparent;
}
.alert-error { background: var(--c-red-lt); color: #9B1C1C; border-left-color: var(--c-red); }
.alert-success { background: var(--c-green-lt); color: #145F2E; border-left-color: var(--c-green); }


/* =============================================================================
   14. LINK LIST
   ============================================================================= */
.link-list { list-style: none; margin-bottom: var(--sp-xl); }
.link-list li {
  border-bottom: 1px solid var(--c-border-lt);
  padding: var(--sp-sm) 0;
}
.link-list li:first-child { border-top: 1px solid var(--c-border-lt); }
.link-list a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-navy);
  text-decoration: none;
  transition: color var(--t);
}
.link-list a:hover { color: var(--c-red); text-decoration: underline; }
.link-note { display: block; font-size: 0.8rem; color: var(--c-muted); margin-top: 2px; }


/* =============================================================================
   15. LEGAL SECTIONS
   ============================================================================= */
.legal-section { margin-bottom: var(--sp-xl); }
.legal-section h2 {
  font-size: 1.1rem; color: var(--c-navy);
  padding-bottom: var(--sp-xs);
  border-bottom: 2px solid var(--c-border);
  margin-bottom: var(--sp-md);
}
.legal-section p, .legal-section ul, .legal-section ol {
  font-size: 0.9rem; color: var(--c-text); margin-bottom: var(--sp-sm);
}
.legal-section ul, .legal-section ol { padding-left: var(--sp-lg); }
.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }


/* =============================================================================
   16. FOOTER
   ============================================================================= */
.site-footer {
  background: linear-gradient(180deg, #3a5068 0%, var(--c-navy-d) 100%);
  color: rgba(255,255,255,.8);
}

.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-2xl) var(--sp-page) var(--sp-xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-xl);
}

.footer-brand .logo-primary { color: rgba(255,255,255,.95); font-size: 1rem; }
.footer-brand .logo-secondary { color: rgba(255,255,255,.55); }
.footer-brand .logo-location { color: rgba(255,255,255,.35); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,.55); margin-top: var(--sp-md); }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-md);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--t);
}
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--sp-md) var(--sp-page);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
  max-width: var(--max-w);
  margin: 0 auto;
}


/* =============================================================================
   17. SOFTWARE SHOP  –  Grid & Cards
   ============================================================================= */

.shop-hero {
  background: linear-gradient(135deg, #2a3f52 0%, var(--c-navy) 100%);
  color: #fff;
  padding: var(--sp-2xl) 0 var(--sp-xl);
}
.shop-hero-inner { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--sp-page); }
.shop-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: var(--sp-sm); }
.shop-hero p { color: rgba(255,255,255,.75); font-size: 1rem; margin: 0; }

.shop-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-page);
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-xl);
  margin-bottom: var(--sp-2xl);
}

.software-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: var(--sp-lg);
  box-shadow: var(--sh-card);
  transition: box-shadow var(--t-slow);
}
.software-card:hover {
  box-shadow: var(--sh-hover);
}

.badge-demo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-green);
  background: var(--c-green-lt);
  border: 1px solid #BBF7D0;
  border-radius: var(--r-pill);
  padding: 3px 10px;
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.02em;
  align-self: flex-start;
}

.software-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: var(--sp-sm);
  line-height: 1.3;
}

.sw-desc {
  font-size: 0.86rem;
  color: var(--c-muted);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

/* Beschreibung aufklappbar */
.desc-wrap {
  position: relative;
  margin-bottom: var(--sp-sm);
}
.desc-wrap.desc-collapsed {
  max-height: 5.5em;
  overflow: hidden;
}
.desc-wrap.desc-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2.5em;
  background: linear-gradient(transparent, var(--c-surface));
  pointer-events: none;
}
.btn-mehr {
  background: none; border: none;
  color: var(--c-navy); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; padding: 2px 0 var(--sp-sm);
  text-decoration: underline; text-underline-offset: 2px;
  display: block;
}
.btn-mehr:hover { color: var(--c-red); }

/* Preis */
.sw-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-navy);
  margin-top: auto;
  padding-top: var(--sp-sm);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.02em;
}
.sw-price small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--c-muted);
}

/* Karten-Aktionen */
.card-actions {
  margin-bottom: var(--sp-sm);
}

/* Demo-Buttons */
.demo-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--c-border-lt);
}
.demo-label {
  font-size: 0.7rem;
  color: var(--c-hint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-version {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-navy);
  background: var(--c-blue-lt);
  border: 1px solid rgba(27,58,92,0.15);
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: 0;
  text-transform: none;
}
.demo-os-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  width: 100%;
}
.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: opacity var(--t);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-platform:hover { opacity: 0.85; }
.btn-win  { background: #DBEAFE; color: #1E40AF; border-color: #BFDBFE; }
.btn-lnx  { background: #DCFCE7; color: #166534; border-color: #BBF7D0; }
.btn-mac  { background: #F3E8FF; color: #6B21A8; border-color: #E9D5FF; }

/* Extra (Screenshots / Handbuch) */
.extra-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1.5px dashed var(--c-border);
}

.btn-screenshots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1.5px solid var(--c-navy);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--c-navy);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), color var(--t);
}
.btn-screenshots:hover, .btn-screenshots:focus-visible {
  background: var(--c-navy);
  color: #fff;
  outline: none;
}

.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: var(--c-surface2);
  color: var(--c-muted);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn-doc:hover, .btn-doc:focus-visible {
  background: var(--c-blue-lt);
  color: var(--c-navy);
  border-color: var(--c-navy-lt);
  outline: none;
}


/* =============================================================================
   18. SHOP: INFOSECTION
   ============================================================================= */
.shop-info {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: var(--sp-xl);
  box-shadow: var(--sh-card);
}
.shop-info h2 { font-size: 1.1rem; margin-bottom: var(--sp-md); }
.shop-info ol {
  padding-left: var(--sp-lg);
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--c-text);
}
.shop-info ol li { padding-left: var(--sp-xs); }


/* =============================================================================
   19. CHECKOUT
   ============================================================================= */
.checkout-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-xl);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-xl);
  align-items: start;
}

.order-summary {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: var(--sp-lg);
  box-shadow: var(--sh-card);
  position: sticky;
  top: 90px;
}
.order-summary h2 {
  font-size: 1rem;
  border-bottom: 2px solid var(--c-border-lt);
  padding-bottom: var(--sp-sm);
  margin-bottom: var(--sp-md);
}
.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: var(--sp-xs) 0;
  color: var(--c-muted);
}
.price-row.total {
  border-top: 2px solid var(--c-border);
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-navy);
}

/* Zahlungs-Buttons */
.payment-buttons { display: flex; flex-direction: column; gap: var(--sp-sm); margin-top: var(--sp-lg); }
.btn-stripe {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px var(--sp-lg);
  background: #5469D4; color: #fff;
  font-weight: 700; font-size: 1rem;
  border: none; border-radius: var(--r-sm);
  cursor: pointer; text-decoration: none;
  transition: background var(--t);
  box-shadow: var(--sh-btn);
}
.btn-stripe:hover { background: #4054B2; color: #fff; }
.btn-paypal {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px var(--sp-lg);
  background: #FFC439; color: #003087;
  font-weight: 700; font-size: 1rem;
  border: none; border-radius: var(--r-sm);
  cursor: pointer; text-decoration: none;
  transition: background var(--t);
  box-shadow: var(--sh-btn);
}
.btn-paypal:hover { background: #F0B429; color: #003087; }

.payment-divider {
  display: flex; align-items: center;
  gap: var(--sp-sm); color: var(--c-hint);
  font-size: 0.8rem; margin: 2px 0;
}
.payment-divider::before, .payment-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--c-border);
}

.hwid-help {
  background: var(--c-blue-lt);
  border: 1px solid #BFDBFE;
  border-radius: var(--r-sm);
  padding: var(--sp-md);
  margin-top: var(--sp-xs);
  font-size: 0.85rem;
  color: var(--c-muted);
}
.hwid-help code {
  font-family: monospace;
  background: #DBEAFE;
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--c-navy);
}


/* =============================================================================
   20. DANKE (Success Page)
   ============================================================================= */
.success-box {
  max-width: 520px;
  margin: var(--sp-xl) auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: var(--sp-xl);
  text-align: center;
  box-shadow: var(--sh-card);
}
.success-icon {
  width: 72px; height: 72px;
  background: var(--c-green-lt);
  border: 2px solid #86EFAC;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--sp-lg);
  color: var(--c-green);
}
.success-box h2 { color: var(--c-green); }


/* =============================================================================
   21. AUFBAU-BANNER
   ============================================================================= */
.banner-aufbau {
  background: #FEF3C7;
  color: #92400E;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px var(--sp-md);
  letter-spacing: 0.02em;
  border-bottom: 2px solid #F59E0B;
}


/* =============================================================================
   22. RESPONSIVE
   ============================================================================= */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 720px) {
  .nav-toggle-label { display: flex; }

  /* .header-inner: clamp() in --sp-page übernimmt die Skalierung */

  .site-nav {
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--c-surface);
    border-bottom: 2px solid var(--c-navy);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    max-height: 0; overflow: hidden;
    transition: max-height var(--t-slow);
  }
  .nav-toggle:checked ~ .site-nav { max-height: 600px; }

  .site-nav ul { flex-direction: column; padding: var(--sp-sm) 0; }

  .site-nav a {
    height: auto;
    padding: 12px var(--sp-xl);
    border-bottom: none;
    border-left: 3px solid transparent;
    color: var(--c-text);
    font-size: 1rem;
  }
  .site-nav a:hover, .site-nav a:focus-visible {
    border-left-color: var(--c-olive);
    background: var(--c-blue-lt);
    color: var(--c-navy);
  }
  .site-nav a.active, .site-nav a[aria-current="page"] {
    border-left-color: var(--c-red);
    color: var(--c-navy);
  }
  .site-nav a.nav-shop {
    border-left-color: transparent;
    color: var(--c-olive-d);
    font-weight: 700;
  }
  .site-nav a.nav-shop:hover { border-left-color: var(--c-olive); }

  .hero { padding: var(--sp-xl) 0; }
  .hero-cta { flex-direction: column; }
  .hero-cta a { text-align: center; justify-content: center; }

  .services { padding: var(--sp-xl) 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }

  .content-wrapper { padding: var(--sp-lg) var(--sp-page); }
  .shop-main { padding: var(--sp-lg) var(--sp-page); }
  .shop-hero { padding: var(--sp-xl) 0 var(--sp-lg); }

  .software-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }

  .usp-inner { flex-direction: column; gap: var(--sp-md); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .cta-section { padding: var(--sp-xl) 0; }
  .footer-bottom { padding: var(--sp-md) var(--sp-page); }

  .form-actions { flex-direction: column; }
  .btn-submit, .btn-reset { width: 100%; text-align: center; }

  .price-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .nav-toggle-label,
  .btn-download, .btn-contact, .btn-submit, .btn-reset, .skip-link { display: none !important; }
  body { background: none; color: #000; font-size: 12pt; }
  .page-wrapper { box-shadow: none; max-width: 100%; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  a[href^="#"]::after, a[href^="javascript:"]::after { content: ""; }
}
