@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/cinzel-regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/cinzel-700.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/cinzel-900.woff2") format("woff2");
  font-weight: 900;
}

@font-face {
  font-family: "Special Elite";
  src: url("assets/fonts/specialelite.woff2") format("woff2");
}

@font-face {
  font-family: "AnotherDanger";
  src: url("assets/fonts/another-danger.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "AnotherDanger";
  src: url("assets/fonts/another-danger.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --text: #eadfce;
  --muted: #a89a8b;
  --red: #9b0000;
  --red-hot: #ff1a1a;
  --dark: #020202;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(0,0,0,.88), rgba(0,0,0,.96)),
    url("assets/bg.jpg") center center / cover fixed no-repeat;
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 18%, rgba(0,0,0,.72) 62%, #000 100%),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 5px
    );
  z-index: 999;
  opacity: .38;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.55), rgba(0,0,0,0));
  border-bottom: 1px solid rgba(160,0,0,.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav {
  max-width: 1180px;
  margin: auto;
  padding: 17px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 900;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: clamp(18px, 1.4vw, 22px);
  white-space: nowrap;
}

.brand span {
  color: var(--red-hot);
  text-shadow: 0 0 16px rgba(255,0,0,.75);
}

.nav-links {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  align-items: center;
}

.nav-links a {
  font-family: "Cinzel", Georgia, serif;
  color: #cfcfcf;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(10px, .75vw, 12px);
  position: relative;
  transition: color .25s ease, text-shadow .25s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red-hot);
  text-shadow: 0 0 14px rgba(255,0,0,.65);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--red-hot);
  box-shadow: 0 0 14px rgba(255,0,0,.9);
}

/* HERO */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  transition: min-height .45s ease;
}

.hero-bg {
  position: absolute;
  inset: -2%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.18), rgba(0,0,0,.92)),
    linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,.10) 42%, rgba(0,0,0,.96)),
    url("assets/hero.jpg") center center / cover no-repeat;
  filter: brightness(.68) contrast(1.28) saturate(.85);
  transform: scale(1.045);
  transform-origin: center center;
  animation: slowBreath 12s ease-in-out infinite alternate;
  transition: transform .55s ease, filter .55s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.02) 0%, rgba(0,0,0,.22) 38%, rgba(0,0,0,.88) 100%),
    linear-gradient(to bottom, transparent 70%, #020202 100%);
  z-index: 1;
}

.dark-scroll-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 12%, rgba(0,0,0,.55) 100%);
  opacity: .16;
  transition: opacity .45s ease;
}

.blood-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left center, rgba(150,0,0,.32), transparent 34%),
    radial-gradient(circle at right center, rgba(150,0,0,.32), transparent 34%),
    radial-gradient(circle at 50% 10%, rgba(100,0,0,.12), transparent 38%);
  z-index: 2;
  pointer-events: none;
  animation: bloodPulse 8s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 5;
  text-align: center;
  width: min(920px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(86px, 10vh, 120px) 22px 60px;
  translate: 0 clamp(-58px, -4vh, -28px);
  transition: scale .45s ease, opacity .45s ease, translate .45s ease;
}

.hero-logo {
  width: clamp(210px, 21vw, 360px);
  margin: 0 auto clamp(6px, 1vh, 12px);
  display: block;
  filter:
    drop-shadow(0 0 14px rgba(255,0,0,.62))
    drop-shadow(0 0 38px rgba(130,0,0,.75));
  animation: logoPulse 4s ease-in-out infinite;
}

.hero-kicker {
  margin-top: 6px;
  font-family: "Special Elite", monospace;
  color: var(--red-hot);
  text-transform: uppercase;
  letter-spacing: clamp(3px, .35vw, 5px);
  font-size: clamp(12px, 1.15vw, 18px);
  text-shadow: 0 0 14px rgba(255,0,0,.55);
  animation: subtleFlicker 7s infinite;
}

.hero h1 {
  margin: clamp(8px, 1.2vh, 14px) 0 0;
  font-family: "AnotherDanger", "Creepster", serif;
  font-size: clamp(56px, 7.2vw, 122px);
  font-weight: 400;
  letter-spacing: clamp(3px, .45vw, 8px);
  color: #f4eadc;
  text-shadow:
    0 0 6px rgba(255,255,255,.25),
    0 0 18px rgba(255,0,0,.72),
    0 0 42px rgba(120,0,0,.62),
    4px 4px 0 rgba(35,0,0,.85);
  animation: horrorFlicker 3.8s infinite;
}

