/* =====================================================================
   KSELENA GmbH – Ambulanter Pflegedienst
   styles.css · Design system + responsive layout (mobile-first)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --brand:        #0f766e;
  --brand-600:    #0d857a;
  --brand-500:    #14b8a6;
  --brand-deep:   #0b4f49;
  --brand-soft:   #e6f4f1;
  --brand-tint:   #f2f9f7;

  --accent:       #f59e5b;
  --accent-deep:  #e07f38;
  --accent-soft:  #fdecd9;

  --ink:          #10221f;
  --text:         #465854;
  --muted:        #7b8b87;
  --line:         #e5ece9;
  --line-strong:  #d6e0dd;

  --bg:           #ffffff;
  --bg-soft:      #f5f9f7;
  --bg-deep:      #08312d;

  --r-xs: 10px;
  --r-sm: 14px;
  --r:    20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16,34,31,.06), 0 2px 6px rgba(16,34,31,.05);
  --shadow:    0 6px 20px rgba(16,34,31,.08), 0 2px 6px rgba(16,34,31,.05);
  --shadow-lg: 0 24px 60px rgba(11,79,73,.16), 0 8px 24px rgba(16,34,31,.08);
  --shadow-brand: 0 18px 44px rgba(15,118,110,.28);

  --maxw: 1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  touch-action: pan-y;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r-xs);
}
.skip-link:focus { left: 16px; }

:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  padding: 13px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--brand-deep); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; border-color: var(--brand-500); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 16px 28px; font-size: 1.03rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(16,34,31,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 6px 12px rgba(15,118,110,.28)); }
.brand-mark svg { border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.18rem; letter-spacing: .06em; color: var(--ink); }
.brand-sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin-top: 3px; }

.nav { display: flex; gap: 4px; }
.nav a {
  font-weight: 550; font-size: .97rem; color: var(--text);
  padding: 9px 14px; border-radius: var(--r-pill); transition: background .2s, color .2s;
}
.nav a:hover { background: var(--brand-tint); color: var(--brand-deep); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-deep); font-size: .95rem; }
.header-phone:hover { color: var(--brand-500); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  background: var(--brand-tint); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--brand-deep); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 84px) 0 clamp(72px, 10vw, 120px);
  display: flex; align-items: center; min-height: min(78vh, 760px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 72%, var(--bg-soft) 100%),
    linear-gradient(92deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 34%, rgba(255,255,255,.55) 58%, rgba(255,255,255,.12) 82%, rgba(255,255,255,0) 100%);
}
/* used by the values band */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line-strong);
  padding: 7px 15px 7px 12px; border-radius: var(--r-pill);
  font-size: .84rem; font-weight: 600; color: var(--brand-deep); letter-spacing: -.01em;
  backdrop-filter: blur(8px);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-soft); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1;} 50% { transform: scale(1.35); opacity: .7; } }

.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 800; letter-spacing: -.035em; margin: 22px 0 20px; }
.grad-text { background: linear-gradient(115deg, var(--brand-500), var(--brand-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.25rem); color: var(--ink); max-width: 40ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 26px; }

.hero-badges { display: flex; flex-direction: column; gap: 11px; }
.hero-badges li { display: flex; align-items: center; gap: 10px; font-weight: 550; color: var(--text); font-size: .98rem; }
.hero-badges svg { color: var(--brand-500); flex-shrink: 0; }

/* Hero visual: staggered glass cards over the video */
.hero-visual { position: relative; min-height: 340px; }
.glass-card {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
}
.pulse-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 5px var(--brand-soft); animation: pulse 2s infinite; flex-shrink: 0; }

.card-float { padding: 15px 18px; display: flex; align-items: center; gap: 13px; position: absolute; z-index: 3; }
.card-float strong { display: block; color: var(--ink); font-size: .95rem; }
.card-float small { color: var(--muted); font-size: .78rem; }
.card-247 { top: 8%; right: 6%; animation: float 6s ease-in-out infinite; }
.card-team { top: 40%; right: 22%; animation: float 6s ease-in-out infinite .8s; }
.card-heart { bottom: 6%; right: 2%; animation: float 6s ease-in-out infinite 1.6s; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-11px);} }

