/* =========================================================
   Christin Wieck – Landingpage
   Layout basiert auf der Illustrator-Vorlage (1920 px breit).
   1 Vorlagen-Pixel = var(--u)
   ========================================================= */

/* Lokale Schrift-Fallbacks (greifen, wenn die Schriften auf dem Rechner aktiv sind).
   Online kommen Bogart + Open Sans über das Adobe-Fonts-Kit (siehe index.html). */
@font-face { font-family: "Bogart Local"; src: local("Bogart Light"), local("Bogart-Light"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Open Sans Local"; src: local("Open Sans"), local("OpenSans-Regular"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans Local"; src: local("Open Sans Bold"), local("OpenSans-Bold"); font-weight: 700; font-display: swap; }

:root {
  --green: #264c4c;
  --lavender: #ada5d2;
  --beige: #d4cac8;
  --purple: #a59bd0;
  --white: #ffffff;

  --u: calc(100vw / 1920);

  --font-head: "bogart", "Bogart", "Bogart Local", "Georgia", "Times New Roman", serif;
  --font-body: "open-sans", "Open Sans", "Open Sans Local", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--green);
  color: var(--beige);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, p, ul { margin: 0; }

.line { display: block; }
em { font-style: normal; color: var(--lavender); }

/* ---------- Corner logo ---------- */
.corner-logo {
  position: fixed; z-index: 50;
  top: clamp(18px, calc(var(--u) * 56), 56px);
  left: clamp(18px, calc(var(--u) * 52), 52px);
  width: clamp(40px, calc(var(--u) * 62), 62px);
  color: var(--beige);
  transition: color .5s ease, transform .5s var(--ease-out);
}
.corner-logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.corner-logo:hover { transform: scale(1.08); }
.corner-logo.is-light { color: var(--green); }

/* ---------- Flower (Asterisk) ---------- */
.flower { display: block; width: clamp(16px, calc(var(--u) * 24), 24px); aspect-ratio: 1; background: currentColor; -webkit-mask: url("../img/flower.svg") center / contain no-repeat; mask: url("../img/flower.svg") center / contain no-repeat; }
.flower--spin { animation: spin 14s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out); transition-delay: var(--rd, 0s); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: calc(var(--u) * 1274);
  background: var(--green);
  color: var(--lavender);
}
.hero__text {
  position: absolute; z-index: 2;
  left: calc(var(--u) * 169);
  top: calc(var(--u) * 262);
  width: calc(var(--u) * 640);
}
.hero__flower { margin: 0 0 calc(var(--u) * 20) calc(var(--u) * -9); color: var(--lavender); }
.hero__title, .work__title, .about__title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: calc(var(--u) * 80);
  line-height: 1;
  letter-spacing: .005em;
}
.hero__lead {
  margin-top: calc(var(--u) * 52);
  font-size: calc(var(--u) * 20);
  line-height: 1.5;
  max-width: 28em;
}
.btn {
  display: inline-block; position: relative; overflow: hidden;
  margin-top: calc(var(--u) * 66);
  padding: calc(var(--u) * 10) calc(var(--u) * 22);
  border: 1px solid var(--lavender);
  font-weight: 700;
  font-size: calc(var(--u) * 15);
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--lavender);
  transition: color .45s var(--ease-out), border-color .45s;
}
.btn span { position: relative; }
.btn:hover, .btn:focus-visible { color: var(--beige); border-color: var(--beige); }