.hero-sub {
  margin-top: clamp(8px, 1.2vh, 14px);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(13px, 1.25vw, 21px);
  letter-spacing: clamp(3px, .42vw, 7px);
  color: #f3e6d5;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255,0,0,.38);
  opacity: 0;
  transform: translateY(18px);
  animation: textReveal 1.3s ease forwards, subtleFlicker 8s infinite 1.8s;
  transition: opacity .55s ease, transform .55s ease;
}

.hero-text {
  max-width: 780px;
  margin: clamp(14px, 2.2vh, 24px) auto 0;
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.65;
  color: #eee;
  text-shadow: 0 0 18px rgba(0,0,0,.95);
  opacity: 0;
  transform: translateY(20px);
  animation: textReveal 1.5s ease forwards;
  animation-delay: .45s;
}

.btn-row {
  margin-top: clamp(22px, 3vh, 34px);
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: textReveal 1.4s ease forwards;
  animation-delay: .75s;
}

/* SCROLL HERO EFFECT */

body.hero-scrolled .hero {
  min-height: 72vh;
  min-height: 72svh;
}

body.hero-scrolled .hero-bg {
  transform: scale(1.10);
  filter: brightness(.55) contrast(1.36) saturate(.78);
}

body.hero-scrolled .hero-inner {
  scale: .88;
  opacity: .82;
  translate: 0 -72px;
}

body.hero-scrolled .dark-scroll-layer {
  opacity: .38;
}

body.hero-scrolled .hero-sub {
  opacity: .35;
  transform: translateY(-4px);
}

/* UNTERSEITEN HERO KLEINER */

.socials-hero,
.autor-hero,
.buecher-hero,
.kontakt-hero {
  min-height: 55vh;
  min-height: 55svh;
}

.socials-hero .hero-inner,
.autor-hero .hero-inner,
.buecher-hero .hero-inner,
.kontakt-hero .hero-inner {
  padding-top: 95px;
  translate: 0 0;
}

.socials-hero h1,
.autor-hero h1,
.buecher-hero h1,
.kontakt-hero h1 {
  font-size: clamp(60px, 9vw, 130px);
}

.socials-hero .hero-sub,
.autor-hero .hero-sub,
.buecher-hero .hero-sub,
.kontakt-hero .hero-sub {
  margin-top: 12px;
  font-size: clamp(14px, 1.8vw, 22px);
  letter-spacing: 4px;
}

body.hero-scrolled .socials-hero,
body.hero-scrolled .autor-hero,
body.hero-scrolled .buecher-hero,
body.hero-scrolled .kontakt-hero {
  min-height: 42vh;
  min-height: 42svh;
}

body.hero-scrolled .socials-hero .hero-inner,
body.hero-scrolled .autor-hero .hero-inner,
body.hero-scrolled .buecher-hero .hero-inner,
body.hero-scrolled .kontakt-hero .hero-inner {
  scale: .9;
  translate: 0 -14px;
}

/* HERO BILDER UNTERSEITEN */

.socials-hero .hero-bg {
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.22), rgba(0,0,0,.92)),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.16) 40%, rgba(0,0,0,.96)),
    url("assets/bg.jpg") center center / cover no-repeat;
}

.autor-hero .hero-bg {
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.24), rgba(0,0,0,.92)),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.12) 40%, rgba(0,0,0,.96)),
    url("assets/autor.jpg") center 35% / cover no-repeat;
}

.buecher-hero .hero-bg,
.kontakt-hero .hero-bg {
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.22), rgba(0,0,0,.92)),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.16) 40%, rgba(0,0,0,.96)),
    url("assets/bg.jpg") center center / cover no-repeat;
}

.autor-hero .hero-bg,
.buecher-hero .hero-bg,
.kontakt-hero .hero-bg,
.socials-hero .hero-bg {
  filter: brightness(.72) contrast(1.2) saturate(.86);
}

/* BUTTONS */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 15px 28px;
  border: 1px solid var(--red);
  background: linear-gradient(90deg, #8b0000, #230000);
  color: white;
  text-decoration: none;
  font-family: "Cinzel", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  box-shadow: 0 0 25px rgba(180,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-120%) skewX(-18deg);
  transition: transform .45s ease;
}

