/* ==================================================
RESET & BASIS
================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f7f1e6;
  color: #3f2b1d;
  line-height: 1.6;
}

/* ==================================================
SKIP LINK
================================================== */
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 8px 12px;
  z-index: 1000;
  border-radius: 8px;
}

/* ==================================================
HEADER & NAVIGATION
================================================== */
.site-header {
  background-color: #f2e6cf;
  border-bottom: 2px solid #e4d6b6;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo {
  max-width: 150px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  text-decoration: none;
  color: #4a3321;
  background-color: #fff3db;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  background-color: #efe0c0;
}

.main-nav a.active {
  background-color: #e8d8b8;
}

@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==================================================
BUTTONS
================================================== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.btn-primary {
  background: #ffe7b3;
  color: #4a3321;
}

.btn-primary:hover {
  background: #f5d58a;
}

.btn-secondary {
  background: #e8e0ff;
  color: #3f2b1d;
}

.btn-secondary:hover {
  background: #d8cfff;
}

/* ==================================================
HERO – OSTERMÄRCHEN
================================================== */
.hero-oster {
  max-width: 1100px;
  margin: 32px auto 20px;
  padding: 0 16px;
}

.hero-oster-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: linear-gradient(135deg, #fff4d6, #fff9eb);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.hero-oster-media {
  text-align: center;
}

.hero-oster-media img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.hero-oster-text h1 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.hero-lead {
  font-weight: 700;
  color: #6a4d2f;
  margin-bottom: 12px;
}

.hero-info {
  font-weight: 700;
  margin: 14px 0;
}

@media (min-width: 860px) {
  .hero-oster-grid {
    grid-template-columns: 360px 1fr;
    align-items: center;
    gap: 30px;
  }

  .hero-oster-media img {
    max-width: 360px;
  }
}

/* ==================================================
HERO STANDARD
================================================== */
.hero {
  max-width: 1100px;
  margin: 24px auto 32px;
  padding: 0 16px;
  text-align: center;
}

.hero img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1024px;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* ==================================================
CONTENT
================================================== */
.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 16px;
}

.content h1 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.content h2 {
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.content p {
  margin-bottom: 14px;
}

/* ==================================================
WEISSE KÄSTCHEN
================================================== */
.book-text,
.info-box,
.action-box,
.contact-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  margin: 22px auto;
  max-width: 720px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.info-box.highlight,
.action-box.primary,
.book-text.highlight {
  background: linear-gradient(135deg, #fff4d6, #fff9eb);
  border-left: 8px solid #f2b705;
}

/* ==================================================
LESERSTIMMEN
================================================== */
.quote-box {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 14px;
  margin: 16px auto;
  max-width: 720px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  font-style: italic;
}

/* ==================================================
KONTAKTSEITE
================================================== */
.contact-box {
  text-align: center;
}

.contact-box p {
  margin-bottom: 14px;
}

.contact-box a {
  font-weight: 800;
  color: #6a3fb8;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* ==================================================
SOCIAL MEDIA
================================================== */
.social-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.6rem;
  margin: 2.2rem auto;
  max-width: 720px;
}

.social-item {
  background: #ffffff;
  padding: 1.6rem 1.4rem;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  color: #3f2b1d;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform .15s ease, box-shadow .15s ease;
}

.social-item strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.social-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}

/* ==================================================
AUTORSEITE
================================================== */
.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.author-image {
  width: 220px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
  background: #fff;
  padding: 8px;
}

@media(min-width:768px){
  .about-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .author-image {
    width: 260px;
  }
}

/* ==================================================
FOOTER
================================================== */
.site-footer {
  margin-top: 40px;
  padding: 32px 16px;
  text-align: center;
  background: #f7f3ec;
  font-size: 0.9rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ==================================================
MOBILE FEINSCHLIFF
================================================== */
@media (max-width: 520px) {
  .content h1 { font-size: 1.6rem; }
  .content h2 { font-size: 1.3rem; }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}