.hero__photo {
  position: absolute; right: 0; top: 0;
  width: calc(var(--u) * 955);
  height: calc(var(--u) * 1274);
  overflow: hidden;
}
.hero__photo-inner { position: absolute; inset: -3%; transition: transform 1.2s var(--ease-out); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: heroZoom 2.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Wellen-Schriftzug */
.wave {
  position: absolute; z-index: 3; left: 0; right: 0;
  top: calc(var(--u) * 1010);
  height: calc(var(--u) * 300);
  pointer-events: none;
}
.wave__svg { width: 100%; height: 100%; overflow: visible; display: block; }
.wave__text, .wave__measure {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 80px;
  fill: var(--beige);
}
.wave__measure { visibility: hidden; }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement {
  position: relative;
  background: var(--green);
  padding: calc(var(--u) * 240) calc(var(--u) * 120) calc(var(--u) * 220);
  text-align: center;
}
.statement__flower { margin: 0 auto calc(var(--u) * 42); color: var(--white); }
.statement__text {
  font-family: var(--font-head); font-weight: 300;
  font-size: calc(var(--u) * 53);
  line-height: 1.19;
  color: var(--beige);
}

/* =========================================================
   WORK
   ========================================================= */
.work {
  position: relative;
  height: calc(var(--u) * 1000);
  color: var(--green);
  background: var(--purple);
  z-index: 1;
}
.work__bgwrap { position: absolute; inset: 0; overflow: hidden; }
.work__bg {
  position: absolute; inset: -15% 0;
  background: url("../img/texture.jpg") center / cover no-repeat;
}
/* gleichmäßiges Korn über die gesamte Fläche */
.work__bgwrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/grain.png") 0 0 / 256px 256px repeat;
  mix-blend-mode: soft-light; opacity: .55;
}
.work__text {
  position: absolute; z-index: 2;
  left: calc(var(--u) * 323);
  top: calc(var(--u) * 348);
  width: calc(var(--u) * 420);
}
.work__flower { margin: 0 0 calc(var(--u) * 22) calc(var(--u) * -12); color: var(--green); }
.work__lead { margin-top: calc(var(--u) * 30); font-size: calc(var(--u) * 20); line-height: 1.5; }

.tile { position: absolute; z-index: 3; }
.tile__float { animation: float var(--d, 8s) ease-in-out var(--del, 0s) infinite; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  33% { transform: translate3d(0, -10px, 0) rotate(.6deg); }
  66% { transform: translate3d(0, 6px, 0) rotate(-.5deg); }
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.reveal { translate: 0 60px; transition-duration: 1.4s, 1.6s; }
.tile.reveal.is-in { translate: 0 0; }

.tile--card     { left: calc(var(--u) * 1279); top: calc(var(--u) * -51); width: calc(var(--u) * 247); height: calc(var(--u) * 342); }
.tile--brochure { left: calc(var(--u) * 1439); top: calc(var(--u) * 226); width: calc(var(--u) * 481); height: calc(var(--u) * 322); }
.tile--minotty  { left: calc(var(--u) * 796);  top: calc(var(--u) * 301); width: calc(var(--u) * 325); height: calc(var(--u) * 469); }
.tile--phone    { left: calc(var(--u) * 1028); top: calc(var(--u) * 709); width: calc(var(--u) * 255); height: calc(var(--u) * 365); }
.tile__px, .tile__float { width: 100%; height: 100%; }
.tile--card img { object-position: 50% 30%; }

/* =========================================================
   ABOUT + KONTAKT
   ========================================================= */
.about {
  position: relative;
  background: var(--beige);
  color: var(--green);
  text-align: center;
  padding: calc(var(--u) * 197) 24px calc(var(--u) * 150);
}
.about__logo { width: calc(var(--u) * 270); margin: 0 auto; color: var(--green); }
.about__timeline {
  list-style: none; padding: 0;
  margin-top: calc(var(--u) * 50);
  font-size: calc(var(--u) * 20); line-height: 1.5;
}
.about__timeline li + li::before { content: "|"; display: block; }
.about__rule {
  display: block; margin: calc(var(--u) * 92) auto 0;
  width: calc(var(--u) * 88); height: max(2px, calc(var(--u) * 4));
  background: var(--green);
}
.about__title { margin-top: calc(var(--u) * 46); }
.about__contact { margin-top: calc(var(--u) * 26); font-size: calc(var(--u) * 20); line-height: 1.6; }
.about__contact a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.about__contact a:hover, .about__contact a:focus-visible { background-size: 100% 1px; }
.about__contact .sep { margin: 0 .35em; }

.badge {
  position: absolute;
  left: calc(var(--u) * 354);
  top: calc(var(--u) * 549);
  width: calc(var(--u) * 189);
  aspect-ratio: 1;
  display: block;
  transition: transform .6s var(--ease-out);
}
.badge svg { width: 100%; height: 100%; display: block; overflow: visible; }
.badge__bg { fill: var(--green); }
.badge__ring { transform-origin: 100px 100px; animation: spin 22s linear infinite; }
.badge__ring text { font-family: var(--font-head); font-size: 17.5px; fill: var(--lavender); letter-spacing: .02em; }
.badge__flower { position: absolute; left: 40%; top: 40%; width: 20% !important; color: var(--lavender); animation: spin 9s linear infinite reverse; }
.badge:hover { transform: scale(1.08) rotate(-6deg); }
.badge:hover .badge__ring { animation-duration: 6s; }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px clamp(16px, calc(var(--u) * 52), 52px);
  background: var(--beige); color: var(--green);
  border-top: 1px solid rgba(38, 76, 76, .15);
  font-size: 13px; letter-spacing: .04em;
}
.footer nav { display: flex; gap: 20px; }
.footer a { text-decoration: none; opacity: .8; }
.footer a:hover { opacity: 1; text-decoration: underline; }

