/* ==========================================================================
   medienwerk.at — Design-System
   Ein einziges Stylesheet für die gesamte statische Website.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  --ink: #202326;
  --text: #3f4549;
  --muted: #687177;
  --brand-red: #e30613;
  --brand-red-dark: #b5000d;
  --brand-gray: #8e959a;
  --bg: #f5f6f6;
  --surface: #ffffff;
  --line: rgba(32, 35, 38, .11);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 16px 45px rgba(32, 35, 38, .08);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .16);
  --font: "Montserrat", Arial, sans-serif;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  letter-spacing: -.01em;
  line-height: 1.6;
}

img, video { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
}

h1 { font-size: clamp(42px, 6vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(24px, 3vw, 34px); }
h4 { font-size: clamp(20px, 2.4vw, 26px); }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-red); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--brand-red-dark); }

::selection { background: rgba(227, 6, 19, .2); }

:focus-visible { outline: 3px solid rgba(227, 6, 19, .45); outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

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

.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.section { padding-block: 72px; }

.section-tight { padding-block: 48px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-gray);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.center { text-align: center; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  min-height: var(--header-h);
  margin-inline: auto;
}

.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand { margin: 0; }
.brand img { display: block; height: 48px; width: auto; object-fit: contain; }

.site-nav { margin-left: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.site-nav a:hover, .site-nav a:focus { color: var(--brand-red); background: rgba(227, 6, 19, .07); }
.site-nav a[aria-current="page"] { color: var(--brand-red); background: rgba(227, 6, 19, .1); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-inner { width: calc(100% - 32px); }
  .brand img { height: 42px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .08);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; }
  .site-nav a { display: block; padding: 13px 16px; border-radius: 12px; }
}

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

.btn {
  display: inline-block;
  padding: 13px 23px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.btn:hover, .btn:focus {
  background: var(--brand-red-dark);
  box-shadow: 0 8px 22px rgba(227, 6, 19, .25);
  color: #fff;
  transform: translateY(-1px);
}

.text-link { color: var(--ink); font-weight: 600; }
.text-link:hover { color: var(--brand-red); }

/* ==========================================================================
   Hero (Unterseiten)
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 420px;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 64px;
  background-color: #111;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .65));
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 74px);
  letter-spacing: -.055em;
  line-height: .98;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .2);
}

.hero .lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .85);
  font-size: clamp(17px, 2vw, 21px);
}

@media (max-width: 767px) {
  .hero { min-height: 340px; padding-top: calc(var(--header-h) + 48px); }
}

/* ==========================================================================
   Startseite
   ========================================================================== */

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6vw;
  align-items: center;
  max-width: 1180px;
  min-height: 680px;
  margin-inline: auto;
  padding: 132px 32px 96px;
}

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

.home-hero h1 {
  max-width: 100%;
  margin: 0 0 30px;
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: -.085em;
  line-height: .88;
}
.home-hero h1 em { color: var(--brand-red); font-style: normal; }
.home-hero h1 span { white-space: nowrap; }

.home-hero-copy > p:not(.eyebrow) {
  max-width: 460px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.4;
}

.home-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 32px; }

.home-hero-image {
  position: relative;
  height: min(66vw, 610px);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(2deg);
}
.home-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.floating-pill {
  position: absolute;
  z-index: 2;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.floating-pill.top { right: 26px; top: 28px; }
.floating-pill.bottom { left: 26px; bottom: 30px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.5fr;
  gap: 28px;
  align-items: center;
  max-width: 1116px;
  margin-inline: auto;
  padding-block: 28px;
  border-block: 1px solid var(--line);
}
.metrics div { display: flex; align-items: center; gap: 12px; }
.metrics strong { color: var(--brand-red); font-size: 25px; letter-spacing: -.06em; }
.metrics span, .metrics p { color: var(--muted); font-size: 14px; }
.metrics p { margin: 0; line-height: 1.35; }

.home-intro {
  max-width: 850px;
  margin-inline: auto;
  padding: 125px 32px 100px;
  text-align: center;
}
.home-intro h2 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -.075em; line-height: .95; }
.home-intro h2 em, .home-statement h2 em, .home-cta h2 em { color: var(--brand-red); font-style: normal; }
.home-intro > p:last-child { max-width: 650px; margin-inline: auto; color: var(--muted); font-size: 21px; }

.home-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 0 32px 130px;
}

