/* ===== GOTHIA DESIGN - APPLE INSPIRED ===== */

:root {
  --white: #ffffff;
  --black: #1d1d1f;
  --gray-50: #fbfbfd;
  --gray-100: #f5f5f7;
  --gray-300: #d2d2d7;
  --gray-500: #86868b;
  --gray-700: #6e6e73;
  
  /* Gothia Farben: Blau-Silber-Rot */
  --gothia-blue: #4d96c0;
  --gothia-blue-dark: #3a7a9e;
  --gothia-silver: #e2e2e7;
  --gothia-red: #c10312;
  --gothia-red-light: #d61424;
  --gothia-red-dark: #9a020e;
  
  --accent: var(--gothia-red);
  --accent-light: var(--gothia-red-light);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--gothia-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--gothia-red-light);
}

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

/* ===== NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 58px;
  background: rgba(77, 150, 192, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 2px solid var(--gothia-red);
}

.header-inner {
  max-width: 1024px;
  height: 58px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-100);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.92;
  transition: opacity 0.3s;
}

.brand:hover {
  opacity: 1;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: 38px;
  object-fit: contain;
  filter: none;
}

.brand span {
  display: none;
}

@media (min-width: 980px) {
  .brand span {
    display: inline;
  }
}

.menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--gray-100);
  font-size: 13px;
  cursor: pointer;
  padding: 8px;
  opacity: 0.8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-size: 13px;
  color: var(--gray-100);
  text-decoration: none;
  padding: 0 10px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 1;
  text-decoration: none;
}

.main-nav a.current {
  opacity: 1;
}

.main-nav a.current::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  z-index: 1;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10001;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  text-decoration: none;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--gothia-blue);
  padding-top: 58px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%),
    url("../../images/moenchsberg.jpg") center/cover no-repeat;
  z-index: 0;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  z-index: 1;
}

.kicker {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 400;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 1000px;
}

.hero p {
  font-size: clamp(17px, 2.4vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto;
}

.hero p + p {
  margin-top: 12px;
}

.section-card {
  max-width: 680px;
  margin: 0 auto;
}

.section-card + .section-card {
  margin-top: 56px;
}

/* ===== PAGE HERO (Subpages with image) ===== */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  max-height: 600px;
  margin-top: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px;
  width: 100%;
}

.page-hero h1 {
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* ===== CONTENT STYLING ===== */
.content {
  padding: 80px 24px;
  background: var(--white);
}

body:not(.page-start) .content {
  padding-top: 80px;
}

/* When page-hero exists, reduce content top padding */
.page-hero + .content {
  padding-top: 80px;
}

.content article {
  max-width: 680px;
  margin: 0 auto;
}

.content h1 {
  font-size: clamp(34px, 6.5vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 48px;
  color: var(--black);
}

.content h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: left;
  margin-top: 52px;
  margin-bottom: 16px;
  color: var(--black);
}

.content h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--black);
  margin-top: 36px;
  margin-bottom: 12px;
}

.content h2:first-child,
.content h3:first-child,
.content .lead + h2 {
  margin-top: 0;
}

.content p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.content p.lead {
  font-size: 21px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 28px;
}

.content ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.content li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-700);
  margin-bottom: 8px;
}

/* ===== LARGE INTRO SECTION ===== */
.intro-section {
  padding: 120px 24px;
  background: var(--gray-100);
  text-align: center;
}

.intro-section h2 {
  font-size: clamp(34px, 6.5vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--black);
  max-width: 900px;
  margin: 0 auto 24px;
}

.intro-section p {
  font-size: 21px;
  line-height: 1.5;
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== TIMELINE ===== */
.timeline-container {
  position: relative;
  padding-left: 60px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gothia-blue) 0%, var(--gothia-red) 100%);
}

.timeline-item {
  position: relative;
  padding: 32px 0;
  border-bottom: none;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 38px;
  width: 14px;
  height: 14px;
  background: var(--gothia-blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gothia-blue);
}

.timeline-item:first-of-type {
  padding-top: 0;
}

.timeline-item:first-of-type::before {
  top: 6px;
}

.timeline-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-item h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: left;
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--gothia-blue);
}

.timeline-item p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.timeline-item p:last-child {
  margin-bottom: 0;
}

/* ===== ERROR PAGE ===== */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 70px;
  text-align: center;
}

.not-found__content {
  max-width: 460px;
}

.not-found h1 {
  margin: 0;
  color: var(--gothia-blue);
  font-size: clamp(56px, 12vw, 120px);
  line-height: 1;
}

