/* ==========================================================================
   Clarity — Demo Business Website
   Vanilla CSS, keine externen Abhaengigkeiten
   Mobile-first: Basis = Smartphone, Breakpoints 480 / 640 / 768 / 900 / 1024 / 1280
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  --primary:        #2563eb;
  --primary-dark:   #1d4ed8;
  --primary-light:  #3b82f6;
  --primary-pale:   #eff6ff;
  --primary-line:   #dbeafe;

  --ink:            #0f172a;
  --muted:          #64748b;
  --line:           #e2e8f0;
  --soft:           #f8fafc;
  --white:          #ffffff;

  --radius-sm:      12px;
  --radius:         16px;
  --radius-lg:      20px;

  --shadow-sm:      0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .07);
  --shadow:         0 12px 26px -14px rgba(15, 23, 42, .22), 0 4px 10px -6px rgba(15, 23, 42, .10);
  --shadow-lg:      0 34px 64px -34px rgba(15, 23, 42, .40);

  --container:      1200px;
  --gutter:         clamp(16px, 4vw, 32px);
  --section-y:      clamp(56px, 8vw, 104px);
  --header-h:       68px;
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  display: block;
  height: auto;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.022em;
}

h1 { font-size: clamp(2.125rem, 6.2vw, 3.5rem); }
h2 { font-size: clamp(1.625rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); font-weight: 700; letter-spacing: -.012em; }
h4 { font-size: .9375rem; font-weight: 700; letter-spacing: .01em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover { color: var(--primary-dark); }

ul { margin: 0; padding: 0; list-style: none; }

blockquote { margin: 0; }

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

section[id] { scroll-margin-top: 84px; }

/* --------------------------------------------------------------------------
   3. Layout-Helfer
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section-head {
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: clamp(32px, 5vw, 56px);
  text-align: center;
}

.section-head h2 { margin-bottom: .5em; }

.section-head p {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.125rem;
  padding: .42rem .9rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-pale);
  border: 1px solid var(--primary-line);
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.5rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
              transform .2s ease, box-shadow .2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 22px -12px rgba(37, 99, 235, .85);
}

.btn-primary:hover {
  color: #fff;
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 28px -14px rgba(37, 99, 235, .9);
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-light {
  color: var(--primary-dark);
  background: #fff;
}

.btn-light:hover {
  color: var(--primary-dark);
  background: var(--primary-pale);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-name { white-space: nowrap; }

/* --- Navigation (mobil: Klapp-Menue) --- */
.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: .5rem 0 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 32px -26px rgba(15, 23, 42, .55);
}

.nav.is-open { display: block; }

.nav-list {
  display: flex;
  flex-direction: column;
  padding-inline: var(--gutter);
}