.avatars { display: flex; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-size: .78rem; font-weight: 700; color: #fff; border: 2.5px solid #fff; margin-left: -12px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand));
}
.avatar:first-child { margin-left: 0; }
.avatar:nth-child(2) { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.avatar-plus { background: var(--brand-deep); font-size: .72rem; }
.heart-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); }

/* ---------- Stats strip ---------- */
.stats-strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 30px 14px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1; }
.stat-label { display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); font-weight: 550; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 108px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.kicker-light { color: #baf3e7; background: rgba(255,255,255,.12); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; }
.section-lead { margin-top: 16px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--text); }
.section-head-light h2 { color: #fff; }
.section-head-light .section-lead { color: #cdeee7; }

/* ---------- Service cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; transition: background .3s, color .3s, transform .3s;
}
.service-card:hover .service-ico { background: var(--brand); color: #fff; transform: scale(1.05) rotate(-3deg); }
.service-card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.service-card p { font-size: .96rem; color: var(--text); }

/* ---------- Values band ---------- */
.values-band { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--brand-deep), #06423d 60%, #073d38); color: #fff; padding: clamp(60px, 9vw, 108px) 0; }
.values-bg { position: absolute; inset: 0; pointer-events: none; }
.values-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .14; mix-blend-mode: luminosity; filter: grayscale(1) contrast(1.05);
}
.blob-4 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(20,184,166,.5), transparent 70%); top: -160px; left: -120px; filter: blur(70px); }
.blob-5 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(245,158,91,.32), transparent 70%); bottom: -180px; right: -120px; filter: blur(70px); }
.values-band .container { position: relative; z-index: 1; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
  padding: 28px 26px; backdrop-filter: blur(6px); transition: transform .25s var(--ease), background .25s;
}
.value:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.value-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(20,184,166,.2); color: #7ff0dd; margin-bottom: 16px; }
.value h3 { color: #fff; font-size: 1.18rem; margin-bottom: 8px; }
.value p { color: #c6e8e2; font-size: .95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-copy .kicker { margin-bottom: 18px; }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 18px; }
.about-copy p { margin-bottom: 16px; font-size: 1.04rem; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 30px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 550; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f766e' d='m9.6 16.2-4-4L4 13.8l5.6 5.6L20 9l-1.6-1.6Z'/%3E%3C/svg%3E") center/15px no-repeat;
}
.team { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.team-member { display: flex; align-items: center; gap: 13px; }
.team-avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-weight: 800; color: #fff; font-size: 1.02rem; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--brand-500), var(--brand)); box-shadow: var(--shadow);
}
.team-avatar-alt { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.team-member strong { display: block; color: var(--ink); font-size: 1.02rem; }
.team-member small { color: var(--muted); font-size: .86rem; }

.about-visual { display: flex; flex-direction: column; gap: 18px; }
.about-photo {
  position: relative; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-quote {
  position: absolute; inset: auto 0 0 0; padding: 56px 28px 26px;
  background: linear-gradient(180deg, transparent, rgba(8,49,45,.78) 70%);
  display: flex; flex-direction: column;
}
.vc-quote { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: #fff; text-shadow: 0 1px 12px rgba(8,49,45,.5); }
.vc-meta { margin-top: 8px; font-size: .82rem; color: #a9e6dc; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.visual-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.visual-stats div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); }
.vs-num { display: block; font-weight: 800; color: var(--ink); font-size: 1.12rem; letter-spacing: -.02em; }
.vs-label { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }

/* ---------- Ablauf ---------- */
.ablauf-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 44px); align-items: stretch; }
.ablauf-photo {
  position: relative; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); min-height: 340px;
}
.ablauf-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ablauf-photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 26px 24px; display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(180deg, transparent, rgba(8,49,45,.8) 75%);
}
.ablauf-photo strong { color: #fff; font-size: 1.12rem; letter-spacing: -.01em; }
.ablauf-photo span { color: #b9e8df; font-size: .86rem; font-weight: 550; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: step; }
.steps-side { grid-template-columns: 1fr 1fr; }
.step {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px 28px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  font-weight: 800; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand));
  box-shadow: var(--shadow-brand);
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { font-size: .96rem; color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 56px); padding: clamp(38px, 6vw, 64px); align-items: center; position: relative; z-index: 1; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,91,.35), transparent 70%); top: -120px; right: -80px; filter: blur(40px); }
.cta-band-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 16px 0; }
.cta-band-copy > p { color: #cdeee7; font-size: 1.05rem; margin-bottom: 22px; max-width: 52ch; }
.cta-points { display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.cta-points li { position: relative; padding-left: 30px; color: #eafaf6; font-weight: 550; }
.cta-points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='m9.6 16.2-4-4L4 13.8l5.6 5.6L20 9l-1.6-1.6Z'/%3E%3C/svg%3E") center/14px no-repeat; }
.cta-band-visual { display: flex; flex-direction: column; gap: 18px; }
.cta-photo {
  position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 18px 44px rgba(0,0,0,.3);
  aspect-ratio: 4 / 3;
}
.cta-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grade-chips { display: flex; flex-wrap: wrap; gap: 11px; }
.grade-chips span {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff;
  padding: 12px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; backdrop-filter: blur(6px);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(26px, 4vw, 48px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 15px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
a.contact-item:hover { transform: translateX(4px); border-color: var(--brand-500); box-shadow: var(--shadow); }
.ci-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.contact-item small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-item strong { display: block; color: var(--ink); font-size: 1.02rem; word-break: break-word; }

.hours-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); margin-top: 4px; }
.hours-head { display: flex; align-items: center; gap: 9px; color: var(--brand); margin-bottom: 14px; }
.hours-head strong { color: var(--ink); font-size: 1.05rem; }
.hours-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.hours-row span:first-child { color: var(--text); }
.hours-hi { font-weight: 700; color: var(--brand); }
.hours-row span:last-child { font-weight: 600; color: var(--ink); }
.hours-note { font-size: .88rem; color: var(--muted); margin: 12px 0 16px; }

/* ---------- Form ---------- */
.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  cursor: pointer; padding-right: 46px; line-height: 1.4; height: 51px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230f766e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 17px;
}
.field select:hover { border-color: var(--brand-500); background-color: #fff; }
.field select option { color: var(--ink); background: #fff; }
.field select::-ms-expand { display: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.field input::placeholder, .field textarea::placeholder { color: #9aa8a4; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 20px; font-size: .88rem; color: var(--text); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.consent a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.form-hint { margin-top: 14px; font-size: .92rem; text-align: center; min-height: 1.2em; font-weight: 600; }
.form-hint.ok { color: var(--brand); }
.form-hint.err { color: var(--accent-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #b7d4ce; padding: clamp(48px, 7vw, 76px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { margin-top: 16px; max-width: 34ch; font-size: .95rem; color: #9dc3bc; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: var(--brand-500); }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: #a9cbc4; font-size: .96rem; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: .88rem; color: #86aca5; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile navigation ---------- */
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 4px; padding: 18px 22px 26px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .38s var(--ease); z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav a:active { background: var(--brand-tint); }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
}

/* ---------- Responsive layout ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  /* Mobile: video becomes its own framed card below the text */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: clamp(44px, 8vw, 72px); }
  .hero-media {
    position: relative; inset: auto; order: 2; pointer-events: auto;
    width: calc(100% - 36px); max-width: 600px; margin: 34px auto 0;
    aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(8,49,45,0) 55%, rgba(8,49,45,.3));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); border-radius: inherit;
  }
  .lead { max-width: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .ablauf-grid { grid-template-columns: 1fr; }
  .ablauf-photo { min-height: 0; width: 100%; aspect-ratio: 16 / 10; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .btn-lg { padding: 15px 24px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-side { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-item { padding: 15px 15px; gap: 12px; }
  .contact-item .ci-ico { width: 42px; height: 42px; }
  .contact-item strong { font-size: .92rem; letter-spacing: -.01em; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .team { flex-direction: column; gap: 16px; }
  .btn-block { width: 100%; }
}

@media (max-width: 420px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal pages ---------- */
.legal { padding: clamp(56px, 8vw, 90px) 0 clamp(48px, 7vw, 80px); }
.legal-inner { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.legal .legal-lead { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-weight: 600; color: var(--brand); }
.legal .note { background: var(--brand-tint); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: 16px 18px; font-size: .92rem; color: var(--text); }
