/* ==========================================================================
   Wachter IT-Solution — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Brand */
  --brand:           #1788B0;
  --brand-dark:      #0F6588;
  --brand-darker:    #0A4A65;
  --brand-light:     #2BA3CC;
  --brand-tint:      #E6F3F8;
  --brand-tint-2:    #F2F9FC;

  /* Neutrals — anthracite scale */
  --ink:             #0A0E14;   /* near-black, matches logo bg */
  --ink-2:           #141923;
  --ink-3:           #1F2733;
  --ink-soft:        #2A3441;
  --grey-900:        #111827;
  --grey-700:        #374151;
  --grey-600:        #4B5563;
  --grey-500:        #6B7280;
  --grey-400:        #9CA3AF;
  --grey-300:        #D1D5DB;
  --grey-200:        #E5E7EB;
  --grey-100:        #F3F4F6;
  --grey-50:         #F9FAFB;
  --white:           #FFFFFF;

  /* Semantic */
  --success:         #10B981;
  --warning:         #F59E0B;
  --bg:              #FBFBFC;
  --border:          #E5E7EB;
  --border-soft:     #EEF0F3;

  /* Typography */
  --font-display:    'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body:       'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-mono:       'JetBrains Mono', 'Consolas', monospace;

  /* Shadows */
  --shadow-sm:       0 1px 2px rgba(10,14,20,0.05);
  --shadow:          0 4px 14px rgba(10,14,20,0.06), 0 1px 3px rgba(10,14,20,0.04);
  --shadow-md:       0 10px 30px rgba(10,14,20,0.08), 0 3px 8px rgba(10,14,20,0.04);
  --shadow-lg:       0 24px 50px rgba(10,14,20,0.12), 0 8px 16px rgba(10,14,20,0.06);
  --shadow-brand:    0 12px 32px rgba(23,136,176,0.25);

  /* Radii */
  --r-sm:            6px;
  --r:               10px;
  --r-lg:            16px;
  --r-xl:            24px;

  /* Layout */
  --container:       1200px;
  --container-narrow: 880px;
  --nav-h:           76px;
}

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

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

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

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

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { color: var(--grey-700); }

ul { list-style: none; }

::selection { background: var(--brand); color: var(--white); }

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-lg { padding: 7rem 0; }

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 42px;
}
.nav-logo img { height: 100%; width: auto; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.78);
  padding: 0.625rem 1rem;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  letter-spacing: -0.005em;
}

.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.nav-link.active {
  color: var(--white);
  background: rgba(23,136,176,0.18);
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.375rem;
  height: 2px; background: var(--brand-light);
  border-radius: 1px;
}

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.625rem 1.125rem;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--brand-light); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  color: var(--white);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink-2);
    padding: 0.75rem 1rem 1.25rem;
    border-bottom: 2px solid rgba(23,136,176,0.25);
    gap: 0.25rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }

  /* Große, gut tippbare Menüpunkte */
  .nav-link {
    padding: 1rem 1.25rem;
    border-radius: var(--r-sm);
    font-size: 1rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-link:last-of-type { border-bottom: none; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: rgba(23,136,176,0.2); border-left: 3px solid var(--brand); padding-left: calc(1.25rem - 3px); }

  /* Kontakt-Button voll breit */
  .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
    padding: 1rem;
    border-radius: var(--r-sm);
    font-size: 1rem;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.875rem 1.5rem;
  border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-light); box-shadow: 0 16px 40px rgba(23,136,176,0.35); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--ink-3); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--grey-300);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--brand);
  padding: 0.625rem 0.75rem;
}
.btn-ghost:hover { background: var(--brand-tint); }

.btn-lg { padding: 1.05rem 1.75rem; font-size: 1rem; }

