/* SoftCurve Studio – Coming soon. Farben/Schrift: brand/brand.md */
@font-face { font-family: "Outfit"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/outfit-300.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/outfit-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/outfit-500.woff2") format("woff2"); }

:root {
  --paper: #F6F3EE;
  --paper-2: #F1EFEA;
  --mint: #BFE4C6;
  --ice: #BFDCEC;
  --sakura: #F3BFCB;
  --lilac: #AE96D4;
  --lilac-deep: #8E74BD;
  --ink: #1B1B1B;
  --ink-soft: #45474A;   /* Fließtext-Nebenton, Kontrast > 9:1 auf --paper */
  --muted: #5F6266;      /* Kleintext, Kontrast > 5.5:1 auf --paper */
  --line: rgba(27, 27, 27, .1);
  --radius: 28px;
  --gutter: clamp(16px, 5vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Weiche Farbflecken wie im Etsy-Banner + feine Wellenlinien */
.backdrop {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(42vmax 38vmax at 4% 6%, rgba(191, 228, 198, .85), transparent 70%),
    radial-gradient(40vmax 34vmax at 96% 0%, rgba(243, 191, 203, .7), transparent 70%),
    radial-gradient(40vmax 36vmax at 12% 100%, rgba(191, 220, 236, .8), transparent 70%),
    radial-gradient(42vmax 38vmax at 100% 92%, rgba(174, 150, 212, .42), transparent 70%),
    var(--paper);
}
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: url("../img/waves.svg") center / cover no-repeat;
  opacity: .9;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--lilac-deep); }
:focus-visible { outline: 2px solid var(--lilac-deep); outline-offset: 3px; border-radius: 6px; }

.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 999px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* Kopf */
.site-header { padding: clamp(28px, 6vh, 56px) 0 0; }
.site-header .wrap { display: flex; justify-content: center; }
.brand { display: inline-block; line-height: 0; }
.brand img { width: clamp(220px, 30vw, 300px); height: auto; }
.page .site-header .wrap { justify-content: flex-start; }
.page .brand img { width: 220px; }

/* Hero */
.hero { text-align: center; padding: clamp(40px, 9vh, 96px) 0 clamp(40px, 7vh, 72px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  margin: 0 0 1.4rem; font-weight: 400; font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
h1 {
  margin: 0 auto; max-width: 14em;
  font-weight: 300; font-size: clamp(2.35rem, 6.2vw, 4.4rem); line-height: 1.08; letter-spacing: -.02em;
}
.subline { margin: .9rem 0 0; font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--ink-soft); letter-spacing: .01em; }
.intro { max-width: 34em; margin: 1.8rem auto 0; color: var(--ink-soft); }
.intro strong { font-weight: 400; color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 2.4rem; }
.btn {
  display: inline-flex; align-items: center; gap: .65em;
  padding: .95em 1.7em; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 400; font-size: 1rem; letter-spacing: .01em;
  box-shadow: 0 10px 30px -12px rgba(27, 27, 27, .45);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn:hover { background: #2b2b2e; transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(27, 27, 27, .5); }
.btn svg { width: 1em; height: 1em; }
.mail { font-weight: 400; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.mail:hover { border-color: var(--lilac-deep); }

/* Teaser */
.teasers { padding: 0 0 clamp(56px, 10vh, 104px); }
.teasers h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none; }
.card { margin: 0; }
.grid li:nth-child(2) { transform: translateY(clamp(12px, 3vw, 36px)); }
.card img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 24px 48px -28px rgba(60, 50, 80, .45);
}
.card figcaption { margin-top: .9rem; text-align: center; font-size: .95rem; color: var(--ink-soft); }
.card figcaption span { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Fuß */
.site-footer { padding: 28px 0 36px; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding-top: 24px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Rechtstexte */
.legal { padding: clamp(40px, 8vh, 72px) 0 clamp(48px, 8vh, 80px); }
.legal .sheet {
  max-width: 760px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius); padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 30px 60px -40px rgba(60, 50, 80, .35);
}
.legal h1 { margin: 0 0 1.5rem; max-width: none; font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { margin: 2.2rem 0 .6rem; font-weight: 400; font-size: 1.2rem; letter-spacing: -.005em; }
.legal h3 { margin: 1.4rem 0 .4rem; font-weight: 400; font-size: 1.02rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin: 0 0 .9rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal address { font-style: normal; }
.legal .stand { margin-top: 2.2rem; font-size: .9rem; color: var(--muted); }

/* 404 */
.notfound { text-align: center; padding: clamp(64px, 14vh, 140px) 0; }
.notfound .code { font-size: clamp(4.5rem, 16vw, 9rem); font-weight: 200; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--lilac-deep), #E59AAE 55%, #8CC79A); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .grid li:nth-child(2) { transform: translateY(14px); }
  .card img { border-radius: 18px; }
  .card figcaption { font-size: .8rem; margin-top: .6rem; }
  .card figcaption span { font-size: .62rem; letter-spacing: .12em; }
  .eyebrow::before, .eyebrow::after { width: 16px; }
  .site-footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Unterseiten: Kopf, Blatt und Fuß auf einer Achse */
.page .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal .sheet { max-width: none; }
.notfound .code { margin: 0 0 .75rem; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); }

/* Sprachumschalter oben rechts */
.site-header { position: relative; }
.lang-switch {
  position: absolute; top: 18px; right: var(--gutter);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-decoration: none;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line);
}
.lang-switch:hover { color: var(--ink); border-color: currentColor; }
@media (max-width: 640px) { .site-header { padding-top: 64px; } .lang-switch { top: 14px; } }