/* =========================================================
   Kleine Desktops / Tablets: Mindestgrößen
   ========================================================= */
@media (max-width: 1400px) and (min-width: 821px) {
  .hero__lead, .work__lead, .about__timeline, .about__contact { font-size: 15px; }
  .btn { font-size: 12px; padding: 9px 18px; }
  .hero__text { width: calc(var(--u) * 720); }
  .work__text { width: calc(var(--u) * 470); }
}

/* =========================================================
   MOBIL
   ========================================================= */
@media (max-width: 820px) {
  :root { --u: calc(100vw / 820); }
  .hero { height: auto; display: flex; flex-direction: column; }
  .hero__text { position: relative; left: auto; top: auto; width: auto; padding: 120px 24px 56px; }
  .hero__title, .work__title, .about__title { font-size: clamp(40px, 11vw, 64px); }
  .hero__lead, .work__lead, .about__timeline, .about__contact { font-size: 16px; }
  .hero__lead { margin-top: 28px; }
  .btn { margin-top: 36px; font-size: 12px; padding: 10px 18px; }
  .hero__photo { position: relative; width: 100%; height: 115vw; max-height: 720px; }
  .wave { position: relative; top: auto; margin-top: -26vw; height: 46vw; }
  .flower { width: 20px; }

  .statement { padding: 72px 24px 96px; }
  .statement__text { font-size: clamp(24px, 6.4vw, 38px); }
  .statement__text .line { display: inline; }
  .statement__text .line::after { content: " "; }

  .work { height: auto; padding: 88px 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .work__text { position: relative; left: auto; top: auto; width: auto; grid-column: 1 / -1; margin-bottom: 40px; }
  .work__lead { margin-top: 20px; }
  .tile { position: relative; left: auto !important; top: auto !important; width: auto !important; height: auto !important; }
  .tile img { aspect-ratio: 3 / 4; }
  .tile--brochure { grid-column: 1 / -1; }
  .tile--brochure img { aspect-ratio: 3 / 2; }
  .tile--card { margin-top: -10px; }
  .tile--phone { margin-bottom: -60px; margin-top: 30px; }

  .about { padding: 120px 24px 80px; }
  .about__logo { width: 200px; }
  .about__timeline { margin-top: 36px; }
  .about__rule { width: 64px; height: 3px; margin-top: 56px; }
  .about__title { margin-top: 32px; }
  .about__contact { margin-top: 20px; }
  .about__contact .sep { display: none; }
  .about__contact a { display: table; margin: 4px auto; }
  .badge { position: relative; left: auto; top: auto; width: 140px; margin: 56px auto 0; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; }
}

/* =========================================================
   Rechtliche Seiten (Impressum / Datenschutz)
   ========================================================= */
.legal { max-width: 780px; margin: 0 auto; padding: 150px 24px 96px; color: var(--beige); font-size: 16px; line-height: 1.7; }
.legal h1 { font-family: var(--font-head); font-weight: 300; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; color: var(--lavender); margin-bottom: 40px; }
.legal h2 { font-family: var(--font-head); font-weight: 300; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; color: var(--lavender); margin: 48px 0 12px; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 28px 0 6px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--lavender); }
.legal .todo { background: #f3d36b; color: #264c4c; padding: 0 .25em; border-radius: 2px; }
.legal .back { display: inline-block; margin-top: 48px; text-decoration: none; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; font-weight: 700; border: 1px solid var(--lavender); padding: 10px 18px; }
.legal .back:hover { background: var(--lavender); color: var(--green); }
.legal .stand { margin-top: 40px; opacity: .7; font-size: 14px; }