.nav-list a {
  display: block;
  padding: .85rem .25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav-list li:last-child a { border-bottom: 0; }
.nav-list a:hover { color: var(--primary); }

.nav-cta {
  display: flex;
  margin: 1rem var(--gutter) .25rem;
}

/* --- Hamburger --- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s ease;
}

.nav-toggle:hover { border-color: var(--primary-light); }

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s ease, opacity .22s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta { display: none; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--primary-pale) 0%, var(--soft) 45%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-copy h1 { margin-bottom: .5em; }

.lead {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-actions .btn { flex: 1 1 auto; }

/* --- CSS-Hero-Visual (Dashboard-Mock) --- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-width: 0;
  margin-inline: auto;
  padding-bottom: 46px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .22), rgba(59, 130, 246, 0) 68%);
  pointer-events: none;
}

.hv-glow { display: none; }

.hv-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.hv-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.hv-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: #cbd5e1;
}

.hv-dot:nth-child(1) { background: #fca5a5; }
.hv-dot:nth-child(2) { background: #fcd34d; }
.hv-dot:nth-child(3) { background: #86efac; }

.hv-url {
  flex: 1;
  min-width: 0;
  max-width: 220px;
  height: 10px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--line);
}

.hv-body {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
}

.hv-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px 12px;
  background: var(--soft);
  border-right: 1px solid var(--line);
}

.hv-side-item {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.hv-side-item.is-active { background: var(--primary-light); }

.hv-main {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 16px;
}

.hv-line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.hv-line--title {
  width: 62%;
  height: 12px;
  background: #cbd5e1;
}

.hv-line--sub { width: 40%; }

.hv-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hv-kpi {
  display: grid;
  gap: 8px;
  padding: 11px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.hv-kpi-label {
  display: block;
  height: 7px;
  width: 55%;
  border-radius: 999px;
  background: var(--line);
}

.hv-kpi-value {
  display: block;
  height: 12px;
  width: 78%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  opacity: .55;
}

.hv-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 84px;
}

.hv-chart span {
  flex: 1;
  min-width: 0;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #93c5fd, var(--primary));
}

.h-1 { height: 32%; }
.h-2 { height: 44%; }
.h-3 { height: 38%; }
.h-4 { height: 58%; }
.h-5 { height: 50%; }
.h-6 { height: 74%; }
.h-7 { height: 86%; }
.h-8 { height: 66%; }

.hv-float {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.hv-float-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  color: var(--primary);
  background: var(--primary-pale);
}

.hv-float-icon svg { width: 19px; height: 19px; }

.hv-float-text { display: grid; line-height: 1.25; }
.hv-float-text strong { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.hv-float-text small { font-size: .7rem; color: var(--muted); white-space: nowrap; }

/* --------------------------------------------------------------------------
   7. Trust-Leiste
   -------------------------------------------------------------------------- */
.trust {
  padding-block: clamp(24px, 4vw, 38px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.trust-label {
  margin: 0;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 5vw, 54px);
  width: 100%;
}

.trust-logos span {
  font-size: clamp(.9rem, 2vw, 1.0625rem);
  font-weight: 800;
  letter-spacing: .08em;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */
.services { background: var(--soft); }

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}

.service-card {
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.service-card h3 { margin-bottom: .5em; }

.service-card p {
  font-size: .9375rem;
  color: var(--muted);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-pale);
}

.service-icon svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   9. Stats-Band
   -------------------------------------------------------------------------- */
.stats {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 36px);
  text-align: center;
}

.stat-value {
  margin: 0 0 .35rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

.stat-label {
  margin: 0;
  font-size: clamp(.8125rem, 1.5vw, .9375rem);
  color: rgba(255, 255, 255, .82);
}

/* --------------------------------------------------------------------------
   10. Portfolio
   -------------------------------------------------------------------------- */
.portfolio { background: #fff; }

.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}

.shot {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.shot-art {
  position: absolute;
  inset: 0;
  background: inherit;
}

.shot-art::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -12%;
  width: 58%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

.shot-art::after {
  content: "";
  position: absolute;
  bottom: 8%;
  left: -9%;
  width: 38%;
  aspect-ratio: 1 / 1;
  border: 14px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
}

.shot-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(16px, 2.4vw, 22px);
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, .78) 100%);
}

.shot-cat {
  display: block;
  margin-bottom: .3rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.shot-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}

.g1 { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
.g2 { background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%); }
.g3 { background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%); }
.g4 { background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%); }
.g5 { background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%); }
.g6 { background: linear-gradient(135deg, #3b82f6 0%, #93c5fd 100%); }

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */
.about { background: var(--soft); }

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.about-copy { min-width: 0; }

.about-copy > p {
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  color: var(--muted);
}

.about-list {
  display: grid;
  gap: .875rem;
  margin: 1.75rem 0 2rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-weight: 600;
}

.check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-pale);
}

.check svg { width: 14px; height: 14px; }

.about-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  box-shadow: var(--shadow-lg);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: clamp(12px, 3vw, 20px);
  bottom: clamp(12px, 3vw, 20px);
  max-width: calc(100% - 24px);
  display: grid;
  padding: .8rem 1.05rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  line-height: 1.25;
}