/* ==========================================================================
   Typographic helpers
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--brand);
}
.eyebrow.eyebrow-light { color: var(--brand-light); }
.eyebrow.eyebrow-light::before { background: var(--brand-light); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { margin-top: 0.75rem; margin-bottom: 1rem; }
.section-head p { font-size: 1.0625rem; color: var(--grey-600); }

.lead { font-size: 1.125rem; color: var(--grey-700); line-height: 1.65; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(23,136,176,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 90%, rgba(23,136,176,0.10) 0%, transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white);
  padding: 6rem 0 7rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin: 1.25rem 0 1.25rem;
}
.hero h1 .accent {
  color: var(--brand-light);
  position: relative;
  white-space: nowrap;
}

.hero p.lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.hero-badge svg { width: 14px; height: 14px; color: var(--brand-light); }

/* Hero card */
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(23,136,176,0.4), transparent 40%, transparent 60%, rgba(23,136,176,0.2));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.hero-stat {
  padding: 1rem 0;
}
.hero-stat + .hero-stat { border-top: 1px solid rgba(255,255,255,0.08); }
.hero-stat .label-sm {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 0.5rem;
}
.hero-stat .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.hero-stat .desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

@media (max-width: 880px) {
  .hero { padding: 4rem 0 5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ==========================================================================
   Page Hero (subpages)
   ========================================================================== */

.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(23,136,176,0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 30%, transparent 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin: 1rem 0 1rem; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.125rem; max-width: 640px; }

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3rem;
  padding: 1.75rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--grey-700);
}
.trust-item svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }

/* ==========================================================================
   Service Cards
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.svc-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.svc-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.svc-card h3 { margin-bottom: 0.625rem; font-size: 1.1875rem; }
.svc-card p { font-size: 0.9375rem; color: var(--grey-600); }

/* ==========================================================================
   Service Detail Block (Leistungen page)
   ========================================================================== */

.svc-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
}
.svc-detail:last-child { border-bottom: none; }

.svc-detail-icon {
  width: 72px; height: 72px;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--brand-tint), var(--brand-tint-2));
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  position: relative;
}
.svc-detail-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  border: 1px solid rgba(23,136,176,0.18);
}
.svc-detail-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.svc-detail-content h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.svc-detail-content > p { margin-bottom: 1.25rem; color: var(--grey-700); }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3125rem 0.75rem;
  background: var(--grey-100);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--grey-700);
  font-weight: 500;
}

@media (max-width: 720px) {
  .svc-detail { grid-template-columns: 1fr; gap: 1rem; }
  .svc-detail-icon { width: 56px; height: 56px; }
  .svc-detail-icon svg { width: 28px; height: 28px; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.tabs {
  display: inline-flex;
  background: var(--grey-100);
  padding: 0.375rem;
  border-radius: var(--r);
  margin: 0 auto 2.5rem;
  border: 1px solid var(--border-soft);
}
.tab {
  font-family: var(--font-body);
  padding: 0.625rem 1.5rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--grey-600);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.tab.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--white) 0%, var(--brand-tint-2) 100%);
  box-shadow: 0 12px 40px rgba(23,136,176,0.15);
}

.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.price-cat {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.price-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}
.price-amount .unit {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--grey-500);
}
.price-note {
  font-size: 0.8125rem;
  color: var(--grey-500);
  margin: 0.5rem 0 1.25rem;
}
.price-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 1.25rem; }

.price-features { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.75rem; }
.price-features li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--grey-700);
  line-height: 1.5;
}
.price-features li svg {
  width: 18px; height: 18px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
  fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

.price-cta { margin-top: auto; width: 100%; }

.price-disclaimer {
  background: var(--brand-tint-2);
  border: 1px solid rgba(23,136,176,0.18);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--grey-700);
  line-height: 1.6;
}
.price-disclaimer strong { color: var(--ink); }

@media (max-width: 880px) {
  .price-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ==========================================================================
   CTA Band
   ========================================================================== */

.cta {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(23,136,176,0.32) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(23,136,176,0.4), transparent);
  display: none;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
}
.cta h2 { color: var(--white); margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,0.78); font-size: 1.125rem; margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta .btn-outline-light { color: var(--white); }