.btn:hover {
  transform: translateY(-3px) skewX(-2deg);
  background: linear-gradient(90deg, #ff0000, #420000);
  box-shadow: 0 0 42px rgba(255,0,0,.45);
}

.btn:hover::after {
  transform: translateX(120%) skewX(-18deg);
}

.btn.ghost {
  background: rgba(0,0,0,.25);
}

/* SECTIONS */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 22px;
  background:
    linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.92)),
    url("assets/texture.jpg") center center / cover fixed no-repeat;
  border-block: 1px solid rgba(160,0,0,.22);
}

.section-title {
  margin-bottom: 34px;
}

.kicker {
  font-family: "Special Elite", monospace;
  color: var(--red-hot);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(34px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: 4px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.card {
  background:
    linear-gradient(rgba(8,8,8,.88), rgba(0,0,0,.94)),
    url("assets/texture.jpg") center center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.08);
  border-left: 4px solid var(--red);
  padding: 32px;
  box-shadow: 0 25px 70px rgba(0,0,0,.65);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  border-left-color: var(--red-hot);
  box-shadow:
    0 30px 90px rgba(0,0,0,.9),
    0 0 25px rgba(255,0,0,.2);
}

.card p {
  font-size: 18px;
  line-height: 1.8;
  color: #ddd;
}

.quote {
  padding: 96px 22px;
  text-align: center;
  font-family: "Special Elite", monospace;
  font-size: clamp(30px, 4vw, 56px);
  background:
    linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.94)),
    url("assets/bg.jpg") center center / cover fixed no-repeat;
  border-block: 1px solid rgba(160,0,0,.45);
  text-shadow:
    0 0 20px rgba(255,0,0,.45),
    0 0 45px rgba(120,0,0,.45);
}

.books-strip {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 46px;
  align-items: center;
}

.book-cover {
  width: 100%;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow:
    0 30px 90px rgba(0,0,0,.9),
    0 0 35px rgba(179,0,0,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}

.book-cover:hover {
  transform: scale(1.025) rotate(-1deg);
  box-shadow:
    0 35px 100px rgba(0,0,0,.95),
    0 0 45px rgba(255,0,0,.3);
}

.book-info h3 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(34px, 5vw, 70px);
  text-transform: uppercase;
  color: #f1dfc5;
}

.meta {
  margin: 14px 0 25px;
  color: var(--red-hot);
  font-family: "Special Elite", monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.book-info p {
  font-size: 18px;
  line-height: 1.75;
}

/* SOCIALS */

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.social-card {
  display: block;
  padding: 40px;
  text-decoration: none;
  background:
    linear-gradient(rgba(8,8,8,.9), rgba(0,0,0,.95)),
    url("assets/texture.jpg") center center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.08);
  border-left: 4px solid var(--red);
  box-shadow: 0 25px 70px rgba(0,0,0,.65);
  transition: .3s;
}

.social-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-left: 4px solid var(--red-hot);
  box-shadow:
    0 30px 80px rgba(0,0,0,.8),
    0 0 25px rgba(255,0,0,.25);
}

.social-title {
  font-family: "Cinzel", serif;
  font-size: 26px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f1dfc5;
}

.social-card p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
}

/* FOOTER */

.footer {
  background: #010101;
  border-top: 1px solid rgba(160,0,0,.38);
  text-align: center;
  padding: 28px 20px;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  color: var(--red-hot);
}

/* ANIMATIONEN */

@keyframes slowBreath {
  from {
    filter: brightness(.66) contrast(1.28) saturate(.85);
  }

  to {
    filter: brightness(.72) contrast(1.34) saturate(.9);
  }
}

@keyframes bloodPulse {
  0%, 100% {
    opacity: .9;
  }

  50% {
    opacity: .68;
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.018);
  }
}

@keyframes horrorFlicker {
  0%, 17%, 21%, 24%, 53%, 57%, 100% {
    opacity: 1;
  }

  19%, 22%, 55% {
    opacity: .82;
  }
}

@keyframes subtleFlicker {
  0%, 100% {
    opacity: 1;
  }

  47% {
    opacity: .96;
  }

  50% {
    opacity: .86;
  }

  52% {
    opacity: .98;
  }
}

@keyframes textReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* DESKTOP 1920 UND KLEINER */