.not-found h2 {
  margin: 18px 0 18px;
  color: var(--black);
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.2;
}

.not-found p {
  margin: 0 auto 32px;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.6;
}

/* ===== SCROLL TO TOP ===== */
#scrollTopBtn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gothia-blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

#scrollTopBtn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollTopBtn svg {
  width: 24px;
  height: 24px;
}

/* ===== LINK WITH ARROW ===== */
.link-arrow {
  font-size: 21px;
  color: var(--gothia-red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-arrow::after {
  content: '›';
  font-size: 26px;
  line-height: 1;
  transition: transform 0.25s;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow:hover {
  text-decoration: underline;
  color: var(--gothia-red-light);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

/* Hero entrance animation */
.page-start .kicker {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.page-start .hero h1 {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.page-start .hero p {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.page-start .hero p:nth-of-type(2) {
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-100);
  padding: 16px 0;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-500);
}

.footer p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--gray-700);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gothia-blue);
  color: var(--white);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer a {
  color: var(--gray-700);
  font-size: 12px;
}

.footer a:hover {
  text-decoration: underline;
}

/* ===== CONTACT SOCIAL LINKS ===== */
.contact-social {
  margin: 44px 0 8px;
}

.contact-social__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-social__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 24px 10px 12px;
  border-radius: 980px;
  background: var(--gray-100);
  color: var(--black);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(77, 150, 192, 0.18);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-social__link:hover {
  background: var(--gothia-blue);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(77, 150, 192, 0.22);
}

.contact-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--gray-700);
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-social__link:hover .contact-social__icon {
  background: var(--white);
  color: var(--gothia-blue);
}

.contact-social__icon svg {
  flex-shrink: 0;
}

/* ===== MOBILE ===== */
@media (max-width: 833px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gothia-blue);
    background-color: #4d96c0 !important;
    flex-direction: column;
    padding: 0;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 9999;
  }

  .main-nav a {
    background: #4d96c0;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    font-size: 17px;
    font-weight: 600;
    padding: 16px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: block;
    width: 100%;
    opacity: 1;
  }

  .main-nav a.current::after {
    display: none;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .kicker,
  .hero p {
    font-size: 16px;
  }

  .content {
    padding: 60px 24px;
  }

  body:not(.page-start) .content {
    padding-top: 60px;
  }
  
  .page-hero {
    height: 40vh;
    min-height: 300px;
  }
  
  .page-hero h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .content h1 {
    font-size: clamp(30px, 8.5vw, 42px);
    margin-bottom: 32px;
  }

  .content h2 {
    font-size: 24px;
  }

  .intro-section {
    padding: 80px 24px;
  }

  .intro-section h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .intro-section p {
    font-size: 17px;
  }

  .timeline-item {
    padding: 32px 0;
  }

  .timeline-item h2 {
    font-size: clamp(24px, 6.5vw, 32px);
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 22px;
  }
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(139, 26, 45, 0.25);
}

/* ===== FOCUS ===== */
:focus-visible {
  outline: 4px solid rgba(139, 26, 45, 0.5);
  outline-offset: 1px;
  border-radius: 4px;
}

/* ===== ZIRKEL ===== */
.zirkel {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 32px;
  opacity: 0.9;
}

.hero .zirkel {
  width: 110px;
  margin-bottom: 24px;
  opacity: 1;
}

/* ===== WAHLSPRUCH / DREI FARBEN ===== */
.wahlspruch {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 2;
}

.wahlspruch-item {
  flex: 1;
  padding: 28px 16px;
  text-align: center;
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.wahlspruch-item:first-child {
  background: var(--gothia-blue);
}

.wahlspruch-item:nth-child(2) {
  background: var(--gothia-silver);
  color: var(--black);
}

.wahlspruch-item:last-child {
  background: var(--gothia-red);
}

/* ===== INTRO SECTION STYLING ===== */
.intro-section {
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: url('../../images/zirkel-gross.png') center/contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

/* ===== INTRO TEXT (Burschenschaftliche Bewegung) ===== */
.intro-text {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-300);
}

.intro-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* ===== TIMELINE LISTS ===== */
.timeline-item ul {
  margin: 12px 0 12px 24px;
  color: var(--gray-700);
}

.timeline-item ul li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.timeline-item em {
  display: block;
  font-style: italic;
  color: var(--gothia-blue-dark);
  margin: 16px 0;
  padding-left: 16px;
  border-left: 3px solid var(--gothia-blue);
}

/* ===== EXTERNAL LINK BOX ===== */
.external-link-box {
  margin-top: 48px;
  padding: 32px;
  background: var(--gray-50);
  border-radius: 16px;
  text-align: center;
}

.external-link-box p {
  font-size: 17px;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gothia-red);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--gothia-red-dark);
  transform: scale(1.02);
  text-decoration: none;
  color: var(--white);
}

