/* =====================================================================
   HR WERKER – Design System
   Colors: Brand-Rot #D34A33 | Dark Slate #1E2D3E | White #FFFFFF
   Fonts:  Nunito (headings) | Montserrat (body)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Montserrat:wght@400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────────────── */
:root {
  /* ── Brand colours (exact CI) ── */
  --brand: #E94F37;
  /* Orange – Hauptfarbe */
  --brand-dark: #C83D27;
  /* Orange dunkel (Hover) */
  --brand-light: rgba(233, 79, 55, .09);
  --peach: #FFA399;
  /* Peach – Akzent */
  --dark: #233144;
  /* Navy – dunkle Flächen */
  --dark-mid: #2d3e54;
  --blue: #465470;
  /* Sekundär – Blue */
  --blue-light: #99ADC6;
  /* Sekundär – Light Blue */
  --white: #FFFFFF;
  --off-white: #F7F6F4;
  --text: #233144;
  --muted: #6B7A8D;

  --font-head: 'Nunito', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --max-w: 1200px;
  --pad-x: 24px;
  --sec-pad: 96px 0;
  --r: 12px;
  --r-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(30, 45, 62, .07);
  --shadow: 0 4px 24px rgba(30, 45, 62, .11);
  --shadow-lg: 0 12px 48px rgba(30, 45, 62, .16);
  --t: .3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ── Typography ─────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

p {
  font-size: .9875rem;
  line-height: 1.75;
  color: var(--muted);
}

.lead {
  font-size: 1.075rem;
}

/* ── Layout ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--sec-pad);
}

.section--dark {
  background: var(--dark);
}

.section--light {
  background: var(--off-white);
}

.section--brand {
  background: var(--brand);
}

.centered {
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Section header ────────────────────────────────────────── */
.sec-header {
  margin-bottom: 56px;
}

.sec-header.centered {
  text-align: center;
}

.sec-header h2 {
  margin-bottom: 14px;
}

.sec-header p {
  max-width: 560px;
}

.sec-header.centered p {
  margin: 0 auto;
}

.overline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .775rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: 10px;
}

.section--dark .overline,
.section--brand .overline {
  color: rgba(255, 255, 255, .65);
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 74, 51, .3);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .75);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: var(--dark-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-lg {
  padding: 17px 36px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── NAVBAR ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding: 20px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}

.navbar.scrolled {
  background: var(--dark);
  padding: 16px 0;
  /* Slightly more padding so the larger logo isn't compressed */
  box-shadow: 0 4px 32px rgba(0, 0, 0, .22);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 64px;
  /* Significantly increased logo size so 'Werker' is readable */
  width: auto;
  transition: opacity var(--t);
  display: block;
}

.nav-logo-dark {
  display: none;
}

.navbar.scrolled .nav-logo-light {
  display: none;
}

.navbar.scrolled .nav-logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--t);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
}

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 170px;
  /* Increased bottom padding to fit 'Scrollen' indicator */
  background: var(--brand);
  /* Pure brand color, no gradient */
  position: relative;
  overflow: hidden;
}

/* Bottom wave/diagonal into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  /* Matching page-hero */
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
  max-width: 860px;
  /* Wider for new copy */
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px;
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(1.4);
  }
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  /* Slightly lighter weight */
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  /* Smaller font size */
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}

.hero h1 em {
  font-style: normal;
  display: inline-block;
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, .38);
  border-radius: 2px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .9);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .55);
  font-size: .75rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, .3);
  animation: scrollLine 2.2s ease infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  50.01% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ── SUBPAGE HERO ───────────────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 100px;
  background: var(--brand);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 60%, rgba(255, 255, 255, .07) 0%, transparent 55%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, .83);
  font-size: 1.075rem;
  max-width: 520px;
}

.page-hero--dark {
  background: var(--dark);
}

.page-hero--light::after {
  background: var(--off-white);
}

.pain-card {
  text-align: center;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--r-lg);
}

.pain-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 16px;
  transition: var(--t);
}

.card {
  border: 1px solid rgba(30, 45, 62, .07);
  background: var(--white);
  border-radius: var(--r-lg);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(211, 74, 51, .14);
}

.card:hover .pain-icon {
  background: var(--brand);
}

.pain-card h3 {
  margin-bottom: 10px;
}

/* ── ABOUT ─────────────────────────────────────────────────────────── */
.about-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.about-deco-1 {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .12;
  pointer-events: none;
}

.about-deco-2 {
  position: absolute;
  bottom: 24px;
  left: -12px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--dark);
  opacity: .1;
  transform: rotate(16deg);
  pointer-events: none;
}

.about-text .overline {
  margin-bottom: 12px;
}

.about-text h2 {
  margin-bottom: 18px;
}

.about-text p {
  margin-bottom: 14px;
}

.about-text .btn {
  margin-top: 10px;
}