@media (max-width: 1920px) {
  .hero-inner {
    width: min(860px, calc(100% - 44px));
    translate: 0 -38px;
  }

  .hero-logo {
    width: clamp(190px, 19vw, 320px);
  }

  .hero h1 {
    font-size: clamp(52px, 6.4vw, 104px);
  }

  .hero-text {
    font-size: 17px;
  }

  .socials-hero .hero-inner,
  .autor-hero .hero-inner,
  .buecher-hero .hero-inner,
  .kontakt-hero .hero-inner {
    translate: 0 0;
  }
}

/* LAPTOP */

@media (max-width: 1440px) {
  .hero-inner {
    width: min(780px, calc(100% - 40px));
    padding-top: 88px;
    translate: 0 -30px;
  }

  .hero-logo {
    width: clamp(170px, 18vw, 270px);
  }

  .hero h1 {
    font-size: clamp(48px, 6vw, 86px);
    text-shadow:
      0 0 5px rgba(255,255,255,.22),
      0 0 14px rgba(255,0,0,.62),
      0 0 30px rgba(120,0,0,.55),
      3px 3px 0 rgba(35,0,0,.82);
  }

  .hero-sub {
    letter-spacing: 4px;
  }

  .hero-text {
    font-size: 16px;
  }

  .socials-hero,
  .autor-hero,
  .buecher-hero,
  .kontakt-hero {
    min-height: 50vh;
    min-height: 50svh;
  }

  .socials-hero .hero-inner,
  .autor-hero .hero-inner,
  .buecher-hero .hero-inner,
  .kontakt-hero .hero-inner {
    padding-top: 90px;
    translate: 0 0;
  }
}

/* TABLET / MOBILE */

@media (max-width: 850px) {
  body {
    background-attachment: scroll;
  }

  .site-header {
    position: absolute;
  }

  .nav {
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    min-height: 100dvh;
  }

  .socials-hero,
  .autor-hero,
  .buecher-hero,
  .kontakt-hero {
    min-height: 44vh;
    min-height: 44svh;
  }

  .hero-bg {
    background-position: center center;
    transform: scale(1.03);
  }

  .autor-hero .hero-bg {
    background-position: center 34%;
  }

  .hero-inner {
    width: min(680px, calc(100% - 32px));
    padding-top: 145px;
    translate: 0 -18px;
  }

  .socials-hero .hero-inner,
  .autor-hero .hero-inner,
  .buecher-hero .hero-inner,
  .kontakt-hero .hero-inner {
    padding-top: 110px;
    translate: 0 0;
  }

  .hero-logo {
    width: clamp(190px, 56vw, 300px);
  }

  .hero h1 {
    letter-spacing: 4px;
    font-size: clamp(54px, 14vw, 82px);
  }

  .socials-hero h1,
  .autor-hero h1,
  .buecher-hero h1,
  .kontakt-hero h1 {
    font-size: clamp(46px, 15vw, 78px);
  }

  .hero-sub {
    letter-spacing: 4px;
  }

  .grid-2,
  .books-strip,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 18px;
    background-attachment: scroll;
  }

  .quote {
    background-attachment: scroll;
  }
}

/* KLEINE HANDYS */

@media (max-width: 520px) {
  .brand {
    font-size: 18px;
    letter-spacing: 4px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .hero-inner {
    padding-top: 155px;
    translate: 0 -10px;
  }

  .socials-hero .hero-inner,
  .autor-hero .hero-inner,
  .buecher-hero .hero-inner,
  .kontakt-hero .hero-inner {
    padding-top: 115px;
    translate: 0 0;
  }

  .hero-logo {
    width: clamp(175px, 62vw, 260px);
  }

  .hero h1 {
    font-size: clamp(48px, 17vw, 76px);
  }

  .socials-hero h1,
  .autor-hero h1,
  .buecher-hero h1,
  .kontakt-hero h1 {
    font-size: clamp(42px, 16vw, 70px);
  }

  .hero-sub {
    font-size: 13px;
    letter-spacing: 3px;
  }

  .hero-text {
    font-size: 16px;
  }

  .quote {
    padding: 70px 18px;
  }
}

/* FALLBACK */

@supports not (translate: 0 0) {
  .hero-inner {
    transform: translateY(-46px);
  }

  .socials-hero .hero-inner,
  .autor-hero .hero-inner,
  .buecher-hero .hero-inner,
  .kontakt-hero .hero-inner {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.footer a:last-child {
  color: var(--red-hot);
  text-shadow: 0 0 10px rgba(255,0,0,.6);
}