.home-service {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease, transform .25s ease;
}
.home-service:first-child { border-radius: 24px 0 0 24px; }
.home-service:last-child { border-radius: 0 24px 24px 0; }
.home-service:hover, .home-service:focus {
  background: var(--surface);
  border-color: var(--brand-red);
  box-shadow: 0 12px 28px rgba(227, 6, 19, .12);
  color: var(--ink);
  transform: translateY(-3px);
}
.home-service span { color: var(--brand-gray); font-size: 13px; font-weight: 700; }
.home-service:hover span, .home-service:focus span { color: var(--brand-red); }
.home-service h3 { flex: 1; margin: auto 0 10px; font-size: 30px; }
.home-service p { margin: 0; color: var(--muted); }
.home-service b { margin-top: 26px; font-size: 27px; font-weight: inherit; }

.home-statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12vw;
  align-items: end;
  max-width: 1180px;
  margin-inline: auto;
  padding: 100px 64px;
  background: var(--surface);
}
.home-statement h2 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -.075em; line-height: .95; }
.home-statement > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 20px; }

.home-cta {
  max-width: 1050px;
  margin: 80px auto 100px;
  padding: 80px 64px;
  border-radius: 32px;
  background: var(--ink);
  color: #fff;
}
.home-cta h2 { color: #fff; font-size: clamp(42px, 6vw, 80px); letter-spacing: -.075em; line-height: .95; }
.home-cta .eyebrow { color: var(--brand-gray); }

@media (max-width: 1024px) {
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metrics p { grid-column: 1 / -1; }
}

@media (max-width: 1100px) and (min-width: 768px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-image { width: min(100%, 680px); margin-inline: auto; }
}

@media (max-width: 767px) {
  .home-hero { display: flex; flex-direction: column; gap: 42px; min-height: 0; padding: 112px 20px 70px; }
  .home-hero h1 { font-size: clamp(42px, 13vw, 72px); }
  .home-hero-copy > p:not(.eyebrow), .home-intro > p:last-child { font-size: 18px; }
  .home-hero-image { width: 100%; height: 105vw; max-height: 500px; transform: rotate(1deg); }
  .floating-pill { font-size: 11px; padding: 9px 12px; }
  .floating-pill.top { right: 14px; top: 18px; }
  .floating-pill.bottom { left: 14px; bottom: 18px; }
  .metrics { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-inline: 20px; padding-block: 24px; }
  .metrics div { width: 100%; }
  .home-intro { padding: 80px 20px 65px; }
  .home-services { grid-template-columns: 1fr; padding: 0 20px 80px; }
  .home-service:first-child { border-radius: 24px 24px 0 0; }
  .home-service:last-child { border-radius: 0 0 24px 24px; }
  .home-statement { display: block; padding: 70px 24px; }
  .home-statement > p { margin-top: 30px; font-size: 18px; }
  .home-cta { margin: 40px 20px 60px; padding: 52px 26px; border-radius: 24px; }
}

/* ==========================================================================
   Inhalt (Prose)
   ========================================================================== */

.page-body { padding-block: 72px 96px; }

.prose { max-width: 920px; margin-inline: auto; padding: clamp(28px, 5vw, 64px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.prose-wide { max-width: 1080px; }

.prose h2 { margin-top: 1.8em; font-size: clamp(28px, 3.4vw, 40px); }
.prose h3 { margin-top: 1.6em; font-size: clamp(23px, 2.6vw, 30px); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }

.intro-copy { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.intro-copy h2 { font-size: clamp(36px, 5vw, 64px); }
.intro-copy p:last-child { color: var(--muted); font-size: 20px; }

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 24px;
}
.copy-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.copy-card h3 { margin: 0 0 10px; font-size: 23px; }
.copy-card p { margin: 0; color: var(--muted); }

.feature-card {
  max-width: 900px;
  margin: 42px auto 0;
  padding: 38px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}
.feature-card h3 { margin: 0 0 12px; color: #fff; font-size: 30px; }
.feature-card p { margin: 0 0 24px; color: #d2d2d7; }
.feature-card .btn { display: inline-block; }

@media (max-width: 767px) {
  .page-body { padding-block: 48px 64px; }
  .prose { padding: 28px 22px; }
  .copy-grid { grid-template-columns: 1fr; }
  .intro-copy p:last-child { font-size: 17px; }
  .copy-card, .feature-card { padding: 24px; }
}

/* ==========================================================================
   Videokarte (mit Ecktext)
   ========================================================================== */

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 1120px;
  margin: 0 auto 64px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #111;
  isolation: isolate;
}
.video-card video { display: block; width: 100%; height: 100%; object-fit: cover; }

.video-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(22px, 5vw, 52px);
  background: linear-gradient(120deg, rgba(0, 0, 0, .64), transparent 70%);
  color: #fff;
  pointer-events: none;
}
.video-card-overlay span { font-size: 13px; font-weight: 600; letter-spacing: .08em; opacity: .78; text-transform: uppercase; }
.video-card-overlay h1 { margin: 8px 0 0; color: #fff; font-size: clamp(26px, 4vw, 48px); letter-spacing: -.05em; line-height: 1; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.video-card-overlay p { margin: 12px 0 0; color: rgba(255, 255, 255, .88); font-size: clamp(16px, 2vw, 20px); }

/* ==========================================================================
   Leistungs-Karten
   ========================================================================== */

.services-intro { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.services-intro h1 { font-size: clamp(46px, 8vw, 92px); letter-spacing: -.075em; line-height: .92; }
.services-intro h1 em { color: var(--brand-red); font-style: normal; }
.services-intro > p:last-child { max-width: 580px; margin-inline: auto; color: var(--muted); font-size: 20px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 28px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .045);
  color: var(--ink);
  transition: box-shadow .25s ease, transform .25s ease;
}
.service-card:hover, .service-card:focus { box-shadow: 0 20px 48px rgba(0, 0, 0, .12); color: var(--ink); transform: translateY(-5px); }
.service-card img {
  display: block;
  width: calc(100% + 56px);
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: 0 -28px 24px;
  border-radius: 0;
  object-fit: cover;
}
.service-card span { color: var(--brand-gray); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.service-card h2 { margin: 8px 0; font-size: 28px; }
.service-card p { flex: 1; margin: 0 0 22px; color: var(--muted); }
.service-card b { color: var(--brand-red); font-size: 15px; font-weight: inherit; }

.services-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  max-width: 1120px;
  margin: 24px auto 0;
  padding: 30px 34px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}
.services-cta p { margin: 0; color: #fff; font-size: 20px; }
.services-cta .btn { white-space: nowrap; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .service-grid { max-width: none; }
  .services-intro { margin-bottom: 40px; }
  .services-intro > p:last-child { font-size: 17px; }
  .service-card { padding: 0 22px 24px; }
  .service-card img { width: calc(100% + 44px); margin: 0 -22px 24px; }
  .service-card h2 { font-size: 25px; }
  .services-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

h2#team { margin-top: 72px; }

.team-member {
  padding: 28px 24px;
  border-top: 4px solid var(--brand-red);
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  text-align: center;
}

.team-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
}

.team-name { margin: 0 0 2px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.team-role { margin: 0 0 14px; color: var(--muted); font-size: 14px; }

.team-links { display: flex; justify-content: center; gap: 10px; }
.team-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
}
.team-links a:hover { background: var(--brand-red); color: #fff; }
.team-links svg { width: 17px; height: 17px; fill: currentColor; }

/* ==========================================================================
   Referenz-Logos
   ========================================================================== */

.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ref-grid figure {
  display: flex;
  align-items: center;
  min-height: 190px;
  margin: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 21, 34, .05);
  transition: box-shadow .25s ease, transform .25s ease;
}
.ref-grid figure:hover { box-shadow: 0 16px 34px rgba(16, 21, 34, .12); transform: translateY(-3px); }
.ref-grid img { width: 100%; height: 150px; border-radius: 10px; object-fit: contain; }

@media (max-width: 1024px) { .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ref-grid { grid-template-columns: 1fr; } .ref-grid img { height: 120px; } }

/* ==========================================================================
   Galerie
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-grid a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(16, 21, 34, .06);
  transition: box-shadow .25s ease, transform .25s ease;
}
.gallery-grid a:hover, .gallery-grid a:focus { box-shadow: 0 16px 34px rgba(16, 21, 34, .14); transform: translateY(-3px); }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
}
.pagination a, .pagination span {
  min-width: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}
.pagination span { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.pagination a:hover { border-color: var(--brand-red); color: var(--brand-red); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 12, 18, .92);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 48px); border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   Formulare & Kontakt
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: start;
}

.contact-info h2 { margin-top: 0; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; }
.contact-list li { margin-bottom: 12px; }
.contact-list a { font-weight: 600; }
.contact-label { display: block; color: var(--muted); font-size: 14px; }

.form-card {
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 20px; }

label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 15px; font-weight: 600; }

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-red);
  outline: 3px solid rgba(227, 6, 19, .14);
}

.form-note { color: var(--muted); font-size: 13px; margin: 0 0 20px; }

.hp-field { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; }

@media (max-width: 767px) {
  h2#team { margin-top: 48px; }
  .contact-layout { grid-template-columns: 1fr; }
}

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

.site-footer {
  padding: 55px 0 35px;
  background: var(--ink);
  color: var(--brand-gray);
}

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

.footer-menu { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-menu a { display: inline-block; padding: 6px 12px; border-radius: 999px; color: #d2d2d7; font-size: 14px; }
.footer-menu a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.footer-meta { font-size: 14px; }

/* ==========================================================================
   WhatsApp-Button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .4);
  color: #fff;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }
