/*
  IT-360 Clean Relaunch V3 – Hero Gold/Dark Fix
  Ziel: schlicht, modern, technisch, vertrauenswürdig.
  Struktur: Basis -> Komponenten -> Seitenbereiche -> Responsive.
*/

/* =========================
   01. DESIGN TOKENS
========================= */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-dark: #0f1720;
  --text: #17202a;
  --muted: #5f6b7a;
  --line: rgba(23, 32, 42, 0.12);

  --brand: #c9a84f;
  --brand-strong: #d4af37;
  --brand-soft: #f2e6be;

  --blue: #2547ff;
  --dark: #101820;
  --dark-2: #071018;

  --radius: 22px;
  --shadow: 0 24px 60px rgba(16, 24, 32, 0.08);
  --shadow-dark: 0 34px 90px rgba(0, 0, 0, 0.36);

  --container: 1180px;
}

/* =========================
   02. RESET / BASIS
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

/* =========================
   03. TYPOGRAFIE
========================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--brand-strong);
  border-radius: 999px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.45rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 720px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: #4f5b68;
}

/* =========================
   04. BUTTONS
========================= */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  transition: 180ms ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #070b10;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(201, 168, 79, 0.20);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.94);
  color: #071018;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-soft:hover {
  border-color: rgba(201, 168, 79, 0.5);
  color: #000;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--brand);
  color: #111;
}

/* =========================
   05. HEADER – DARK
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 16, 0.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 168, 79, 0.16);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #101820;
  background: linear-gradient(135deg, var(--brand), #f2de98);
  box-shadow: 0 12px 28px rgba(201, 168, 79, 0.28);
}

.logo-text small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

/* =========================
   06. HERO – GOLD IMAGE VERSION
   Bild erwartet: images/hero.webp
========================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 72px 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 6, 12, 0.94) 0%,
      rgba(3, 6, 12, 0.78) 38%,
      rgba(3, 6, 12, 0.34) 72%,
      rgba(3, 6, 12, 0.18) 100%
    ),
    url("../images/hero.webp");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  max-width: 720px;
  color: #ffffff;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
  color: var(--brand-strong);
}

.hero-copy {
  margin: 22px 0 28px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.hero .btn-row {
  margin-top: 4px;
}

/* Service-Leiste direkt im Hero */
.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.strip-item {
  min-height: 92px;
  padding: 15px 12px;
  border-radius: 18px;
  text-align: center;
  font-weight: 850;
  font-size: 0.88rem;
  color: #ffffff;
  background: rgba(6, 11, 18, 0.78);
  border: 1px solid rgba(201, 168, 79, 0.28);
  backdrop-filter: blur(10px);
  transition: 180ms ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.strip-item:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 79, 0.55);
  background: rgba(8, 14, 23, 0.88);
}

.strip-item i {
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  width: 34px;
  height: 34px;
  color: var(--brand-strong);
}

/* Rechtes Visual – weiter nach rechts, damit die Welt sichtbar bleibt */
.hero-panel {
  position: relative;
  min-height: 470px;
  transform: translateX(58px);
}

.browser-card {
  position: absolute;
  inset: 80px -24px auto 60px;
  max-width: 560px;
  background: rgba(8, 17, 26, 0.96);
  color: #dbe6f1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.browser-top {
  height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #9fb0c4;
  font-size: 0.82rem;
}

.browser-dots {
  display: flex;
  gap: 7px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.browser-body {
  padding: 28px;
}

.browser-body .mini-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  margin-bottom: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
}

.metric strong {
  display: block;
  color: var(--brand-strong);
  font-size: 1.35rem;
  line-height: 1;
}

.metric span {
  color: #c5ced8;
  font-size: 0.86rem;
}

.console {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #071018;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9rem;
  color: #9ee5bc;
}

/* Floating Cards im Hero deaktiviert – mit Bild sonst zu voll */
.float-card {
  display: none;
}

/* =========================
   07. ALLGEMEINE CARDS
========================= */

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 14px 40px rgba(16, 24, 32, 0.04);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #f6f0da;
  color: #9b7a1c;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.card.center {
  text-align: center;
}

.card h3,
.card h4 {
  margin-bottom: 10px;
  color: #111820;
}

.card p {
  font-size: 0.96rem;
}

.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  font-weight: 850;
  color: #101820;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.section-head .lead {
  max-width: 560px;
}

.dark-section {
  background: #101820;
  color: #fff;
}

.dark-section p {
  color: #b9c3cf;
}

.dark-section .card {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dark-section .card h3,
.dark-section .card h4 {
  color: #fff;
}

/* =========================
   08. ABOUT
========================= */

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #e9edf2, #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 35px;
  color: #6a7584;
}

.about-fallback strong {
  color: #101820;
  display: block;
  font-size: 1.4rem;
}

.about-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.about-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.about-point i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--brand);
  flex: 0 0 auto;
}

