/*
Theme Name: Mittwochsgeschichten
Author: DiSo
Version: 1.0
Text Domain: mittwochsgeschichten
*/

:root {
  --bg: #e7dbd5;
  --paper: #f7efe9;
  --paper-2: #f1e5de;
  --text: #6f4636;
  --text-dark: #5b3528;
  --text-soft: #8e6a5f;
  --accent: #929781;
  --accent-hover: #7f856f;
  --border: rgba(111, 70, 54, 0.14);
  --shadow: 0 14px 40px rgba(111, 70, 54, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --container: 1240px;
  --content: 1120px;
  --reading: 860px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* SITE SHELL */

.site-shell {
  max-width: var(--container);
  margin: 32px auto;
  background: linear-gradient(180deg, #f8f1eb 0%, #efe3db 100%);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 241, 235, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--content);
  min-height: 92px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #ead6c8;
  border: 1px solid var(--border);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 0.95;
}

.brand-text strong,
.brand-top {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.brand-text span,
.brand-bottom {
  font-size: 17px;
  font-weight: 500;
  margin-left: 30px;
}

/* NAVIGATION */

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.main-nav .current-menu-item > a,
.main-nav a:hover {
  color: #4f3024;
}

/* BUTTONS */

.header-cta,
.button,
.wp-block-button__link,
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  border: 0;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover,
.button:hover,
.wp-block-button__link:hover,
.hero-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* PAGE CONTENT */

.site-main,
main {
  max-width: var(--content);
  margin: 0 auto;
}

.entry-content,
.page-content {
  max-width: var(--reading);
  margin: 0 auto;
  padding: 80px 40px;
  color: var(--text-dark);
  font-size: 18px;
  line-height: 1.9;
}

.entry-content h1,
.page-content h1 {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 42px;
  color: var(--text-dark);
}

.entry-content h2,
.page-content h2 {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 600;
  margin: 64px 0 20px;
  color: var(--text-dark);
}

.entry-content h3,
.page-content h3 {
  font-size: 24px;
  margin: 42px 0 16px;
  color: var(--text-dark);
}

.entry-content p,
.page-content p {
  margin: 0 0 24px;
}

.entry-content hr,
.page-content hr {
  display: none;
}

.entry-content a,
.page-content a {
  color: var(--accent-hover);
}

/* SECTIONS */

.section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 88px 36px;
}

.section-title {
  margin: 0 0 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-soft);
  font-size: 1.08rem;
}

/* HERO */

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.34) 72%, rgba(246,238,232,0.96) 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 227, 205, 0.75) 0%, rgba(255, 227, 205, 0) 42%),
    linear-gradient(180deg, #d9cad4 0%, #efc8b5 42%, #f4e1d6 100%);
}

.hero-graphic-placeholder {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-placeholder.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin: 0 auto;
  padding: 92px 36px 80px;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
}

.hero-title {
  max-width: 820px;
  margin: 0 auto 22px;
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.96;
  font-weight: 600;
}

.hero-subtitle {
  max-width: 520px;
  margin: 0 auto 44px;
  font-size: 20px;
  color: var(--text-soft);
}

.hero-characters {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 32px;
  margin: 0 auto 50px;
  min-height: 280px;
}

.character-lion,
.character-bull {
  border-radius: 50% 50% 36% 36%;
  box-shadow: 0 18px 42px rgba(85, 51, 33, 0.18);
}

.character-lion {
  width: 220px;
  height: 230px;
  background: radial-gradient(circle at 38% 35%, #f0a04f 0%, #b85b22 50%, #7e3717 100%);
}

.character-bull {
  width: 250px;
  height: 235px;
  background: radial-gradient(circle at 42% 35%, #8a4f2e 0%, #59311d 60%, #33190f 100%);
}

.hero-bottom {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 36px 78px;
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  background: rgba(247, 239, 233, 0.55);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
}

.hero-copy p {
  margin: 0 0 14px;
  font-size: 20px;
}

.hero-copy p:last-of-type {
  margin-bottom: 30px;
}

.hero-book {
  display: flex;
  justify-content: center;
  align-items: end;
}

.book-card {
  width: 300px;
}

.book-card img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(88, 52, 35, 0.22);
}

/* CARDS / GRIDS */

.book-section-grid,
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.book-section-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.about-grid {
  grid-template-columns: 280px 1fr;
}

.card-soft,
.world-item,
.contact-box {
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.card-soft {
  padding: 34px;
}

.book-large-cover img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(88, 52, 35, 0.22);
}

.book-copy h3,
.world-grid h3,
.about-copy h3,
.contact-box h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.05;
}

