/* 3C-Design – Stylesheet */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-regular.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-700.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/roboto-700italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/roboto-900.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 900; font-display: swap; src: url("../fonts/roboto-900italic.woff2") format("woff2"); }

:root {
  --accent: #f3615a;
  --accent-dark: #c64e4b;
  --heading: #333333;
  --text: #85868c;
  --light-bg: #f7f7f7;
  --dark: #111111;
  --grad-from: #260633;
  --grad-to: #ec615d;
  --header-h: 70px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
p { margin: 0 0 16px; }
strong { font-weight: 700; }
h1, h2, h3 { color: var(--heading); font-weight: 700; margin: 0; }

.icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: middle; }

.container { width: 100%; max-width: calc(var(--container) + 100px); margin: 0 auto; padding: 0 50px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: var(--heading); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

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

/* ---------- Überschrift mit Trenner ---------- */

.section-title { text-align: center; }
.section-title h1, .section-title h2 { font-size: 42px; line-height: 52px; }
.divider { display: flex; align-items: center; justify-content: center; gap: 6px; height: 18px; margin: 4px 0 60px; color: var(--accent); }
.divider::before, .divider::after { content: ""; width: 42px; height: 2px; background: currentColor; }
.divider .icon { width: 12px; height: 12px; }
.divider--40 { margin-bottom: 40px; }
.divider--30 { margin-bottom: 30px; }
.divider--50 { margin-bottom: 50px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 750px;
  max-height: 100vh;
  overflow: hidden;
  background: #000 url("../img/hero-poster.jpg") center / cover no-repeat;
  color: #fff;
}
.hero__video {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__video.is-playing { opacity: 1; }
.hero__video iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  width: 100vw; height: 56.25vw;            /* 16:9 */
  min-height: 100%; min-width: 177.78vh;    /* deckt die Fläche immer ab */
  transform: translate(-50%, -50%);
}
.hero__overlay {
  position: absolute; inset: 0; opacity: .8;
  background: linear-gradient(#1a0021 0%, #1a0021 5%, #260633 40%, #932f45 76%, #ec615d 94%, #ec615d 100%);
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 20px var(--header-h);
  text-align: center;
}
.hero__logo { width: 500px; max-width: 80vw; margin: 0 0 22px 48px; opacity: 0; transform: translateY(-50px); animation: heroIn .9s ease-out 1.5s forwards; }
.hero__claim {
  margin: 0; font-size: 34px; line-height: 40px; font-weight: 900; font-style: italic; color: var(--accent);
  opacity: 0; transform: translateY(50px); animation: heroIn .9s ease-out 1.5s forwards;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: calc(var(--header-h) + 20px);
  width: 80px; height: 106px; margin-left: -40px; padding: 0; border: 0; background: none; cursor: pointer;
}
.hero__scroll img { position: absolute; left: 0; width: 80px; height: 80px; opacity: 0; animation: arrowIn .9s ease-out 2.4s forwards, arrowBob 1.2s ease-in-out 3.3s infinite alternate; }
.hero__scroll img:nth-child(1) { top: 0;    --o: .12; }
.hero__scroll img:nth-child(2) { top: 13px; --o: .25; }
.hero__scroll img:nth-child(3) { top: 26px; --o: .5; }

@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes arrowIn { to { opacity: var(--o); } }
@keyframes arrowBob { from { transform: translateY(0); opacity: var(--o); } to { transform: translateY(-10px); opacity: var(--o); } }

@media (prefers-reduced-motion: reduce) {
  .hero__logo, .hero__claim { animation: none; opacity: 1; transform: none; }
  .hero__scroll img { animation: none; opacity: var(--o); }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  margin-top: calc(var(--header-h) * -1);
  background: rgba(0, 0, 0, .3);
  transition: background-color .3s;
}
.site-header.is-stuck, .menu-open .site-header { background: rgba(0, 0, 0, .91); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.site-header__logo img { width: 300px; height: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main-nav li { margin: 0 14px; }
.main-nav a { position: relative; display: block; padding: 4px; font-size: 18px; line-height: 22px; font-weight: 700; color: #fff; }
.main-nav a:hover { color: #fff; }
.main-nav a:not(.lang)::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: -6px; height: 2px; border-radius: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .25s;
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav .lang { padding: 4px 0; }
.main-nav .lang img { width: 18px; height: 12px; }
.main-nav li.lang-item { margin: 0 9px; }

.header-mail {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent);
  transition: background-color .2s, color .2s;
}
.header-mail .icon { width: 12px; height: 12px; }
.header-mail:hover { background: var(--accent); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: var(--accent); color: #fff; cursor: pointer; border-radius: 1px; }
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }

/* ---------- Seitentitel (Unterseiten) ---------- */

.page-title {
  margin-top: 0;
  padding: calc(var(--header-h) + 90px) 20px 90px;
  background: linear-gradient(to right, var(--grad-from) 0%, var(--grad-to) 100%);
  text-align: center;
}
.page-title h1 { color: #fff; font-size: 42px; line-height: 52px; }
.breadcrumbs { margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 24px; font-style: italic; color: var(--accent); }
.breadcrumbs li { display: inline; }
.breadcrumbs li + li::before { content: "/"; margin: 0 6px; color: rgba(255, 255, 255, .5); }
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: var(--accent); }

.page-body .site-header { margin-top: 0; position: fixed; left: 0; right: 0; }
.page-body .page-title { padding-top: calc(var(--header-h) + 90px); }

.legal { padding: 70px 0 80px; }
.legal .container { max-width: 1230px; }
.legal p { margin-bottom: 16px; }
.legal-empty { color: var(--text); font-style: italic; }

/* ---------- Über uns ---------- */

.about { padding: 80px 0 100px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding-bottom: 20px; }
.about__text { padding-bottom: 50px; }
.about__text h2 { font-size: 26px; line-height: 36px; margin-bottom: 20px; }
.about__text p { line-height: 26px; }
.about__video { padding-bottom: 50px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.btn {
  display: inline-block; min-width: 180px; padding: 8px 14px 7px; border: 0; border-radius: 1px;
  background: var(--accent); color: #fff; font: 700 13px/15px "Roboto", Helvetica, Arial, sans-serif; text-transform: uppercase; text-align: center;
  cursor: pointer; transition: background-color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); color: #fff; }
.btn--m { min-width: 0; padding: 12px 18px; font-size: 15px; line-height: 17px; }
.about .btn { margin-top: 4px; }

/* Info-Boxen */
.info-box { display: flex; gap: 20px; align-items: flex-start; }
.info-box__icon {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border: 3px solid var(--accent); color: var(--accent);
}
.info-box__icon .icon { width: 28px; height: 28px; }
.info-box h3 { font-size: 20px; line-height: 30px; margin: 0 0 10px; }
.info-box p { margin: 0; }

/* Slider mit Leistungen */
.features { position: relative; padding: 0 0 40px; }
.features__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 100px) / 3); gap: 50px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.features__track::-webkit-scrollbar { display: none; }
.features__track > .info-box { scroll-snap-align: start; }
.features__nav { position: absolute; top: 30px; width: 36px; height: 36px; margin-top: -18px; border: 0; background: none; color: #ccc; cursor: pointer; font-size: 28px; line-height: 36px; transition: color .2s; }
.features__nav:hover { color: var(--accent); }
.features__nav--prev { left: -60px; }
.features__nav--next { right: -60px; }
.features__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.features__dots { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.features__dots button { width: 10px; height: 10px; padding: 0; border: 2px solid #ccc; border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .2s, background-color .2s; }
.features__dots button.is-active { border-color: var(--accent); background: var(--accent); }

/* ---------- Warum 3C-Design ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__media { background-position: center; background-size: cover; background-repeat: no-repeat; min-height: 300px; }

.why { background: var(--light-bg); }
.why__content { padding: 80px 20px 60px; }
.why__inner { max-width: 66.666%; margin-left: 16.666%; }
.why__intro { text-align: center; padding-bottom: 35px; }
.why .info-box + .info-box { margin-top: 30px; }
.why__media { background-image: url("../img/warum-3c-design.jpg"); }

/* ---------- Verlaufsflächen ---------- */

.gradient { background: linear-gradient(to right, var(--grad-from) 0%, var(--grad-to) 100%); }

.cta { padding: 60px 20px 80px; text-align: center; }
.cta h2 { color: var(--accent); font-size: 26px; line-height: 36px; }
.cta__lead { max-width: 1000px; margin: 0 auto 40px; color: #fff; font-size: 42px; line-height: 52px; font-weight: 700; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  width: 500px; max-width: 100%; min-height: 70px; padding: 10px 30px;
  border: 3px solid var(--accent); color: var(--accent); background: transparent;
  font-size: 26px; line-height: 26px; font-weight: 700; transition: background-color .25s, color .25s;
}
.btn-outline:hover, .btn-outline:focus-visible { background: #fff; color: var(--accent); }

/* ---------- Kunden ---------- */

.clients__media { background-image: url("../img/kunden.jpg"); }
.clients__content { padding: 80px 0; background: #fff; }
.clients__head { padding: 0 20px 70px; }
.clients__head .divider { margin-bottom: 0; }

/* ---------- Telefon-Leiste ---------- */

.phone-bar { padding: 40px 20px 50px; }
.phone-bar__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; max-width: var(--container); margin: 0 auto; }
.phone-bar h2 { text-align: right; color: var(--accent); font-size: 26px; line-height: 36px; padding-top: 10px; }
.phone-bar__number { display: inline-flex; align-items: center; gap: 20px; color: #fff; font-size: 48px; line-height: 58px; font-weight: 700; }
.phone-bar__number:hover { color: #fff; }
.phone-bar__number .icon { width: 52px; height: 52px; }

/* ---------- Kontakt ---------- */

.contact { background: var(--light-bg); padding: 40px 0 60px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact .section-title { padding-top: 50px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin-bottom: 30px; }
.contact-list .info-box { align-items: center; }
.contact-list h3 { margin: 0; }
.contact-list a { color: var(--heading); }
.contact-list a:hover { color: var(--accent); }
.contact__intro { text-align: center; padding-bottom: 30px; }

.form { position: relative; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
.form label.field { display: block; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; height: 40px; padding: 5px 15px; border: 1px solid rgba(51, 51, 51, .1); border-radius: 1px;
  background: #fdfdfd; color: #8b8d94; font: 14px/24px "Roboto", Helvetica, Arial, sans-serif;
  transition: border-color .2s;
}
.form textarea { height: 112px; resize: vertical; padding-top: 8px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form ::placeholder { color: #b2b3b8; opacity: 1; }
.form .is-invalid { border-color: var(--accent) !important; }
.form__terms { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 20px; font-size: 12px; line-height: 22px; }
.form__terms input { margin: 5px 0 0; accent-color: var(--accent); }
.form__terms.is-invalid { color: var(--accent); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { display: none; margin-top: 20px; padding: 14px 18px; font-size: 14px; line-height: 22px; color: #fff; background: var(--accent); }
.form__status.is-visible { display: block; }
.form__status.is-success { background: #3d9a5c; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: #fff; font-size: 13px; line-height: 23px; }
.site-footer__inner { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.site-footer__logo img { width: 300px; }
.site-footer__right { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 25px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.footer-menu a { color: #fff; }
.footer-menu a:hover, .footer-menu a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__contact a { color: #fff; }
.site-footer__contact a:hover { color: var(--accent); }
.site-footer__contact { margin: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer__contact span span { color: var(--accent); }

.to-top {
  position: fixed; right: 10px; bottom: 10px; z-index: 90; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .3); color: #fff; border-radius: 2px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent); color: #fff; }
.to-top .icon { width: 14px; height: 14px; }

/* ---------- Responsive ---------- */

@media (max-width: 1400px) {
  .features { padding-left: 50px; padding-right: 50px; }
  .features__nav--prev { left: 0; }
  .features__nav--next { right: 0; }
}

@media (max-width: 1200px) {
  .main-nav li { margin: 0 9px; }
  .main-nav a { font-size: 16px; }
  .site-header__logo img { width: 220px; }
  .phone-bar__number { font-size: 42px; line-height: 52px; }
}

@media (max-width: 990px) {
  .container { padding: 0 30px; }
  .features__track { grid-auto-columns: calc((100% - 50px) / 2); }
  .why__inner { max-width: none; margin: 0 auto; max-width: 640px; }
  .site-footer__inner { flex-direction: column; justify-content: center; text-align: center; padding: 20px 0; }
  .site-footer__right { justify-content: center; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .site-header { background: var(--dark); }
  .site-header__logo img { width: 170px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-mail { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 110;
    width: min(330px, 85vw); padding: 45px 15px 30px 30px; background: #fff; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
  }
  .menu-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav li, .main-nav li.lang-item { margin: 0; border-bottom: 1px solid rgba(51, 51, 51, .12); }
  .main-nav a { padding: 14px 0; font-size: 16px; color: #333; }
  .main-nav a:hover, .main-nav a.is-active { color: var(--accent); }
  .main-nav a::after { display: none; }
  .main-nav .lang { display: flex; align-items: center; gap: 10px; padding: 14px 0; }
  .main-nav .lang::after { content: attr(data-label); position: static; display: inline; background: none; transform: none; height: auto; }
  .nav-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: none; color: #333; cursor: pointer; }
  .nav-close .icon { width: 20px; height: 20px; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 105; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .menu-open .nav-backdrop { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { z-index: 120; }

  .hero { height: 100vh; height: 100svh; max-height: 850px; }
  .hero__content { padding-bottom: 0; }
  .hero__logo { width: 410px; margin-left: 32px; }
  .hero__claim { font-size: 26px; line-height: 32px; }
  .hero__scroll { bottom: 30px; }
  .site-header { margin-top: 0; }

  .about__grid, .contact__grid, .split, .phone-bar__inner { grid-template-columns: 1fr; }
  .about__grid { gap: 0; }
  .split__media { min-height: 360px; }
  .why__media { order: 2; }
  .clients__media { display: none; }
  .phone-bar h2 { display: none; }
  .phone-bar__inner { justify-items: center; }
  .contact__grid { gap: 10px; }
}

@media (min-width: 861px) {
  .nav-close, .nav-backdrop { display: none; }
}

@media (max-width: 778px) {
  .section-title h1, .section-title h2, .page-title h1 { font-size: 34px; line-height: 44px; }
  .cta__lead { font-size: 34px; line-height: 44px; }
  .btn-outline { font-size: 20px; line-height: 30px; }
  .phone-bar__number { font-size: 32px; line-height: 42px; gap: 14px; }
  .phone-bar__number .icon { width: 40px; height: 40px; }
  .features { padding-left: 0; padding-right: 0; }
  .features__nav { display: none; }
  .features__track { grid-auto-columns: 100%; }
  .page-title { padding-bottom: 60px; padding-top: calc(var(--header-h) + 60px); }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero__logo { width: 300px; margin-left: 20px; }
  .hero__claim { font-size: 20px; line-height: 26px; }
  .about { padding: 60px 0 70px; }
  .why__content { padding: 60px 20px 40px; }
  .cta__lead { font-size: 26px; line-height: 36px; }
  .info-box { gap: 16px; }
  .contact-list h3 { font-size: 16px; line-height: 24px; word-break: break-word; }
  .site-footer__logo img { width: 220px; }
  .footer-menu { flex-wrap: wrap; justify-content: center; }
  .site-footer__right { flex-direction: column; }
  .site-footer__contact { flex-direction: column; align-items: center; }
  .site-footer__inner { padding: 30px 0; }
}
