@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap");

:root {
  --red: #e3051a;
  --cream: #ffefcc;
  --ink: #020202;
  --mist: #f2f2f2;
  --radius: 22px;
  --pad: clamp(16px, 2.2vw, 28px);
  --max: 1200px;
  --headline-font: "Syne", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --grain-opacity: 0.07;
  --grain-scale: 320px;
  --grain-speed: 12s;
  --line: rgba(242, 242, 242, 0.12);
  --line-strong: rgba(242, 242, 242, 0.22);
}

/* Grain BG (dezent) */
.grain {
  position: fixed;
  inset: -20vmax;
  z-index: 1;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
  background-size: var(--grain-scale) var(--grain-scale);
  animation: grainShift var(--grain-speed) steps(10) infinite;
}

@keyframes grainShift {
  to {
    transform: translate3d(-160px, -160px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .grain {
    animation: none;
  }
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto,
    Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--mist);
  background: var(--ink);
  letter-spacing: 0.01em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--pad);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--red) !important;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

main {
  position: relative;
  z-index: 5;
  background: var(--ink);
  padding-top: 80px; /* Hinzugefügt, um Inhalt unter den fixierten Header zu verschieben */
}

/* Korrigierter Header-Code */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  border: none !important;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand b {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
  padding: 8px 4px;
}
.nav-list a:hover,
.nav-list a.active {
  opacity: 1;
  color: var(--red);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(242, 242, 242, 0.16);
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s transform, 0.25s background-color;
}
.cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 239, 204, 0.06);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(242, 242, 242, 0.22);
  border-radius: 999px;
  color: var(--mist);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
}
.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 242, 242, 0.38);
  background: rgba(255, 255, 255, 0.05);
}
.nav-toggle svg {
  display: block;
  stroke: currentColor;
}

/* Mobile: Hamburger zeigen, Desktop-Navi & CTA verstecken */
@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }
  .nav-list,
  .cta {
    display: none !important;
  }
}

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100; /* über Cursor (1000) & Header */
  display: grid;
  place-items: center;
  background: radial-gradient(
      120% 100% at 50% -10%,
      rgba(227, 5, 26, 0.22),
      transparent 40%
    ),
    rgba(2, 2, 2, 0.94);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(242, 242, 242, 0.25);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
  color: var(--mist);
}
.nav-close:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 242, 242, 0.4);
  background: rgba(255, 255, 255, 0.05);
}
.nav-close svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Overlay-Menü-Typo */
.nav-menu {
  display: grid;
  gap: 22px;
  text-align: center;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.nav-overlay.open .nav-menu {
  transform: translateY(0);
  opacity: 1;
}
.nav-menu a {
  font-family: "Space Grotesk", system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(28px, 8vw, 64px);
  letter-spacing: -0.01em;
  color: var(--mist);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  padding-top: 16vh;
  padding-bottom: 10vh;
  text-align: center;
  overflow: hidden;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-col--visual {
  position: relative;
  min-height: 320px;
}
.hero-mark {
  width: min(64vw, 520px);
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 10px 40px rgba(227, 5, 26, 0.18));
  transform: translateZ(0);
}

.hero-title,
.hero-subtitle,
.hero-intro-text {
  text-align: center;
}
.hero-title {
  font-family: var(--headline-font);
  font-size: clamp(40px, 12vw, 140px);
  line-height: 0.86;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}
.hero-subtitle {
  font-size: clamp(14px, 3vw, 32px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 12px;
}
.hero-intro-text {
  max-width: 62ch;
  font-size: clamp(15px, 1.3vw, 18px);
  opacity: 0.9;
  margin-top: 22px;
  color: var(--mist);
}
.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  --bg: rgba(255, 239, 204, 0.08);
  --bd: rgba(242, 242, 242, 0.15);
  --fg: var(--mist);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--fg);
  transition: 0.25s transform, 0.25s background-color, 0.25s border-color;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  min-height: 44px;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.primary {
  --bg: var(--red);
  --bd: transparent;
  --fg: #fff;
}
.btn.line {
  --bg: transparent;
}

section {
  padding: 72px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 46px);
  font-family: var(--headline-font);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.tile {
  grid-column: span 6;
  position: relative;
  border: 1px solid rgba(242, 242, 242, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: #0c0c0c;
}
.tile .meta {
  position: absolute;
  inset: 10px 12px auto 12px;
  display: flex;
  gap: 8px;
  font-size: 12px;
}
.tile .no {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: clamp(16px, 2.4vw, 24px);
  color: rgba(242, 242, 242, 0.85);
}
.tile figure {
  aspect-ratio: 16/10;
  margin: 0;
  overflow: hidden;
}
@media (max-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .tile {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .tile {
    grid-column: 1 / -1;
  }
}

.who {
  background: var(--cream);
  color: var(--ink);
  border-block: 1px solid rgba(0, 0, 0, 0.1);
}
.who .wrap {
  padding-block: 56px;
}
.who .copy {
  font-size: clamp(18px, 2.2vw, 32px);
  line-height: 1.35;
  max-width: 32ch;
}
.who .copy b {
  color: var(--red);
}

.services-circles {
  background: var(--ink);
  padding: 72px 0;
}
.services-circles .wrap {
  display: grid;
  gap: 28px;
}
.services-head .label {
  opacity: 0.8;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 2vw, 18px);
  margin-top: 8px;
  align-items: center;
}
.circle-item {
  grid-column: span 6;
  display: grid;
  place-items: center;
  min-height: clamp(220px, 34vw, 360px);
  position: relative;
  isolation: isolate;
  padding: 8px;
}
@media (max-width: 980px) {
  .circle-item {
    grid-column: span 12;
    min-height: clamp(200px, 54vw, 320px);
  }
}

.circle {
  --ring: rgba(242, 242, 242, 0.55);
  --ring2: rgba(242, 242, 242, 0.18);
  width: 100%;
  max-width: min(72vw, 380px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  border: 2px solid var(--ring);
  background: radial-gradient(
      60% 60% at 50% 50%,
      rgba(227, 5, 26, 0.08) 0%,
      transparent 70%
    ),
    transparent;
  transition: border-color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 0 0 6px var(--ink) inset, 0 0 0 1px var(--ring2) inset;
}
.circle::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--ring2);
  border-radius: 50%;
  pointer-events: none;
}
.circle::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(
    120% 100% at 50% -10%,
    rgba(227, 5, 26, 0.08),
    transparent 40%
  );
  mix-blend-mode: screen;
  opacity: 0.45;
  pointer-events: none;
}
.circle-item:hover .circle {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 0 0 6px var(--ink) inset, 0 0 0 1px rgba(227, 5, 26, 0.35) inset,
    0 4px 40px rgba(227, 5, 26, 0.14);
}
@media (max-width: 560px) {
  .circle {
    max-width: 86vw;
  }
  .circle::before {
    inset: 8px;
  }
}

