/* Lokale Fonts (DSGVO-konform, kein Google-Request) */
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:200; font-display:swap; src:url('../fonts/montserrat-200.woff2') format('woff2'); unicode-range:U+0000-00FF,U+2000-206F; }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:200; font-display:swap; src:url('../fonts/montserrat-200-ext.woff2') format('woff2'); unicode-range:U+0100-02BA; }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:400 500; font-display:swap; src:url('../fonts/montserrat-400.woff2') format('woff2'); unicode-range:U+0000-00FF,U+2000-206F; }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:400 500; font-display:swap; src:url('../fonts/montserrat-400-ext.woff2') format('woff2'); unicode-range:U+0100-02BA; }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/montserrat-600.woff2') format('woff2'); unicode-range:U+0000-00FF,U+2000-206F; }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/montserrat-600-ext.woff2') format('woff2'); unicode-range:U+0100-02BA; }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:700 800; font-display:swap; src:url('../fonts/montserrat-800.woff2') format('woff2'); unicode-range:U+0000-00FF,U+2000-206F; }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:700 800; font-display:swap; src:url('../fonts/montserrat-800-ext.woff2') format('woff2'); unicode-range:U+0100-02BA; }

/* ====================================================
   STEFAN MÜLLNER – CREATIVE BRANDING / ADVERTISING
   Statische Website · selbst gehostet
   ==================================================== */
:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --grey: #6b6b6b;
  --line: #e4e4e4;
  --max: 1280px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,250,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { font-family: "Montserrat"; font-weight: 200; font-size: 22px; letter-spacing: .02em; text-decoration: none; color: var(--black); line-height: 1.1; }
.nav-links a {
  text-decoration: none; color: var(--black); font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; margin-left: 32px;
  opacity: .7; transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.lang { opacity: 1; font-weight: 600; }
.nav-links a.cta {
  opacity: 1; border: 1px solid var(--black); padding: 8px 18px; border-radius: 100px;
  transition: all .2s;
}
.nav-links a.cta:hover { background: var(--black); color: var(--white); }

/* HERO (Startseite) */
header.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 140px 24px 80px;
}
.hero-logo {
  font-family: "Montserrat"; font-weight: 200; font-size: clamp(34px, 5vw, 51px);
  letter-spacing: .02em; line-height: 1.1;
  display: inline-block;
}
.hero-logo span {
  display: block; font-weight: 200; font-size: clamp(15px, 2vw, 23px);
  margin-top: 10px;
  text-align: justify; text-align-last: justify;
}
.hero-divider { width: 64px; height: 1px; background: var(--black); margin: 36px auto; }
h1.slogan {
  font-size: clamp(48px, 9vw, 130px);
  font-weight: 800; line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  overflow: hidden;
}
.hero-value {
  margin-top: 28px; max-width: 640px; font-size: clamp(16px, 2vw, 20px);
  color: var(--grey); font-weight: 400;
}
.hero-value strong { color: var(--black); font-weight: 600; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; background: var(--black); color: var(--white);
  text-decoration: none; padding: 16px 36px; border-radius: 100px;
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost {
  display: inline-block; color: var(--black); border: 1px solid var(--black);
  text-decoration: none; padding: 16px 36px; border-radius: 100px;
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase; transition: all .2s;
}
.btn-ghost:hover { background: var(--black); color: var(--white); }

/* SEKTIONEN */
section { padding: 220px 0; }
.section-label {
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--grey); border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 48px;
  display: flex; justify-content: space-between;
}

/* WORK GRID */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.case { text-decoration: none; color: var(--black); display: block; }
.case .thumb { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: #ddd; }
.case img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.case:hover img { transform: scale(1.04); }
.case .meta { display: flex; justify-content: space-between; margin-top: 12px; align-items: baseline; gap: 12px; }
.case h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.case .tag { font-size: 11px; color: var(--grey); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.about-grid h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase; }
.about-grid p { font-size: 18px; color: var(--grey); margin-bottom: 20px; }
.about-grid p strong { color: var(--black); }

/* NEWS */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--black); align-items: baseline;
  transition: opacity .2s;
}
.news-item:hover { opacity: .6; }
.news-item .date { font-size: 13px; color: var(--grey); }
.news-item h3 { font-size: 20px; font-weight: 600; }
.news-item .arrow { font-size: 20px; }
.news-article { max-width: 760px; }
.news-article .date { font-size: 13px; color: var(--grey); letter-spacing: .1em; text-transform: uppercase; }
.news-article h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 16px 0 32px; }
.news-article p { font-size: 18px; color: var(--grey); margin-bottom: 20px; }