/* ==========================================================================
   About / Two-col
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

.values { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.value {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-text strong { display: block; color: var(--ink); margin-bottom: 0.25rem; font-weight: 600; }
.value-text { font-size: 0.9375rem; color: var(--grey-600); }

.cert-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.cert-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.cert-card .cert-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-card .cert-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.cert-card h4 { margin-bottom: 0.25rem; font-size: 1.0625rem; }
.cert-card p { font-size: 0.9375rem; color: var(--grey-600); }

.region-box {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}
.region-box::after {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(23,136,176,0.35), transparent 70%);
}
.region-box .label-sm {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 0.5rem;
}
.region-box h3 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.25rem; }
.region-box p { color: rgba(255,255,255,0.72); font-size: 0.9375rem; margin-bottom: 1rem; }

.region-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; position: relative; }
.region-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
}
.region-chip svg { width: 14px; height: 14px; color: var(--brand-light); }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 0.25rem;
}
.contact-item-value {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
}
.contact-item-value a { color: inherit; transition: color 0.2s; }
.contact-item-value a:hover { color: var(--brand); }

.contact-hint {
  background: var(--brand-tint-2);
  border: 1px solid rgba(23,136,176,0.18);
  border-left: 3px solid var(--brand);
  padding: 1.25rem 1.5rem;
  border-radius: var(--r);
}
.contact-hint h4 { font-size: 1rem; color: var(--brand-dark); margin-bottom: 0.375rem; }
.contact-hint p { font-size: 0.9375rem; color: var(--grey-700); margin: 0; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 0.25rem; }
.form-card .form-sub { font-size: 0.9375rem; color: var(--grey-600); margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 1.75rem; } }

.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 0.4375rem;
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(23,136,176,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.form-success {
  display: none;
  padding: 1.5rem;
  background: #E6F7F0;
  border: 1px solid #A8E0C7;
  border-left: 3px solid var(--success);
  border-radius: var(--r);
  color: #065F46;
  font-weight: 500;
  font-size: 0.9375rem;
}
.form-success.show { display: block; }

/* ==========================================================================
   Process / Steps (Home)
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-tint);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9375rem; color: var(--grey-600); }

@media (max-width: 880px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Impressum / legal pages
   ========================================================================== */

.legal-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
}
.legal-block h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--ink);
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border-soft);
}
.legal-block p { font-size: 0.9375rem; color: var(--grey-700); margin-bottom: 0.625rem; line-height: 1.65; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block strong { color: var(--ink); font-weight: 600; }
.legal-block a { color: var(--brand); }
.legal-block a:hover { text-decoration: underline; }

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

footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23,136,176,0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9375rem; color: rgba(255,255,255,0.6); margin: 0.75rem 0 1rem; max-width: 320px; }

.footer-h {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-list { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-list a, .footer-list span {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-list a:hover { color: var(--brand-light); }

.footer-bottom {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding: 2rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--brand-light); }

/* ==========================================================================
   Utility: accent geometric mark (echo of T logo)
   ========================================================================== */

.geo-mark {
  display: inline-block;
  width: 18px; height: 18px;
  background:
    linear-gradient(135deg, var(--brand) 0%, var(--brand) 35%, transparent 35%),
    linear-gradient(180deg, transparent 50%, var(--brand) 50%);
  background-size: 100% 100%;
  margin-right: 0.5rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.fade-up {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }

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

/* ===== CERTIFICATE SHOWCASE ===== */
.cert-showcase-section {
  background: var(--grey-50);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.cert-showcase {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}

.cert-showcase-text .section-title { margin-bottom: 1rem; }
.cert-showcase-text .section-sub { margin-bottom: 1.75rem; color: var(--grey-600); }

.cert-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cert-facts li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--grey-700);
}
.cert-facts li svg { color: var(--brand); flex-shrink: 0; }

/* Certificate frame */
.cert-showcase-img { display: flex; justify-content: center; }

.cert-frame {
  position: relative;
  cursor: pointer;
  transform: rotate(1.5deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  max-width: 320px;
  overflow: visible;
}
.cert-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.1);
}
.cert-frame img {
  display: block;
  width: 100%;
  border-radius: 6px;
  border: 4px solid #fff;
}
.cert-frame-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(23,136,176,0.4);
}

/* Lightbox */
.cert-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,14,20,0.88);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.cert-lightbox.open { display: flex; }

.cert-lightbox-inner {
  position: relative;
  max-width: 680px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.cert-lightbox-inner img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.cert-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--grey-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s;
}
.cert-lightbox-close:hover { background: var(--brand); border-color: var(--brand); }

@media (max-width: 860px) {
  .cert-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cert-showcase-img { order: -1; }
  .cert-frame { max-width: 260px; }
}