/* ===== SEMESTERPROGRAMM PREVIEW ===== */
.sempro-download {
  display: block;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.sempro-download:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.sempro-preview {
  width: 100%;
  height: auto;
  display: block;
}

.sempro-section h2 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 32px;
  font-weight: 600;
}

.sempro-section .section-intro {
  text-align: center;
  font-size: 18px;
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.sempro-text {
  flex: 1;
}

.sempro-text p {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-700);
}

.sempro-text p:first-child {
  font-size: 19px;
  color: var(--black);
}

/* Termine: large semester program preview + two panels below */
.page-termine .sempro-download-wide {
  max-width: none;
  width: 100%;
  margin-bottom: 28px;
}

.page-termine .sempro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.page-termine .sempro-panel {
  margin-top: 0;
  height: 100%;
}

.page-termine .sempro-text.sempro-panel {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.verteiler-box {
  margin-top: 32px;
  padding: 28px 32px;
  background: linear-gradient(145deg, #f0f5f8 0%, #e4eef4 50%, #d8e6ee 100%);
  border-radius: 16px;
  border: 1px solid rgba(77, 150, 192, 0.3);
  border-left: 5px solid var(--gothia-blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
}

.verteiler-box p {
  margin-bottom: 12px;
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.6;
}

.verteiler-box strong {
  color: var(--gothia-blue-dark);
  font-size: 18px;
}

.verteiler-box h3 {
  margin: 0 0 12px;
  color: var(--gothia-blue-dark);
  font-size: 20px;
  line-height: 1.25;
}

.verteiler-box .btn {
  margin-top: 16px;
  background: var(--gothia-blue);
}

.verteiler-box .btn:hover {
  background: var(--gothia-blue-dark);
}

/* ===== BOOK LAYOUT (Der Bund) ===== */
.book-layout {
  display: block;
}

.book-cover-link {
  display: block;
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover-top {
  margin: 0 auto 32px;
}

.book-cover-link:hover {
  transform: scale(1.03) rotate(-2deg);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}

.book-cover {
  width: 100%;
  height: auto;
  display: block;
}

.book-text {
  flex: 1;
}

.book-text p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.book-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.donation-box {
  margin: 0;
  padding: 22px 24px;
  background: linear-gradient(145deg, #f0f0f2 0%, #e8e8ec 50%, #dcdce2 100%);
  border-radius: 16px;
  border: 1px solid var(--gray-300);
  border-left: 5px solid var(--gothia-red);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
}

.donation-box p {
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.6;
}

.donation-box h2 {
  margin: 0 0 12px;
  color: var(--black);
  font-size: 22px;
  line-height: 1.25;
}

.donation-box p:last-child {
  margin-bottom: 0;
}

.donation-box .btn {
  margin-top: 8px;
}

.donation-box .iban {
  display: block;
  max-width: 100%;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gothia-red);
  margin: 16px 0;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 10px;
  border: 2px solid var(--gothia-red);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: all;
  box-shadow: 0 2px 8px rgba(193, 3, 18, 0.15);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.donation-box .iban:hover {
  transform: translateY(-1px);
}

.donation-box .iban.copied {
  background: var(--gothia-red);
  color: var(--white);
}

/* Responsive für Book/Sempro Layout */
@media (max-width: 768px) {
  .book-cover-link {
    width: 220px;
    margin: 0 auto;
  }

  .book-cover-top {
    margin-bottom: 24px;
  }

  .book-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .sempro-download {
    max-width: 250px;
    margin-bottom: 24px;
  }
  
  .donation-box .iban {
    white-space: nowrap;
    word-break: normal;
    font-size: clamp(14px, 3.9vw, 16px);
    padding: 10px 12px;
  }
  
  .donation-box,
  .verteiler-box {
    padding: 20px 24px;
  }
  
  .page-termine .sempro-grid {
    grid-template-columns: 1fr;
  }

  .page-termine .sempro-text.sempro-panel,
  .page-termine .verteiler-box.sempro-panel {
    padding: 20px 24px;
  }

  .page-termine .sempro-text.sempro-panel {
    padding: 0;
  }
}