/* =========================
   09. LOGO SLIDER
========================= */

.logo-slider {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 24px 0;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  width: 210px;
  height: 86px;
  margin-right: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 14px;
  font-weight: 900;
  color: #202a36;
}

.logo-item img {
  max-width: 150px;
  max-height: 56px;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================
   10. PROJEKTE
========================= */

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

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 18px 50px rgba(16, 24, 32, 0.06);
}

.tablet {
  border: 10px solid #151d27;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f2f4f7, #fff);
  display: grid;
  place-items: center;
  color: #6a7584;
  text-align: center;
  padding: 20px;
}

.tablet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta {
  padding: 16px 4px 4px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 750;
  color: #596675;
}

/* =========================
   11. GOOGLE BEWERTUNGEN
========================= */

.reviews-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.google-widget-wrapper {
  width: 100%;
  min-height: 180px;
}

.google-widget-wrapper [class*="elfsight"],
.google-widget-wrapper iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  border: 0 !important;
}

/* =========================
   12. KONTAKT
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.form-card,
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(201, 168, 79, 0.7);
  box-shadow: 0 0 0 4px rgba(201, 168, 79, 0.14);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.info-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #415060;
}

.info-row i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--brand);
}

/* =========================
   13. UNTERSEITEN
========================= */

.page-hero {
  padding: 74px 0 42px;
  background: linear-gradient(180deg, #fff, #f6f7f9);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 840px;
}

.page-hero .lead {
  margin-top: 18px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #182231;
  font-weight: 800;
}

/* Shop */
.price {
  font-size: 1.55rem;
  color: #101820;
  font-weight: 950;
  margin: 14px 0 4px;
}

.notice {
  background: #fff9e6;
  border: 1px solid #ead99c;
  border-radius: 18px;
  padding: 18px;
  color: #5c4a10;
}

/* =========================
   14. FOOTER
========================= */

.site-footer {
  background: #0f1720;
  color: #dbe3ee;
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  gap: 28px;
  margin-bottom: 32px;
}

.site-footer p,
.site-footer a {
  color: #9fb0c4;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #9fb0c4;
}

/* =========================
   15. COOKIE BANNER
========================= */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: -260px;
  z-index: 100;
  max-width: 980px;
  margin: auto;
  background: #101820;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  transition: bottom 0.35s ease;
}

.cookie-banner.show {
  bottom: 16px;
}

.cookie-content {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-content p {
  color: #d4dde8;
  font-size: 0.95rem;
}

.cookie-content a {
  color: var(--brand);
  font-weight: 800;
}

.cookie-btn {
  border: 0;
  background: var(--brand);
  color: #111;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

/* =========================
   16. RESPONSIVE – TABLET
========================= */

@media (min-width: 1300px) {
  .hero-panel {
    transform: translateX(90px);
  }

  .browser-card {
    inset: 80px -70px auto 80px;
  }
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(6, 10, 16, 0.94);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    background: #0b111a;
    border: 1px solid rgba(201, 168, 79, 0.18);
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--shadow-dark);
  }

  .main-nav.active {
    display: grid;
  }

  .main-nav a {
    padding: 14px;
  }

  .burger {
    display: grid;
    place-items: center;
  }

  .hero {
    min-height: auto;
    padding: 58px 0;
  }

  .hero-grid,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 390px;
    transform: none;
    order: 2;
  }

  .browser-card {
    position: relative;
    inset: auto;
    max-width: 620px;
    margin: 10px auto 0;
  }

  .card-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

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

/* =========================
   17. RESPONSIVE – MOBILE
========================= */

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    display: block;
  }

  .section-head .lead {
    margin-top: 14px;
  }

  .hero {
    padding: 58px 0 46px;
    background:
      linear-gradient(
        180deg,
        rgba(3, 6, 12, 0.90) 0%,
        rgba(3, 6, 12, 0.78) 46%,
        rgba(3, 6, 12, 0.94) 100%
      ),
      url("../images/hero.webp");
    background-size: cover;
    background-position: center top;
  }

  .hero-grid {
    gap: 0;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.15rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  .hero-copy {
    margin: 20px 0 26px;
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero .btn-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero .btn {
    width: 100%;
    min-height: 58px;
  }

  .service-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .strip-item {
    min-height: 96px;
    padding: 16px 12px;
    border-radius: 17px;
  }

  .hero-panel {
    display: none;
  }

  .card-grid,
  .project-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .btn-row .btn {
    width: 100%;
  }

  .card {
    padding: 22px;
  }

  .logo-item {
    width: 170px;
    height: 76px;
  }

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* =========================
   18. RESPONSIVE – SMALL MOBILE
========================= */

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding-top: 48px;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.10em;
  }

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

  .service-strip {
    grid-template-columns: 1fr 1fr;
  }

  .strip-item {
    min-height: 88px;
  }
}
