/* SCR Website UI Kit — component styles
   Mobile-first; tablet at 768px+; desktop at 1024px+.
   The Figma source covers 402-px mobile only; tablet/desktop are an
   extension that preserves the visual DNA (translucent cards, knot
   monogram, signature gradient, bold Montserrat).
   ───────────────────────────────────────────────────────────── */

@import url("colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--scr-bg); }

/* ── Stage ── Mobile-first, expands at md / lg breakpoints. */
.scr-stage {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--scr-bg);
  position: relative;
  overflow: clip;
  min-height: 100vh;
  color: #fff;
  font-family: var(--font-sans);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
}

/* Fluid horizontal gutter used by every section. */
:root {
  --gutter: clamp(28px, 6vw, 120px);
  --content-max: 1180px;
}

/* ── Hero ────────────────────────────────────────────────────────
   Mobile: centered stack. Desktop (≥1024): keeps the centered
   composition but lets type breathe with much larger display size and
   wider max-width to balance the layout.
   ─────────────────────────────────────────────────────────────── */
.scr-hero {
  position: relative;
  padding: clamp(120px, 16vw, 200px) var(--gutter) 0;
  min-height: clamp(320px, 90vh, 450px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scr-hero__logo {
  width: clamp(330px, 22vw, 720px);
  height: clamp(60px, 4vw, 180px);
  margin: 0 auto clamp(40px, 8vw, 20px);
  background: url("../images/SCR.svg") center / contain no-repeat;
}
.scr-hero__title {
  font-size: clamp(46px, 8.4vw, 128px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 clamp(48px, 6vw, 80px);
  /*color: #fff;*/
  background: linear-gradient(to right, #F8DC00, #D0651B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
  max-width: 16ch;
}
.scr-hero__scroll {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin: clamp(20px, 4vw, 40px) auto 0;
  display: block;
  transition: transform var(--dur-base) var(--ease-soft), opacity var(--dur-base) var(--ease-soft);
  opacity: 0.85;
}
.scr-hero__scroll:hover { opacity: 1; transform: translateY(2px); }
.scr-hero__scroll svg { width: 28px; height: 26px; display: block; }

/* ── Knot symbol (decorative bleed) ─────────────────────────────
   Positioned absolute against its .scr-section-wrap so it tracks the
   right section regardless of page length. Scales with viewport.
   ─────────────────────────────────────────────────────────────── */
.scr-knot {
  position: absolute;
  pointer-events: none;
  background: url("../images/scr-knot.png") center / contain no-repeat;
  z-index: 0;
}
.scr-knot--left {
  width: clamp(280px, 32vw, 560px);
  height: clamp(300px, 34vw, 600px);
  left: clamp(-100px, -8vw, -60px);
  top: clamp(-160px, -12vw, -100px);
}
.scr-knot--rightTilt {
  width: clamp(220px, 24vw, 420px);
  height: clamp(240px, 26vw, 460px);
  right: clamp(-110px, -7vw, -60px);
  top: clamp(20px, 3vw, 80px);
  transform: rotate(-24deg);
  transform-origin: 100% 0%;
  opacity: 0.85;
}
.scr-section-wrap { position: relative; }
.scr-section-wrap > *           { position: relative; z-index: 1; }
.scr-section-wrap > .scr-knot   { position: absolute; z-index: 0; }

/* When a knot bleeds in from the left, keep the section heading
   clear of it. Mobile: drop the text below the knot (padding-top).
   Desktop: shift the text to the right of the knot (padding-left). */
.scr-section-wrap--knot-clear-left > .scr-section {
  padding-top: 220px;
}
@media (min-width: 700px) {
  .scr-section-wrap--knot-clear-left > .scr-section {
    padding-top: clamp(0px, 5vw, 0px);
    padding-left: clamp(180px, 30vw, 460px);
  }
}

/* ── Sections ───────────────────────────────────────────────── */
.scr-section {
  padding: clamp(40px, 5vw, 80px) var(--gutter) 0;
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
}
.scr-section__eyebrow {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.5); margin-bottom: 14px;
}
.scr-section__title {
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 40 18px;
  color: #fff;
  text-wrap: balance;
  max-width: 24ch;
}
.scr-section__lead {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: #fff;
  max-width: 38ch;
}
.scr-section__lead--accent {
  color: var(--scr-amber);
  font-size: clamp(18px, 1.8vw, 26px);
}

/* ── Cards (translucent) ──────────────────────────────────────── */
.scr-card {
  background: rgba(217,217,217,.20);
  border-radius: 35px;
  color: #fff;
  padding: 32px 30px 26px;
  width: 100%;
  max-width: 360px;
}
.scr-card--content { min-height: 254px; }
.scr-card--quote   { min-height: 294px; padding: 36px 30px 26px; max-width: 420px; }
.scr-card__title  { font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
.scr-card__body   { font-size: clamp(15px, 1.5vw, 18px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.scr-card__author { font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; color: #fff; }
.scr-card--quote .scr-card__body { font-weight: 500; font-size: clamp(15px, 1.3vw, 19px); }

/* ── Icon stat card ──────────────────────────────────────────── */
.scr-iconcard {
  background: rgba(217,217,217,.20);
  border-radius: 35px;
  padding: 22px 28px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 192px;
}
.scr-iconcard svg { display: block; flex: 0 0 auto; }
.scr-iconcard__title { font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 14px 0 10px; }
.scr-iconcard__body  { font-size: clamp(14px, 1.1vw, 17px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; margin: 0; max-width: 22ch; }

/* Stat grid: 1 col → 2 cols ≥640 → 4 cols ≥1024 */
.scr-statgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 16px var(--gutter) 0;
  max-width: var(--content-max);
  margin: 0 auto;
}
@media (min-width: 640px) {
  .scr-statgrid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .scr-statgrid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ── Carousel ──────────────────────────────────────────────────
   Mobile: horizontal snap (peek-edges). Desktop: collapses to a
   3-up CSS grid; dots are hidden because all slides are visible.
   ─────────────────────────────────────────────────────────────── */
.scr-carousel { position: relative; padding: 16px 0 12px; max-width: var(--content-max); margin: 0 auto; }
.scr-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter);
  scrollbar-width: none;
}
.scr-carousel__track::-webkit-scrollbar { display: none; }
.scr-carousel__slide {
  flex: 0 0 304px;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
}
.scr-carousel__dots {
  display: flex; gap: 8px; justify-content: center; margin-top: 18px;
}
.scr-carousel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(217,217,217,.35);
  border: 0; padding: 0; cursor: pointer;
  transition: background var(--dur-base) var(--ease-soft);
}
.scr-carousel__dot.is-active { background: var(--scr-yellow); }

@media (min-width: 880px) {
  .scr-carousel__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
  }
  .scr-carousel__slide { flex: initial; width: 100%; }
  .scr-carousel__slide > * { max-width: none; }
  .scr-carousel__dots { display: none; }
}

/* ── Primary CTA ─────────────────────────────────────────────── */
.scr-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  padding: clamp(9px, 0.9vw, 14px) clamp(16px, 1.6vw, 28px);
  border: 0;
  border-radius: 50px;
  background: linear-gradient(180deg, #F8DC00 0%, #D0651B 100%);
  color: #fff;
  font: 700 clamp(15px, 1.2vw, 18px)/1.1 Montserrat, sans-serif;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: 0 6px 22px -10px rgba(208,101,27,.55);
  transition: transform var(--dur-fast) var(--ease-soft), filter var(--dur-base) var(--ease-soft);
}
.scr-btn-primary--full { width: 100%; }
.scr-btn-primary:hover  { filter: brightness(1.05); }
.scr-btn-primary:active { transform: scale(0.97); filter: brightness(0.95); }

/* ── "Das sind wir" — portrait + manifesto ──────────────────── */
.scr-aboutus {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(20px, 3vw, 40px) var(--gutter) 0;
  max-width: var(--content-max);
  margin: 0 auto;
  align-items: start;
}
.scr-photo {
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  border-radius: 30px;
  background: center/cover no-repeat;
}
@media (min-width: 900px) {
  .scr-aboutus {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }
  .scr-photo { height: clamp(320px, 32vw, 480px); }
}

/* ── Logo grid ──────────────────────────────────────────────── */
.scr-logogrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  padding: clamp(24px, 3vw, 40px) var(--gutter);
  max-width: var(--content-max);
  margin: 0 auto;
  justify-content: center;
}
.scr-logogrid__chip {
  width: 100%;
  max-width: 200px;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 137 / 38;
  border-radius: 30px;
  background: #D9D9D9;
}
@media (min-width: 640px)  { .scr-logogrid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .scr-logogrid { grid-template-columns: repeat(4, 1fr); gap: 28px; } .scr-logogrid__chip { max-width: 260px; } }

/* ── Pull-quote mark (sized via SVG attrs; CSS only controls layout) ── */
.scr-quotemark {
  display: inline-block;
  width: clamp(140px, 14vw, 220px);
  height: auto;
  flex: 0 0 auto;
}

/* ── Testimonial section ────────────────────────────────────── */
.scr-testimonial {
  position: relative;
  padding: clamp(40px, 5vw, 80px) 0 0;
  max-width: var(--content-max);
  margin: 0 auto;
}
.scr-testimonial__lockup {
  position: relative;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2vw, 36px);
  align-items: end;
  min-height: clamp(180px, 22vw, 280px);
}
.scr-testimonial__title {
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em; margin: 0; color: #fff;
  text-wrap: balance;
}

/* ── Body section: text + accent line ───────────────────────── */
.scr-prose {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: pre-wrap;
  max-width: 60ch;
}
.scr-pull {
  color: var(--scr-amber);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: clamp(28px, 3vw, 40px) 0 22px;
  max-width: 30ch;
}
.scr-driver {
  padding: clamp(40px, 5vw, 80px) var(--gutter) 0;
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
}
.scr-driver__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.6vw, 40px);
}
@media (min-width: 900px) {
  .scr-driver__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ── Footer ──────────────────────────────────────────────────
   Fluid blob via SVG with preserveAspectRatio. On mobile the blob
   dominates; on desktop we cap its height and right-align the contact
   block over the dark area.
   ───────────────────────────────────────────────────────────── */
.scr-footer {
  position: relative;
  min-height: clamp(540px, 64vw, 760px);
  margin-top: clamp(60px, 7vw, 120px);
  overflow: hidden;
}
.scr-footer__blob {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.scr-footer__blob svg {
  position: absolute;
  left: -10%;
  top: 0;
  width: 195%;
  height: 100%;
  transform: rotate(11deg);
  transform-origin: bottom left;
}
@media (min-width: 1024px) {
  .scr-footer__blob svg { width: 130%; left: -15%; transform: rotate(6deg); }
}
.scr-footer__top {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: clamp(50px, 5vw, 90px);
  background: transparent; border: 0; cursor: pointer;
  padding: 12px;
  z-index: 2;
  opacity: 0.95;
}
.scr-footer__top svg { width: 28px; height: 26px; display: block; }

.scr-footer__contact {
  position: relative;
  z-index: 2;
  margin: clamp(220px, 28vw, 360px) auto 0;
  width: min(90%, 320px);
  font-style: normal;
  text-align: center;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: #fff;
}
.scr-footer__org { display: block; }
.scr-footer__mail { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.scr-footer__nav {
  position: relative; z-index: 2;
  display: flex; gap: 16px; justify-content: center; align-items: center;
  margin-top: clamp(28px, 3vw, 44px);
  font-size: clamp(15px, 1.1vw, 17px); font-weight: 700; letter-spacing: -0.02em;
}
.scr-footer__nav a { color: #fff; text-decoration: none; cursor: pointer; }
.scr-footer__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.scr-footer__nav span { color: rgba(255,255,255,.6); }
.scr-footer__rights {
  position: relative; z-index: 2;
  text-align: center;
  margin-top: 18px;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 400; letter-spacing: -0.02em;
  color: rgba(255,255,255,.78);
  padding: 0 32px 28px;
}

/* ── Datenschutz / Impressum (long-form) ────────────────────── */
.scr-longform {
  padding: clamp(80px, 10vw, 160px) var(--gutter) clamp(40px, 5vw, 80px);
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.scr-longform__title {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; margin: 28px 0 26px;
}
.scr-longform__body {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #fff;
  white-space: pre-wrap;
}
.scr-longform__body strong { font-weight: 700; color: #fff; }