.book-copy p,
.about-copy p,
.contact-box p {
  margin: 0 0 16px;
  font-size: 17px;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.world-item {
  padding: 28px;
}

.author-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8cdbd, #d5b29d);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.author-avatar::before {
  content: "Foto";
  font-family: var(--font-display);
  font-size: 32px;
  opacity: 0.55;
}

.contact-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
  text-align: center;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* FLUENT FORMS */

.fluentform,
.frm-fluent-form {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-body);
}

.frm-fluent-form .ff-el-group {
  margin-bottom: 24px;
}

.ff-el-form-control,
.frm-fluent-form input,
.frm-fluent-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.35) !important;
  border: 1px solid #d6c1b3 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  color: var(--text-dark) !important;
  font-size: 17px !important;
  box-shadow: none !important;
}

.ff-el-form-control:focus,
.frm-fluent-form input:focus,
.frm-fluent-form textarea:focus {
  border-color: var(--accent) !important;
  background: rgba(255,255,255,0.48) !important;
}

.ff-el-input--label label,
.frm-fluent-form label {
  color: var(--text-dark) !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  display: block;
}

.fluentform textarea,
.frm-fluent-form textarea {
  min-height: 180px !important;
}

.ff-btn-submit,
.frm-fluent-form button,
.frm-fluent-form .ff-btn-submit {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 34px !important;
  border: none !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}

.ff-btn-submit:hover,
.frm-fluent-form button:hover,
.frm-fluent-form .ff-btn-submit:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(248,241,235,0.9);
}

.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 36px;
  text-align: center;
  color: var(--text-soft);
}

.footer-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text);
}

.footer-title span {
  display: block;
  font-size: 19px;
}

/* MOBILE */

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .main-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .hero-bottom,
  .book-section-grid,
  .about-grid,
  .world-grid {
    grid-template-columns: 1fr;
  }

  .hero-kicker {
    font-size: 48px;
  }

  .hero-title {
    font-size: clamp(42px, 10vw, 68px);
  }

  .hero-copy {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    margin: 0;
    border-radius: 0;
  }

  .header-inner,
  .hero-inner,
  .hero-bottom,
  .section,
  .footer-inner,
  .entry-content,
  .page-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text strong,
  .brand-top {
    font-size: 24px;
  }

  .brand-text span,
  .brand-bottom {
    font-size: 15px;
    margin-left: 22px;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero-subtitle,
  .hero-copy p,
  .book-copy p,
  .about-copy p,
  .contact-box p {
    font-size: 16px;
  }

  .character-lion {
    width: 150px;
    height: 160px;
  }

  .character-bull {
    width: 175px;
    height: 165px;
  }

  .entry-content,
  .page-content {
    padding-top: 56px;
    padding-bottom: 56px;
    font-size: 16px;
  }

  .entry-content h1,
  .page-content h1 {
    font-size: 42px;
  }

  .entry-content h2,
  .page-content h2 {
    font-size: 30px;
  }

  Du hast die Klasse korrekt gesetzt. Verwende jetzt diesen CSS-Selektor:

.overlap-card {
  position: relative !important;
  left: -70px !important;
  top: -25px !important;
  z-index: 50 !important;
  transform: rotate(3deg) !important;
}

.overlap-card img {
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(0,0,0,.18);
}
	.overlap-wrapper {
  position: relative;
  overflow: visible;
}
	.text-overlay{
    position: relative;
    z-index: 5;

    /* leichte Glasfläche */
    background: rgba(255,248,240,0.10);

    /* Hintergrund weichzeichnen */
    backdrop-filter: blur(6px);

    /* sanfter Schatten */
    box-shadow:
        0 8px 40px rgba(0,0,0,0.18);

    border-radius: 24px;

    padding: 32px;

    /* optional */
    border: 1px solid rgba(255,255,255,0.15);
}
	.book-overlay{
    position: relative;
    z-index: 10;

    transform: scale(1.03);

    filter:
        drop-shadow(0 25px 45px rgba(0,0,0,0.35))
        drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}
	.hero-section{
    position: relative;
    overflow: hidden;
}

.hero-section::before{
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.35) 0%,
            rgba(0,0,0,0.18) 35%,
            rgba(0,0,0,0.00) 65%
        );

    z-index: 1;
}

.text-overlay,
.book-overlay{
    position: relative;
    z-index: 2;
}
.footer-social a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}	
}
