/* ImmoWissen – statische Website. Farben aus E-Books und Thumbnails. */
@font-face {
  font-family: "Anton";
  src: url("fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --lila: #68008C;
  --lila-dunkel: #3A0050;
  --lila-tief: #1A0024;
  --flieder: #B579D6;
  --flieder-hell: #D9B8E8;
  --hell: #F5EDF9;
  --gold: #FFD23F;
  --gold-kante: #C99A00;
  --weiss: #FFFFFF;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --text: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--lila-tief);
  background: var(--lila-dunkel);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container { max-width: 1250px; margin: 0 auto; padding: 0 24px; }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--flieder-hell);
  margin-bottom: 14px;
}

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.02;
  margin: 0;
}

.gold { color: var(--gold); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--lila-dunkel); box-shadow: 0 6px 0 var(--gold-kante); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--gold-kante), 0 0 28px #FFD23F66; }
.btn-outline { color: var(--weiss); box-shadow: inset 0 0 0 2px #FFFFFFB3; }
.btn-outline:hover { color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.btn-lila { background: var(--lila); color: var(--weiss); box-shadow: 0 6px 0 var(--lila-dunkel); }
.btn-lila:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--lila-dunkel); }

/* ---------- Kopf / Navigation ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  position: relative;
  z-index: 2;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--weiss); font-weight: 800; font-size: 20px; }
.nav-rechts { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; }
.sprache { display: inline-flex; border-radius: 100px; box-shadow: inset 0 0 0 1.5px #FFFFFF80; padding: 3px; }
.sprache a { color: #FFFFFFCC; text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: 1px; padding: 5px 11px; border-radius: 100px; }
.sprache a:hover { color: var(--gold); }
.sprache a[aria-current="true"] { background: var(--gold); color: var(--lila-dunkel); }
.nav-links a {
  color: #FFFFFFD9; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--weiss);
  background: var(--lila-dunkel);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 90px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 1100px; height: 1100px;
  right: -300px; top: -320px;
  background: radial-gradient(closest-side, #9B2FD6, transparent);
  opacity: .55;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background:
    linear-gradient(0deg, #B579D633 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, #B579D61F 1px, transparent 1px) 0 0 / 24px 100%;
  -webkit-mask-image: linear-gradient(0deg, #000, transparent);
  mask-image: linear-gradient(0deg, #000, transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  margin: auto 0;
  padding-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: 66px; }
.hero h1 .gold { text-shadow: 0 4px 0 #8A5A00, 0 0 36px #FFD23F55; }
.hero h1 .weiss { display: block; text-shadow: 0 4px 0 var(--lila-tief); }
.hero-intro { max-width: 560px; margin: 24px 0 0; font-size: 20px; color: #FFFFFFE0; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.cloud {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 16px 14px;
  align-content: center; justify-content: center; align-items: center;
  min-height: 360px; padding: 40px 10px;
}
.chip {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 18px #00000033;
  animation: schweben 3.6s ease-in-out infinite;
}
.chip:nth-child(1) { --tilt: -3deg; animation-delay: 0s; }
.chip:nth-child(2) { --tilt: 2deg; animation-delay: .5s; }
.chip:nth-child(3) { --tilt: -1.5deg; animation-delay: 1s; }
.chip:nth-child(4) { --tilt: 3deg; animation-delay: 1.5s; }
.chip:nth-child(5) { --tilt: -2.5deg; animation-delay: .8s; }
.chip:nth-child(6) { --tilt: 1.5deg; animation-delay: 1.8s; }
.chip-weiss { background: var(--weiss); color: var(--lila); }
.chip-gold { background: var(--gold); color: var(--lila-dunkel); }
.chip-kontur { background: #FFFFFF14; color: var(--weiss); box-shadow: inset 0 0 0 1.5px var(--flieder); }
.chip-violett { background: #8B2FAE; color: var(--weiss); }
@keyframes schweben {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--tilt, 0deg)); }
}
.stern { position: absolute; right: -6px; top: -30px; width: 150px; filter: drop-shadow(0 8px 18px #00000066); }

/* ---------- Kanäle ---------- */
.kanaele {
  color: var(--weiss);
  padding: 110px 0;
  background-color: var(--lila);
  background-image:
    linear-gradient(#B579D61A 1px, transparent 1px),
    linear-gradient(90deg, #B579D61A 1px, transparent 1px);
  background-size: 28px 28px;
}
.kanaele h2 { font-size: 60px; color: var(--gold); text-shadow: 0 4px 0 var(--lila-dunkel); }
.abschnitt-intro { max-width: 640px; margin: 14px 0 56px; font-size: 20px; color: #FFFFFFE0; }
.kanal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.kanal {
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px; border-radius: 14px;
}
/* Markenregel: Klartext hell, Kompakt dunkel – wie die E-Books */
.kanal-klartext { background: var(--weiss); color: var(--lila-tief); box-shadow: inset 0 0 0 2px var(--lila), 0 24px 60px #1A002466; }
.kanal-kompakt { background: var(--lila-dunkel); color: var(--weiss); box-shadow: inset 0 0 0 1px #B579D680, 0 24px 60px #1A002466; }
.kanal h3 { font-size: 44px; }
.kanal-klartext h3 { color: var(--lila); }
.kanal-kompakt h3 { color: var(--weiss); }
.etikett {
  align-self: flex-start;
  font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
  background: var(--gold); color: var(--lila-dunkel);
}
.handle { font-size: 15px; font-weight: 700; margin-top: -10px; }
.kanal-klartext .handle { color: var(--lila); opacity: .75; }
.kanal-kompakt .handle { color: var(--flieder-hell); }
.kanal p { margin: 0; flex: 1; } /* Text füllt auf, damit Thumbnails und Buttons beider Karten auf gleicher Höhe liegen */
.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.thumb {
  position: relative; display: block; aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 2px #B579D666, 0 14px 34px #00000055;
  transition: transform .3s ease, box-shadow .3s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--lila-dunkel);
  opacity: 0; transform: scale(.7); transition: opacity .25s ease, transform .25s ease;
}
.thumb:hover, .thumb:focus-visible { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 0 0 3px var(--gold), 0 20px 44px #00000066; }
.thumb:hover .play, .thumb:focus-visible .play { opacity: 1; transform: scale(1); }
.hinweis-en { margin: 36px 0 0; text-align: center; font-size: 15px; color: var(--flieder-hell); }
.hinweis-en a { color: inherit; text-underline-offset: 3px; }
.thumb-still { box-shadow: 0 0 0 2px #B579D666; }
.thumb-still:hover { transform: none; box-shadow: 0 0 0 2px #B579D666; }
.thumb-marke { position: absolute; left: 10px; top: 10px; background: var(--gold); color: var(--lila-dunkel); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 9px; border-radius: 100px; }
.bald-feld { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; aspect-ratio: 32 / 9; border-radius: 10px; border: 2px dashed var(--flieder); color: var(--lila); padding: 16px; }
.bald-feld .display { font-size: 34px; }
.bald-feld p { flex: 0 0 auto; }
.btn-bald { opacity: .55; cursor: default; box-shadow: none; }
.btn-bald:hover { transform: none; box-shadow: none; }

/* ---------- E-Books (Buchcover-Look) ---------- */
.ebooks { background: var(--hell); padding: 100px 0; }
.buch-rahmen {
  max-width: 1150px; margin: 0 auto;
  background: var(--weiss);
  border: 1px solid var(--lila);
  outline: 1px solid #B579D680; outline-offset: -10px;
  padding: 64px 48px 56px;
}
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--flieder); }
.ornament span { display: block; height: 1px; width: 120px; background: currentColor; }
.ornament.kurz span { width: 70px; }
.ebooks-kopf { text-align: center; color: var(--lila); display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 52px; }
.ebooks-kopf .kicker { color: var(--lila); letter-spacing: 3.5px; margin: 0; }
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.12; margin: 0;
}
.ebooks-kopf h2 { font-size: 40px; }
.ebooks-kopf p { max-width: 620px; margin: 0; color: var(--lila-tief); opacity: .85; }
.buch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.buch { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.cover img { width: 100%; height: auto; aspect-ratio: 636 / 900; object-fit: cover; }
.cover { display: block; align-self: center; transform: rotate(-2deg); transition: transform .35s ease; box-shadow: 10px 14px 0 #68008C22, 0 22px 44px #1A00243D; }
.cover:hover, .cover:focus-visible { transform: rotate(0) translateY(-6px); }
.buch-info { display: flex; flex-direction: column; gap: 10px; }
.reihe { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--lila); }
.buch h3 { font-size: 20px; color: var(--lila); }
.buch p { margin: 0; font-size: 15px; }
.buch .btn { align-self: flex-start; margin-top: 8px; }
.en-link { font-size: 14px; font-weight: 700; color: var(--lila); text-underline-offset: 3px; }
.werbehinweis { text-align: center; font-size: 13px; color: var(--lila-tief); opacity: .6; margin: 40px 0 0; }

/* ---------- Über ---------- */
.ueber { background: var(--lila-dunkel); color: var(--weiss); padding: 110px 0; }
.ueber-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ueber h2 { font-size: 60px; }
.ueber-text { margin: 24px 0 0; font-size: 20px; color: #FFFFFFE0; max-width: 560px; }
.punkte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.punkte li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; border-radius: 12px;
  background: #FFFFFF0F; box-shadow: inset 0 0 0 1px #B579D666;
}
.haken { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--lila-dunkel); }
.punkte h3 { font-size: 20px; margin: 0 0 4px; }
.punkte p { margin: 0; color: #FFFFFFE6; font-size: 16px; }

/* ---------- Fuß ---------- */
.fuss { background: var(--lila-tief); color: var(--weiss); padding: 56px 0 28px; border-top: 4px solid var(--gold); }
.fuss-oben { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.fuss-claim { margin: 12px 0 0; font-size: 15px; color: #FFFFFFB3; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.fuss-links a { color: #FFFFFFCC; text-decoration: none; font-weight: 600; font-size: 15px; }
.fuss-links a:hover { color: var(--gold); text-decoration: underline; }
.fuss-unten { margin-top: 36px; padding-top: 18px; border-top: 1px solid #B579D633; font-size: 14px; color: #FFFFFF99; }

/* ---------- Rechtsseiten ---------- */
.rechtsseite { background: var(--hell); min-height: 100vh; }
.rechts-kopf { background: var(--lila-dunkel); padding-bottom: 26px; }
.rechts-inhalt { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; }
.rechts-inhalt h1 { font-size: 60px; color: var(--lila); }
.rechts-inhalt .unterzeile { margin: 10px 0 40px; padding-bottom: 28px; border-bottom: 3px solid var(--gold); color: var(--lila-tief); opacity: .8; font-size: 19px; }
.rechts-inhalt h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .5px; font-size: 22px; color: var(--lila); margin: 34px 0 8px; }
.rechts-inhalt p { margin: 0 0 12px; }
.rechts-inhalt a { color: var(--lila); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; transform: rotate(var(--tilt, 0deg)); }
  .thumb, .cover, .btn { transition: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1000px) {
  .buch-grid { grid-template-columns: 1fr; }
  .kanal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links { gap: 18px; }
  .nav-rechts { gap: 18px; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 44px; gap: 16px; }
  .hero h1 { font-size: 50px; }
  .cloud { min-height: 0; padding: 12px 0 0; justify-content: flex-start; }
  .stern { position: relative; right: auto; top: auto; width: 120px; margin-left: auto; }
  .ueber-grid { grid-template-columns: 1fr; gap: 40px; }
  .kanaele h2, .ueber h2 { font-size: 44px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .nav-rechts { gap: 14px; flex-wrap: wrap; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .logo { font-size: 18px; }
  .hero h1 { font-size: 38px; }
  .hero-intro, .abschnitt-intro, .ueber-text { font-size: 18px; }
  .kanaele, .ueber { padding: 72px 0; }
  .kanaele h2, .ueber h2 { font-size: 36px; }
  .kanal { padding: 20px; }
  .kanal h3 { font-size: 34px; }
  .thumbs { grid-template-columns: 1fr; }
  .ebooks { padding: 56px 0; }
  .buch-rahmen { padding: 44px 20px 36px; }
  .ebooks-kopf h2 { font-size: 28px; }
  .buch { grid-template-columns: 1fr; }
  .cover { max-width: 240px; }
  .rechts-inhalt h1 { font-size: 40px; }
}