/* CASE-DETAILSEITE */
.case-hero { padding: 200px 0 0; }
.case-hero .tag { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--grey); }
.case-hero h1 { font-size: clamp(40px, 7vw, 96px); font-weight: 800; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; margin: 16px 0 24px; }
.case-hero .intro { max-width: 640px; font-size: 20px; color: var(--grey); }
.case-media { padding: 100px 24px 140px; display: grid; gap: 80px; }
.media-block h2 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 20px; font-weight: 500; }
.media-block img { border-radius: 4px; width: 100%; }
.media-block .img-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.video-embed { position: relative; padding-top: 56.25%; border-radius: 4px; overflow: hidden; background: #111; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.case-nav { display: flex; justify-content: space-between; padding: 0 24px 140px; gap: 24px; flex-wrap: wrap; }

/* KONTAKT */
.contact { background: var(--black); color: var(--white); }
.contact h2 {
  font-size: clamp(48px, 8vw, 120px); font-weight: 800; letter-spacing: -.03em;
  line-height: .95; text-transform: uppercase; margin-bottom: 48px;
}
.contact-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.contact a { color: var(--white); text-decoration: none; }
.contact .big-link { font-size: clamp(20px, 3vw, 32px); font-weight: 600; border-bottom: 2px solid var(--white); }
.contact .small { font-size: 14px; color: #999; line-height: 2; }
.contact .small a:hover { color: var(--white); }

/* FOOTER */
footer { background: var(--black); color: #777; padding: 32px 0 48px; font-size: 12px; letter-spacing: .05em; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: #777; text-decoration: none; margin-left: 24px; }
footer a:hover { color: var(--white); }

/* TEXTSEITEN (Impressum etc.) */
.page { padding: 200px 24px 140px; max-width: 820px; }
.page h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 40px; }
.page h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.page p { color: var(--grey); margin-bottom: 16px; }

/* ANIMATIONEN */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
header.hero > * { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) forwards; }
header.hero > *:nth-child(1) { animation-delay: .1s; }
header.hero > h1.slogan { animation: none; opacity: 1; }
header.hero > *:nth-child(2) { animation-delay: .25s; }
header.hero > *:nth-child(4) { animation-delay: .55s; }
header.hero > *:nth-child(5) { animation-delay: .7s; }
@keyframes letterIn {
  from { opacity: 0; transform: translateY(.6em); }
  to { opacity: 1; transform: none; }
}
h1.slogan { position: relative; }
h1.slogan .word { display: inline-block; white-space: nowrap; }
h1.slogan .ltr { display: inline-block; opacity: 0; animation: letterIn .6s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  header.hero > *, .reveal, h1.slogan .ltr { animation: none; opacity: 1; transform: none; transition: none; }
}

@media (max-width: 800px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .nav-links a:not(.cta):not(.lang) { display: none; }
  .nav-inner { padding: 14px 20px; }
  .logo { font-size: 18px; white-space: nowrap; }
  .nav-links a.lang { opacity: 1; font-weight: 600; }
.nav-links a.cta { white-space: nowrap; padding: 8px 16px; font-size: 12px; margin-left: 12px; }
  header.hero { padding: 130px 20px 70px; }
  h1.slogan { font-size: clamp(40px, 12.5vw, 80px); }
  section { padding: 110px 0; }
  .hero-cta .btn, .hero-cta .btn-ghost { padding: 14px 28px; font-size: 13px; }
  .case-hero { padding: 140px 0 0; }
  .case-media { padding: 60px 24px 80px; gap: 48px; }
  .contact-grid { flex-direction: column; }
  .contact .big-link { font-size: 18px; word-break: break-all; }
  footer .wrap { flex-direction: column; }
  footer a { margin: 0 16px 0 0; }
  .page { padding: 140px 24px 100px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .case h3 { font-size: 15px; }
}

/* GLITCH-EFFEKT Headline (setzt nach der Typo-Animation ein) */
h1.slogan.glitch-ready::before,
h1.slogan.glitch-ready::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: var(--white);
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
h1.slogan.glitch-ready::before {
  color: var(--black); text-shadow: -3px 0 #00e0ff;
  animation: glitchSlice 5s infinite steps(1);
}
h1.slogan.glitch-ready::after {
  color: var(--black); text-shadow: 3px 0 #ff2d55;
  animation: glitchSlice 5s infinite steps(1) reverse;
}
@keyframes glitchSlice {
  0%, 89%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  90% { clip-path: inset(12% 0 70% 0); transform: translateX(-9px) skewX(-2deg); }
  91% { clip-path: inset(58% 0 18% 0); transform: translateX(8px); }
  92% { clip-path: inset(32% 0 48% 0); transform: translateX(-5px) skewX(1.5deg); }
  93% { clip-path: inset(75% 0 8% 0); transform: translateX(7px); }
  94% { clip-path: inset(5% 0 85% 0); transform: translateX(-8px); }
  95% { clip-path: inset(40% 0 35% 0); transform: translateX(6px) skewX(-1deg); }
  96% { clip-path: inset(0 0 100% 0); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  h1.slogan.glitch-ready::before, h1.slogan.glitch-ready::after { animation: none; content: none; }
}

/* WhatsApp-Button (Kontaktblock, monochrom) */
.contact-main { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--white); border-radius: 100px; padding: 12px 28px;
  color: var(--white) !important; text-decoration: none; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; transition: all .2s;
}
.wa-btn:hover { background: var(--white); color: var(--black) !important; }
.wa-btn:hover svg { fill: var(--black); }
.wa-btn svg { width: 18px; height: 18px; fill: var(--white); transition: fill .2s; }

/* Glitch-Effekt "Let's talk"-Button (analog zur Headline) */
.btn-glitch { position: relative; }
.btn-glitch::before, .btn-glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--black); border-radius: 100px;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.btn-glitch::before { color: var(--white); text-shadow: -2px 0 #00e0ff; animation: btnGlitch 7s infinite steps(1); }
.btn-glitch::after  { color: var(--white); text-shadow: 2px 0 #ff2d55; animation: btnGlitch 7s infinite steps(1) reverse; }
@keyframes btnGlitch {
  0%, 88%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  89% { clip-path: inset(10% 0 55% 0); transform: translateX(-4px); }
  90% { clip-path: inset(55% 0 15% 0); transform: translateX(3px) skewX(-2deg); }
  91% { clip-path: inset(30% 0 40% 0); transform: translateX(-3px); }
  92% { clip-path: inset(70% 0 5% 0); transform: translateX(4px); }
  93% { clip-path: inset(0 0 100% 0); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-glitch::before, .btn-glitch::after { animation: none; content: none; }
}