/* ── SERVICE CARDS (Homepage teaser) ────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid rgba(30, 45, 62, .08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--t);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.375rem;
  transition: var(--t);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  background: var(--brand);
  color: var(--white);
}

.service-card h3 {
  margin: 0;
}

.service-card p {
  flex: 1;
  font-size: .9375rem;
}

.service-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .875rem;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--t);
}

.service-link:hover {
  gap: 8px;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ── TRUST BAR ──────────────────────────────────────────────────────── */
.trust-section {
  padding: 64px 0;
  background: var(--dark);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 56px;
  position: relative;
}

.trust-item+.trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  width: 1px;
  background: rgba(255, 255, 255, .14);
}

.trust-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.trust-label {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ── CTA BANNER ─────────────────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  background: var(--brand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, .07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(30, 45, 62, .18) 0%, transparent 55%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  max-width: 580px;
  margin: 0 auto 14px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.cta-section p {
  color: rgba(255, 255, 255, .82);
  max-width: 460px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  margin-bottom: 32px;
}

.footer-logo {
  width: 130px;
  /* Scales safely from width without clipping */
  height: auto;
  margin-bottom: 24px;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  transition: var(--t);
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
  transition: var(--t);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, .75);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .65);
  font-size: 1.05rem;
  transition: var(--t);
}

.social-link:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── LEISTUNGEN PAGE ────────────────────────────────────────────────── */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.service-block {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px;
  border: 1px solid rgba(30, 45, 62, .08);
  display: flex;
  gap: 24px;
  transition: var(--t);
}

.service-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(233, 79, 55, .2);
}

.service-block-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: var(--t);
}

.service-block:hover .service-block-icon {
  background: var(--brand);
  color: var(--white);
}

.service-block-content h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.service-block-content p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.service-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  color: var(--text);
}

.service-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ── TEAM PAGE ──────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px;
  max-width: 920px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 45, 62, .06);
  transition: var(--t);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 100%;
  height: 380px;
  /* Increased height */
  object-fit: cover;
  object-position: center 15%;
  /* Focus slightly higher to avoid cutting off the top of the head */
}

.team-placeholder {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 5rem;
  color: rgba(255, 255, 255, .28);
}

.team-info {
  padding: 32px;
}

.team-info h3 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.team-role {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 14px;
  display: block;
}

.team-info p {
  font-size: .9375rem;
  line-height: 1.72;
  margin-bottom: 22px;
}

.team-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag {
  background: var(--off-white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue);
  transition: var(--t);
}

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

.mission-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.mission-wrap h2 {
  margin-bottom: 24px;
}

.mission-text {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 20px;
}

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */

.kontakt-section {
  padding-top: 40px;
}

.kontakt-grid {
  display: block;
  /* Changed from grid since we only have the form now */
  margin: 0 auto;
  max-width: 680px;
  /* Limit width and center */
}

/* Informational Left Column (Currently Removed) */
.kontakt-info {
  display: none;
  /* Hide if ever added back, or just style as normal */
}

.kontakt-info h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.kontakt-info>p {
  margin-bottom: 32px;
}

.k-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(30, 45, 62, .06);
}

.k-detail:first-of-type {
  border-top: 1px solid rgba(30, 45, 62, .06);
}

.k-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.k-text strong {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
  font-family: var(--font-body);
}

.k-text a,
.k-text span {
  color: var(--muted);
  font-size: .9375rem;
  transition: var(--t);
}

.k-text a:hover {
  color: var(--brand);
}

.form-wrap {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 40px;
}

.form-wrap h3 {
  margin-bottom: 26px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(30, 45, 62, .15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: var(--t);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(211, 74, 51, .1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  margin-top: 6px;
}

.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  margin-top: 12px;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

/* ── LEGAL ──────────────────────────────────────────────────────────── */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 96px var(--pad-x);
}

.legal-wrap h2 {
  margin: 40px 0 10px;
  font-size: 1.3rem;
}

.legal-wrap h3 {
  margin: 28px 0 8px;
  font-size: 1.05rem;
}

.legal-wrap p {
  margin-bottom: 12px;
  color: var(--text);
}

.legal-wrap a {
  color: var(--brand);
}

.legal-wrap a:hover {
  text-decoration: underline;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  :root {
    --sec-pad: 64px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 12px;
    gap: 2px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero::after {
    height: 44px;
  }

  .hero-scroll {
    display: none;
  }

  .trust-item+.trust-item::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-wrap {
    padding: 24px;
  }

  .service-block {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .trust-item {
    padding: 20px 28px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ── COOKIE BANNER ─────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 400px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 16px 48px rgba(30, 45, 62, .15);
  padding: 24px;
  z-index: 9999;
  border: 1px solid rgba(30, 45, 62, .08);
  font-family: var(--font-body);
}

.cookie-content h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.cookie-content p {
  font-size: .875rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 12px;
}

.cookie-links {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.cookie-links a {
  font-size: .8125rem;
  color: var(--brand);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-actions .btn {
  width: 100%;
  padding: 10px;
  font-size: .9rem;
  justify-content: center;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}