.about-badge strong {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

.about-badge span {
  font-size: .75rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. Testimonial
   -------------------------------------------------------------------------- */
.testimonial { background: #fff; }

.testimonial-card {
  position: relative;
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.quote-mark {
  display: block;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: .6;
  color: var(--primary-line);
  margin-bottom: .5rem;
}

.testimonial-card blockquote p {
  margin: 0 0 1.75rem;
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.012em;
  color: var(--ink);
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  flex-wrap: wrap;
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  font-size: .9375rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.testimonial-meta {
  display: grid;
  text-align: left;
  line-height: 1.35;
}

.testimonial-meta strong { font-size: .9375rem; font-weight: 700; }
.testimonial-meta small { font-size: .8125rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   13. CTA-Band
   -------------------------------------------------------------------------- */
.cta {
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 58%, var(--primary-light) 100%);
}

.cta h2 { color: #fff; }

.cta p {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: rgba(255, 255, 255, .86);
}

/* --------------------------------------------------------------------------
   14. Kontakt
   -------------------------------------------------------------------------- */
.contact { background: #fff; }

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-form {
  padding: clamp(24px, 3.5vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 1rem;
}

.field { margin-bottom: 1.125rem; }

.field label {
  display: block;
  margin-bottom: .45rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input::placeholder,
.field textarea::placeholder { color: #94a3b8; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  margin: .85rem 0 0;
  font-size: .8125rem;
  color: var(--muted);
  text-align: center;
}

.contact-info h3 { margin-bottom: .35em; }

.contact-info-lead {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.info-list {
  display: grid;
  gap: .875rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease;
}

.info-item:hover {
  border-color: #bfdbfe;
  transform: translateY(-2px);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: var(--radius-sm);
  color: var(--primary);
  background: var(--primary-pale);
}

.info-icon svg { width: 20px; height: 20px; }

.info-text { display: grid; line-height: 1.45; min-width: 0; }
.info-text strong { font-size: .9375rem; font-weight: 700; }
.info-text span { font-size: .9375rem; color: var(--muted); overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(48px, 7vw, 80px);
  color: #cbd5e1;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 40px);
}

.footer-brand .brand { color: #fff; }
.footer-brand .brand:hover { color: #fff; }

.footer-brand p {
  max-width: 24rem;
  margin: 1rem 0 0;
  font-size: .9375rem;
  color: #94a3b8;
}

.footer-col h4 {
  margin: 0 0 1rem;
  color: #fff;
}

.footer-col ul { display: grid; gap: .7rem; }

.footer-col a {
  font-size: .9375rem;
  color: #94a3b8;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: clamp(36px, 5vw, 56px);
  padding-block: 1.5rem;
  font-size: .875rem;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, .22);
}

.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   16. Breakpoint 480px — kleinere Anpassungen
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  .trust-logos { gap: clamp(24px, 5vw, 48px); }
}

/* --------------------------------------------------------------------------
   17. Breakpoint 640px — zweispaltige Raster
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   18. Breakpoint 768px — Desktop-Navigation, Tablet
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  :root { --header-h: 72px; }

  /* Navigation inline */
  .nav {
    position: static;
    display: block;
    flex: 1 1 auto;
    max-height: none;
    margin-left: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(6px, 2vw, 26px);
    padding-inline: 0;
  }

  .nav-list a {
    padding: .5rem .25rem;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 0;
  }

  .nav-list a:hover { color: var(--primary); }

  .nav-cta { display: none; }
  .nav-toggle { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Trust */
  .trust-inner { gap: 1.25rem; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   19. Breakpoint 900px — zweispaltige Inhaltssektionen
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .contact-inner { align-items: start; }
}

/* --------------------------------------------------------------------------
   20. Breakpoint 1024px — echter Desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .header-cta { display: inline-flex; }

  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; }

  .footer-brand { grid-column: auto; }

  .hero-visual { margin-right: 0; }
}

/* --------------------------------------------------------------------------
   21. Breakpoint 1280px — grosszuegigere Abstaende
   -------------------------------------------------------------------------- */
@media (min-width: 1280px) {
  :root {
    --section-y: clamp(96px, 7vw, 120px);
  }

  .hero-inner { gap: 80px; }
}

/* --------------------------------------------------------------------------
   22. Barrierefreiheit / Reduzierte Bewegung
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}


/* --------------------------------------------------------------------------
   23. SCREENSHOT-LAYOUT — Bild-Hero
   Ueberschreibt bewusst Teile von Abschnitt 5 (Header) und 6 (Hero), weil die
   Seite als Screenshot-Vorlage fuer das Geraete-Mockup dient.

   Desktop  >= 1600px : Hero randlos (100vh) — darunter ist nichts zu sehen.
   Laptop / Tablet / Phone : Hero kuerzer, unten werden die Boxen angeschnitten.

   Hero-Hoehe justieren: einfach --hero-h unten aendern (z.B. 58vh / 70vh).
   -------------------------------------------------------------------------- */
:root {
  --hero-h: 64vh;
}

@media (min-width: 1600px) {
  :root { --hero-h: 100vh; }
}

/* --- Header liegt transparent ueber dem Hero-Foto (nicht sticky) --------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 30, .55) 0%, rgba(8, 15, 30, 0) 100%);
  pointer-events: none;
}

.header-inner { position: relative; }

.site-header .brand,
.site-header .brand:hover { color: #fff; }

.site-header .nav-toggle {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .5);
}

.site-header .nav-toggle span { background: #fff; }

@media (min-width: 768px) {
  .site-header .nav-list a { color: rgba(255, 255, 255, .82); }
  .site-header .nav-list a:hover { color: #fff; }
}

/* --- Hero: Foto + Abdunklung + zentrierter Text -------------------------- */
.hero {
  display: flex;
  align-items: center;
  min-height: var(--hero-h);
  padding-block: calc(var(--header-h) + clamp(40px, 7vw, 88px)) clamp(56px, 8vw, 104px);
  color: #fff;
  background: #0f172a;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 15, 30, .70) 0%, rgba(8, 15, 30, .32) 42%, rgba(8, 15, 30, .72) 100%),
    linear-gradient(118deg, rgba(29, 78, 216, .68) 0%, rgba(8, 15, 30, .16) 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

.hero-copy {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.hero-copy h1 {
  margin-bottom: .55em;
  color: #fff;
  text-shadow: 0 2px 26px rgba(8, 15, 30, .45);
}

.lead {
  max-width: 40rem;
  margin: 0 auto 2rem;
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  color: rgba(255, 255, 255, .92);
}

.hero-actions { justify-content: center; }
.hero-actions .btn { flex: 0 0 auto; }

.hero .btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero .btn-ghost:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

/* Das alte CSS-Dashboard im Hero wird nicht mehr verwendet. */
.hero-visual { display: none; }


/* ==========================================================================
   24. DREI BOXEN UNTER DEM HERO
   Mobile  ( < 640px ) : eine Spalte, Icon links neben dem Text
   Tablet  (>= 640px ) : drei Spalten, Icon oben über dem Text
   Die beiden Darstellungen sollen sich bewusst unterscheiden.
   ========================================================================== */

.quick {
  padding-block: clamp(18px, 3vw, 34px) clamp(34px, 5vw, 60px);
  background: #fff;
}

/* Nur für Screenreader — die Sektion braucht trotzdem eine Überschrift. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.quick-box {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.quick-box:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.quick-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-pale);
}

.quick-icon svg { width: 22px; height: 22px; }

.quick-text { min-width: 0; }

.quick-text h3 {
  margin: 0 0 .25em;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.quick-text p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --- Tablet / Desktop: drei Spalten, Icon oben ------------------------- */
@media (min-width: 640px) {
  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
  }

  .quick-box {
    flex-direction: column;
    gap: .85rem;
    padding: clamp(18px, 2.4vw, 26px);
  }

  .quick-text h3 { font-size: 1.0625rem; }

  .quick-text p {
    font-size: .90625rem;
    line-height: 1.55;
  }
}
