/*
Theme Name: Zukunfts-Code Landingpage
Theme URI: https://example.com/
Author: OpenAI
Description: Minimalistisches WordPress-Theme für die Landingpage von „Zukunfts-Code“.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: zukunfts-code-landingpage
*/

:root {
  --bg: #080605;
  --bg-soft: #14100d;
  --surface: rgba(22, 16, 12, 0.88);
  --surface-strong: rgba(16, 12, 9, 0.96);
  --border: rgba(230, 183, 95, 0.22);
  --border-strong: rgba(242, 198, 103, 0.38);
  --text: #f6efe3;
  --text-soft: #dfd1bc;
  --text-faint: #bca789;
  --accent: #f0bf63;
  --accent-strong: #ffd98d;
  --accent-deep: #c68c2a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --content: 1180px;
  --book-stage-width: 430px;
  --book-stage-min-height: 560px;
  --book-cover-max-height: 540px;
  --hero-visual-offset-y: -46px;
  --author-card-width: 320px;
  --author-photo-height: 340px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(240, 191, 99, 0.16), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(255, 217, 141, 0.1), transparent 24%),
    linear-gradient(180deg, #030201 0%, var(--bg) 38%, #050302 100%);
  color: var(--text);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 221, 165, 0.75) 0, rgba(255, 221, 165, 0) 2px),
    radial-gradient(circle at 70% 12%, rgba(255, 215, 142, 0.4) 0, rgba(255, 215, 142, 0) 1.5px),
    radial-gradient(circle at 80% 62%, rgba(255, 202, 108, 0.3) 0, rgba(255, 202, 108, 0) 2px);
  opacity: 0.35;
}

::selection {
  background: rgba(240, 191, 99, 0.26);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

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

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

.site-header {
  display: none;
}

.site-footer {
  display: block;
}

.page-shell {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.landingpage {
  padding: 28px 0 80px;
}

.hero {
  padding: 32px 0 24px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(23, 16, 12, 0.98), rgba(10, 7, 5, 0.92)),
    linear-gradient(145deg, rgba(240, 191, 99, 0.1), rgba(198, 140, 42, 0.06));
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 56px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  right: -6%;
  top: 6%;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240, 191, 99, 0.16), transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 62%, rgba(255, 211, 126, 0.08) 76%, transparent 84%),
    repeating-linear-gradient(112deg, transparent 0 18px, rgba(255, 217, 141, 0.02) 18px 19px);
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.kicker,
.section-kicker,
.author-label,
.message-eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(240, 191, 99, 0.08);
  border: 1px solid rgba(240, 191, 99, 0.18);
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 18px rgba(240, 191, 99, 0.46);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 12ch;
  margin: 0 0 18px;
}

.subheadline {
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  color: var(--text-soft);
  max-width: 720px;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #1a1208;
  box-shadow: 0 14px 40px rgba(240, 191, 99, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 221, 165, 0.16);
  color: var(--text);
}

.copy-block,
.card,
.highlight,
.quote-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.copy-block {
  margin-top: 30px;
}

.copy-block h2,
.section h2,
.cta-panel h2,
.message-band h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.copy-block p:last-child,
.section-header p:last-child,
.highlight p:last-child,
.card p:last-child,
.newsletter-copy p:last-child,
.author-card p:last-child {
  margin-bottom: 0;
}

.hero-visual {
  display: grid;
  gap: 16px;
  justify-items: center;
  align-self: start;
  transform: translateY(var(--hero-visual-offset-y));
}

.book-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, var(--book-stage-width));
  min-height: var(--book-stage-min-height);
  padding: 20px 22px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 216, 136, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 221, 165, 0.14);
}

.book-stage::before {
  content: "";
  position: absolute;
  inset: 10% 6% 8% 6%;
  border-radius: 28px;
  background: radial-gradient(circle at 18% 26%, rgba(240, 191, 99, 0.16), transparent 30%);
  filter: blur(12px);
}

.book-cover {
  position: relative;
  z-index: 1;
  max-height: var(--book-cover-max-height);
  width: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.45));
}

.hero-one-liner {
  margin: 0;
  max-width: 28ch;
  text-align: center;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.section {
  padding: 34px 0;
}

.section-header {
  max-width: 860px;
}

.section-header.narrow {
  max-width: 760px;
}

.section p,
.section li,
.section details {
  color: var(--text-soft);
  font-size: 1.03rem;
}

.question-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.message-band {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(135deg, rgba(240, 191, 99, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(17, 12, 9, 0.95);
  box-shadow: var(--shadow);
}

.message-eyebrow {
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card h3,
.highlight h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.character-name {
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.character-tag {
  display: inline-block;
  color: var(--text-faint);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.feature-title {
  color: var(--text);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.cta-panel {
  background:
    linear-gradient(135deg, rgba(240, 191, 99, 0.12), rgba(255, 217, 141, 0.04)),
    rgba(12, 9, 7, 0.96);
  border: 1px solid var(--border-strong);
}

.newsletter-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 24px;
  align-items: center;
}

.newsletter-form-wrap {
  min-height: 100%;
  display: grid;
  align-items: center;
  padding: 22px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 217, 141, 0.25);
  background: rgba(255, 255, 255, 0.015);
}

.newsletter-placeholder {
  margin: 0;
  color: var(--text-faint);
}

.newsletter-embed > *:first-child {
  margin-top: 0;
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.author-card {
  width: min(100%, var(--author-card-width));
  justify-self: end;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.author-photo {
  width: 100%;
  height: var(--author-photo-height);
  object-fit: cover;
  object-position: center top;
}

.author-card-body {
  padding: 22px;
}

.author-card-body h3 {
  margin: 6px 0 10px;
  font-size: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .newsletter-shell,
  .author-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    justify-items: start;
    transform: none;
  }

  .hero-one-liner {
    text-align: left;
  }

  .author-card {
    width: min(100%, 420px);
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .landingpage {
    padding-top: 18px;
  }

  .hero-panel {
    border-radius: 24px;
    padding: 24px;
  }

  .book-stage {
    width: min(100%, 360px);
    min-height: 360px;
    padding: 18px;
  }

  .author-photo {
    height: auto;
    max-height: 420px;
  }

  .copy-block,
  .card,
  .highlight,
  .message-band,
  .newsletter-form-wrap {
    padding: 20px;
  }
}


.landingpage-editor-content {
  display: grid;
  gap: 0;
}

.landingpage-editor-content .wp-block-columns {
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 0;
}

.landingpage-editor-content .wp-block-column {
  display: flex;
}

.landingpage-editor-content .wp-block-column > .wp-block-group {
  width: 100%;
}

.landingpage-editor-content .section > *:first-child {
  margin-top: 0;
}

.landingpage-editor-content .section > *:last-child {
  margin-bottom: 0;
}

.landingpage-editor-content .faq-item + .faq-item {
  margin-top: 14px;
}


.page-shell .card h1 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-shell .card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.18;
}

.page-shell .card a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-note {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: rgba(240, 191, 99, 0.08);
  color: var(--text);
}

.site-footer {
  padding: 12px 0 48px;
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.7fr)) minmax(220px, 0.9fr);
  gap: 22px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(10, 7, 5, 0.96);
  box-shadow: var(--shadow);
}

.footer-kicker,
.footer-heading {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-claim,
.footer-note {
  margin: 0;
  color: var(--text-soft);
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-soft);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
}

.footer-note-box {
  display: grid;
  align-content: start;
}

.footer-bottom {
  padding: 14px 8px 0;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.94rem;
}

@media (max-width: 1024px) {
  .footer-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .site-footer {
    padding-bottom: 36px;
  }
}