.circle-content {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  max-width: 72%;
  text-align: center;
}
.circle-content * {
  margin: 0;
}
.badge-no {
  font-size: clamp(10px, 0.9vw, 11px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.72;
}
.circle-title {
  font-family: var(--headline-font);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}
.circle-text {
  max-width: 40ch;
  font-size: clamp(13px, 1.6vw, 14px);
  line-height: 1.5;
  opacity: 0.9;
}
.circle-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  border: 1px solid rgba(242, 242, 242, 0.18);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.25s background-color, 0.25s transform, 0.25s border-color;
  min-height: 40px;
}
.circle-cta:hover {
  background: rgba(255, 239, 204, 0.06);
  transform: translateY(-2px);
  border-color: rgba(242, 242, 242, 0.32);
}

.faq-acc {
  border-top: 1px solid rgba(242, 242, 242, 0.12);
  border-bottom: 1px solid rgba(242, 242, 242, 0.12);
  background: radial-gradient(
    80% 120% at 50% -10%,
    rgba(227, 5, 26, 0.08),
    transparent 60%
  );
}
.faq-acc .wrap {
  max-width: 1000px;
}
.faq-acc .label {
  opacity: 0.8;
}
.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.faq-list details {
  border-top: 1px solid rgba(242, 242, 242, 0.12);
}
.faq-list details:first-of-type {
  border-top: 0;
}
.faq-list summary {
  cursor: pointer;
  padding: 14px 36px 14px 4px;
  position: relative;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(14px, 2.2vw, 18px);
  list-style: none;
  outline: none;
  line-height: 1.25;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.75;
  transition: 0.2s;
  font-size: clamp(16px, 3.2vw, 18px);
}
.faq-list details[open] summary::after {
  content: "×";
  transform: translateY(-50%);
}
.answer {
  padding: 0 4px 16px 4px;
  opacity: 0.92;
  max-width: 70ch;
  line-height: 1.65;
}
.answer a {
  text-decoration: underline;
}

#kontakt {
  padding-bottom: 72px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.contact-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  background: rgba(255, 239, 204, 0.05);
  border: 1px solid rgba(242, 242, 242, 0.1);
  border-radius: 8px;
  padding: 14px;
  color: var(--mist);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 5, 26, 0.2);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 720px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  h1 {
    font-size: 32px !important;
  }
}

footer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  background-color: #ffefcc;
}
.footer-content.wrap {
  width: 100%;
  max-width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 6vw, 64px);
  padding: 56px var(--pad);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
  min-width: 280px;
}
.newsletter-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--mist);
  color: var(--mist);
  padding: 10px 0;
  font-size: 15px;
  width: 100%;
  max-width: 280px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  width: 100%;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}
.footer-logo {
  text-align: center;
  width: 100%;
  color: var(--red);
}
.footer-logo .logo-the {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(32px, 10vw, 96px);
}
.footer-logo .logo-atelier {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 16vw, 140px);
  letter-spacing: -0.02em;
  margin-left: 8px;
}
.footer-credits {
  width: 100%;
  font-size: 12px;
  opacity: 0.7;
  border-top: 1px solid rgba(242, 242, 242, 0.12);
  padding-top: 16px;
  color: var(--mist);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 14vh;
    padding-bottom: 8vh;
  }
  .hero-col--visual {
    min-height: 260px;
  }
  .hero-mark {
    width: min(84vw, 460px);
  }
  section {
    padding: 56px 0;
  }
  .section-head {
    align-items: flex-start;
  }
  .tile .meta {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
  .btn {
    padding: 12px 18px;
  }
  .nav-toggle {
    width: 44px;
    height: 44px;
  }
  .nav {
    padding: 10px var(--pad);
  }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 239, 204, 0.5);
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}
@media (pointer: coarse), (hover: none) {
  .cursor {
    display: none;
  }
}

.hidden {
  display: none !important;
}
.noscroll {
  overflow: hidden;
  height: 100%;
}