@import url('darkmode.css');

/* =========================================
   styles_gesamt.css – vokabeln2go (Italienisch)
   - Mobil-first, Auto Dark Mode
   - Header-Card + Breadcrumb
   - Kachelraster mit Herz
   - Produktleiste + „Schon gewusst?“
   - Footer
   ========================================= */

/* Reset & Base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  font-size:16px; line-height:1.55;
  color:var(--text); background:var(--bg);
}

/* Theme Vars (Light) */
:root{
  --bg:#fafbfc;
  --text:#141619;
  --muted:#6b7280;
  --link:#1f6feb;
  --border:#e6e9ee;
  --card:#ffffff;
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --radius-lg:22px;
  --radius-md:14px;

  --primary:#c83a3a;          /* Rot für CTA */
  --primary-contrast:#ffffff;
  --secondary:#9aa3ad;         /* Grau-Button */
  --highlight:#ffef75;         /* gelber Marker */

  --tile-gray:#e5eaef;         /* Kachel grau */
  --tile-gray-hover:#eef2f6;
  --tile-mint:#c8efe4;         /* Kachel mint (Reise) */
  --tile-mint-hover:#d6f5ec;

  --maxw:1100px;
  --gap:clamp(14px,2.6vw,22px);
  --pad:clamp(16px,3vw,28px);
  --it-green: #009246;
  --it-white: #ffffff;
  --it-red:   #ce2b37;
  --card-bg:  #ffffff;
  --card-fg:  #1a1a1a;
  --muted:    #6b7280;
  --shadow:   0 8px 24px rgba(0,0,0,.08);
  --radius:   16px;
  --section-bg: #f5f7fb;         /* dezentes Hellgrau */
  --section-border: #e6eaf2;     /* zarter Rand */
  --section-radius: 16px;        /* leichte Rundung */
  --section-shadow: 0 2px 10px rgba(0,0,0,.04);
}

/* Dark Mode */
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0b0c0f;
    --text:#e7e9ee;
    --muted:#9aa4b2;
    --link:#8ab4ff;
    --border:#262b36;
    --card:#12141a;
    --shadow:none;

    --primary:#ef6b6b;
    --primary-contrast:#0b0c0f;
    --secondary:#707b88;

    --tile-gray:#181c24;
    --tile-gray-hover:#1d2230;
    --tile-mint:#15423b;
    --tile-mint-hover:#175047;
    --card-bg: #121212;
    --card-fg: #f3f4f6;
    --shadow:  0 8px 24px rgba(0,0,0,.35);
    --section-bg: #11151d;       /* dezentes Dunkelgrau */
    --section-border: #242c38;
    --section-shadow: none;
    --highlight: #f59e0b; /* kräftiges Gelb-Orange */
  
  }
}

/* --------- Headerbar (Burger / Titel / Share) --------- */
#hamburger-menu{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(120%) blur(6px);
  background:rgba(255,255,255,.75);
  border-bottom:1px solid var(--border);
  min-height:56px;
}

/* --------- Breadcrumb --------- */
.breadcrumb {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 16px 0;
  font-size: .95rem;
  color: var(--muted);
  justify-content: center;   /* neu: zentriert horizontal */
}

.breadcrumb li a {
  color: var(--link);
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

/* --------- Hero/Intro Card --------- */
.grundwortschatz-highlight{
  max-width: var(--maxw);
  margin: 0 auto var(--pad);
  padding: clamp(16px,3vw,28px);              /* Padding auf dem Eltern! */
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);

  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;                   /* mobil: untereinander */
  align-items: center;
}
@media (min-width:900px){
  .grundwortschatz-highlight{
    grid-template-columns: 1fr;        /* 1 Spalte */
    gap: 16px;
    padding: clamp(14px, 2.5vw, 20px);
  }}
.grundwortschatz-highlight > .highlight-text,
.grundwortschatz-highlight > .highlight-image{
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.grundwortschatz-highlight > .highlight-text{
  padding:clamp(18px,3.5vw,32px);
}
.grundwortschatz-highlight > .highlight-image{
  padding:0; display:flex; align-items:center; justify-content:center;
}

  .highlight-image img{
    width: min(420px, 96%);
    height: auto;
    border-radius: 12px;             /* statt Eckradius nur rechts */
  }
.grundwortschatz-highlight img{ max-width:100%; height:auto; border-radius:0 var(--radius-lg) var(--radius-lg) 0 }

/* Title + gelber Marker */
.grundwortschatz-highlight h2{
  margin:.2rem 0 1rem; font-size:clamp(22px,3.5vw,30px);
}
.highlight-mark{
  background:linear-gradient(transparent 60%, var(--highlight) 60%);
  padding:0 .1em; border-radius:4px;
}

/* Intro-Text */
.grundwortschatz-highlight p{ margin:.5rem 0; color:var(--text) }
.grundwortschatz-highlight .zusatz-hinweis{ color:var(--muted) }

/* Buttons */
.button-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:.5rem }
.cta-red{
  display:inline-block; padding:12px 16px; border-radius:12px;
  background:var(--primary); color:var(--primary-contrast);
  border:1px solid rgba(0,0,0,.08); text-decoration:none; font-weight:700;
  transition:transform .15s ease, opacity .15s ease;
}
.cta-red:hover{ transform:translateY(-1px) }
.cta-grey{
  display:inline-block; padding:11px 16px; border-radius:12px;
  background:var(--secondary); color:#fff; text-decoration:none; font-weight:600;
  opacity:.92; transition:opacity .15s ease, transform .15s ease;
}
.cta-grey:hover{ opacity:1; transform:translateY(-1px) }

/* --------- Abschnittscontainer (deine gelbe Sektion ersetzt durch clean) --------- */
.container-yellow{
  max-width: var(--maxw);
  margin: clamp(16px,3vw,28px) auto;
  padding: clamp(16px,3vw,24px);
  background: var(--section-bg);
  border: 1px solid var(--section-border);
  border-radius: var(--section-radius);
  box-shadow: var(--section-shadow);
}

/* Überschriften/Abschnittstitel im Container */
.container-yellow > p{
  margin: 18px 0 8px;
}

/* --------- Kachelraster --------- */
.button-container, .page-list{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr); /* Standard: 2 Spalten */
  justify-items: center;
  padding: 0;
  list-style: none;
}
@media (min-width: 1024px) {
  .button-container {
    grid-template-columns: repeat(3, 1fr); /* Ab Desktop: 3 Spalten */
  }
}


@media (max-width: 600px){
  .grundwortschatz-highlight{
    padding: 14px 12px;
    gap: 14px;
    border-radius: 16px;              /* etwas weichere Ecken gesamt */
  }
  .highlight-text h2{
    font-size: clamp(18px, 6.8vw, 24px);
    margin-bottom: .6rem;
  }
  .groundwortschatz-highlight p{ margin: .35rem 0; }
  .cta-red, .cta-grey{ padding: 9px 12px; }
}
@media (min-width:740px){
  .button-container, .page-list{ grid-template-columns:repeat(3,minmax(0,1fr)) }
}
@media (min-width:1440px){
  .button-container, .page-list{ grid-template-columns:repeat(4,minmax(0,1fr)) }
}

.button-container {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.button-wrapper img {
  width: 100%;
  height: auto;
  max-width: 350px;          /* Begrenzung der Bildgröße */
  aspect-ratio: 1/1;         /* bleibt quadratisch */
  object-fit: cover;
  border-radius: 0;          /* eckig */
  border: 1px solid var(--border); /* dünner Rahmen */
  box-shadow: none;          /* kein Schatten */
  transition: transform 0.2s ease;
}

.button-wrapper img:hover {
  transform: scale(1.02);    /* dezenter Hover-Effekt */
}
/* Herz oben rechts */
.favorite-icon{
  position:absolute; top:10px; right:10px; font-size:18px; pointer-events:none;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.15));
}

@media (prefers-color-scheme: dark){
  .button-wrapper::after,
  .page-list a::after{
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23bda4ff' d='M12 21s-6.7-4.2-9.5-7.9A5.6 5.6 0 0 1 5.2 3a5.7 5.7 0 0 1 4.8 2.6A5.7 5.7 0 0 1 14.8 3a5.6 5.6 0 0 1 2.7 10.1C18.7 16.8 12 21 12 21z'/></svg>");
  }
}

/* Optionaler Untertitel in der Kachel */
.category-button-mit-herz .subtitle{ display:block; margin-top:4px; color:var(--muted); font-size:.95rem }

/* Zurück-Button */
#back-button{
  margin-top:6px; padding:10px 14px; font-weight:600; cursor:pointer;
  border-radius:12px; border:1px solid var(--border);
  background:var(--tile-gray);
}
#back-button:hover{ background:var(--tile-gray-hover) }

/* --------- Produktleiste (Das könnte dich auch interessieren) --------- */
.highlight-section{
  max-width:var(--maxw); margin:32px auto; padding:var(--pad);
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-lg); box-shadow:var(--shadow);
}
.highlight-section h2{ margin:0 0 12px; font-size:clamp(18px,2.8vw,22px) }

.product-gallery{
  display:grid; gap:var(--gap);
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (min-width:680px){ .product-gallery{ grid-template-columns:repeat(4,minmax(0,1fr)) } }

.product-item a{
  display:block; text-decoration:none; color:inherit;
  background:var(--card); border:1px solid var(--border);
  border-radius:16px; overflow:hidden; box-shadow:var(--shadow);
  transition:transform .15s ease;
}
.product-item a:hover{ transform:translateY(-2px) }
.product-item img{ width:100%; height:auto; display:block }
.product-item p{ margin:10px 12px 14px; font-size:.95rem }



.testimonial-section{
  width: 100%;
  max-width: var(--maxw);              /* z. B. 1100px */
  margin: 32px auto;                   /* zentriert */
  padding: var(--pad);
  background: transparent;
}

.testimonial-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.2;
  color: var(--card-fg);
}

/* Wrapper + Arrows */
.testimonial-carousel-wrapper{
  position:relative;
  background: transparent;                 /* kein farbiger Rand */
  border: 0;                                /* neutral */
  box-shadow: none;
    justify-content:center;   /* Wrapper-Inhalt mittig */

}

.nav-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  inline-size: 40px;
  block-size: 40px;
  display: grid;
  place-items: center;
  background: var(--card-bg);
  color: var(--card-fg);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
  user-select: none;
  z-index: 2;
  opacity: 0.65;                        /* leicht transparent */
  transition: opacity .2s ease;         /* nur Opacity animieren */
}

.nav-arrow:hover {
  opacity: 0.9;                         /* etwas kräftiger bei Hover */
}

.nav-arrow:active {
  opacity: 0.75;                        /* leicht gedimmt beim Klick */
}

.nav-arrow.left-arrow  { inset-inline-start: -4px; }
.nav-arrow.right-arrow { inset-inline-end: -4px; }

.nav-arrow:focus-visible {
  outline: 2px solid var(--it-green);
  outline-offset: 2px;
}


/* Carousel */
.testimonial-carousel {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;  
  display: flex;                  /* Firefox */
  justify-content:center;   /* zentriert Karten im Viewport */
  margin: 0 auto;             /* GANZ wichtig: mittig auf der Seite */

}

.testimonial-container {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  padding-block: 8px;
  padding-inline: 4px;
  scrollbar-width: thin;
}
.testimonial-carousel::-webkit-scrollbar{ display:none; } /* Chrome/Safari */
.testimonial-container::-webkit-scrollbar-thumb {
  border-radius: 999px;
}

/* Cards */
.testimonial-card {
  flex: 0 0 min(75%, 300px);     /* max. 300px, auf kleineren Screens ~75% */
  display: grid;
  grid-template-rows: auto 8px 1fr 8px auto;
  align-content: start;
  background: var(--card-bg);
  color: var(--card-fg);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: clamp(12px, 2vw, 16px); /* padding etwas reduziert */
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  min-block-size: 180px;         /* leicht reduziert */
}

@media (min-width: 720px) {
  .testimonial-card { flex-basis: min(45%, 380px); }
}
@media (min-width: 1024px) {
  .testimonial-card { flex-basis: 320px; }
}

.testimonial-card p {
  margin: 0;
  font-size: clamp(.95rem, 1.6vw, 1rem);
  line-height: 1.45;
}
.testimonial-card p:last-child {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .2px;
}

.spacer { block-size: 8px; }

/* Avatars */
.avatar {
  inline-size: 40px;
  block-size: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

/* Farbsystem – leicht an Italien angepasst */
.avatar.orange { background: #ff8a00; }
.avatar.red    { background: var(--it-red); }
.avatar.green  { background: var(--it-green); }
.avatar.blue   { background: #2563eb; }
.avatar.teal   { background: #0ea5a4; }
.avatar.purple { background: #7c3aed; }

/* Links im Card-Footer */
.testimonial-card a {
  color: var(--it-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.testimonial-card a:hover { border-bottom-color: currentColor; }

/* Motion-Respect */
@media (prefers-reduced-motion: reduce) {
  .nav-arrow { transition: none; }
  .testimonial-container { scroll-behavior: auto; }
}
/* --------- Footer --------- */
.footer{
  max-width:var(--maxw); margin:40px auto 24px; padding:var(--pad) var(--pad) 0;
  text-align:center; color:var(--muted);
}
.footer .footer-social-media p{
  display:flex; justify-content:center; align-items:center;
  gap:18px; margin:10px 0 18px;
}
.footer a{ color:inherit; text-decoration:none }
.footer a:hover{ text-decoration:underline }
.footer i{ font-size:1.2rem }
/* --------- Cookie-Banner (zentriert, mobil-optimiert) --------- */
#cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 9999;

  display: none;
  max-width: 480px;
  width: calc(100% - 32px);

  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
}

#cookie-banner p {
  margin: 0 0 14px 0;
  font-size: .95rem;
  line-height: 1.4;
}

/* Buttons */
.cookie-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

#cookie-banner button {
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--tile-gray);
  color: var(--text);
  cursor: pointer;
  font-size: .95rem;
}

/* Zustimmen-Button grün */
#accept-cookies {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
  font-weight: 600;
}
#accept-cookies:hover {
  opacity: 0.9;
}

/* Ablehnen dezent grau */
#decline-cookies {
  background: #d1d5db;
  color: #444;
}
#decline-cookies:hover {
  background: #c4c9cf;
}



/* Utilities */
.sr-only{ position:absolute!important; width:1px;height:1px; padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0 }
.spacer{ height:14px }

/* --- FIX: Bild-Kacheln exakt 2 / 3 Spalten --- */
.container-yellow .button-container{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(2, minmax(0,1fr)); /* mobil: 2 */
  justify-items:center;
  padding:0;
  list-style:none;
}

/* ab Desktop genau 3 Spalten */
@media (min-width:1024px){
  .container-yellow .button-container{
    grid-template-columns:repeat(3, minmax(0,1fr)); /* desktop: 3 */
  }
}

/* Kacheln: eckig + dünner Rahmen, einheitliches Quadrat */
.container-yellow .button-wrapper{ width:100%; }
.container-yellow .button-wrapper a{ display:block; width:100%; max-width:350px; }

.container-yellow .button-wrapper img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid var(--border);  /* dünner Rahmen */
  border-radius:0;                  /* eckig */
  box-shadow:none;                  /* kein Schatten */
  transition:transform .2s ease;
}
.container-yellow .button-wrapper img:hover{ transform:scale(1.02); }

/* Wrapper: Button mittig positionieren */
.button-stack {
  display: flex;
  justify-content: center;   /* horizontal zentriert */
  margin: 24px 0;            /* etwas Abstand nach oben/unten */
}

/* Allgemeiner Button-Stil */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* Variante Rot (wie CTA) */
.red-btn {
  background: var(--primary);
  color: var(--primary-contrast);
  border: 1px solid rgba(0,0,0,.08);
}

.red-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

#password-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-box {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 320px;
  width: 90%;
  font-family: system-ui, sans-serif;
}

.password-box h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.password-box input {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.password-box button {
  background: #007aff;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.password-box button:hover {
  background: #005fcc;
}


/* alle Bilder behalten dein Basis-Design */
.button-wrapper img {
  width: 100%;
  height: auto;
  max-width: 350px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--border);
  box-shadow: none;
  transition: transform 0.2s ease;
  display: block;
}

/* Hover-Effekt nur für probe-hover */
.probe-hover {
  position: relative;
  display: block;
  width: 100%;
  max-width: 350px;
  border: none;
}

.probe-hover img.hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  border: none;
  transition: opacity 0.3s ease;
}

.probe-hover:hover img.default {
  opacity: 0;
}

.probe-hover:hover img.hover {
  opacity: 1;
}

.highlight-text {
  max-width: 800px;       /* Lesbarkeit verbessern */
  margin: 0 auto 2rem;    /* zentrieren + Abstand nach unten */
  line-height: 1.6;       /* Zeilenabstand vergrößern */
}

.button-container {
  display: flex;
  gap: 2rem;              /* Abstand zwischen den Kacheln */
  justify-content: center;
  margin-top: 2rem;
}
/* --- LERNHEFTE HIGHLIGHT SECTION --- */
.hefte-highlight{
  margin-top: 24px;
  text-align:center;
}
.hefte-highlight h3{
  margin: 0 0 14px;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--text); /* passt sich Light/Dark an */
}

/* Horizontal scroll für Lernhefte */
.hefte-grid {
  display: flex;                  
  gap: 16px;                      
  overflow-x: auto;                
  padding-bottom: 10px;            
  scroll-behavior: smooth;         
}

.hefte-grid::-webkit-scrollbar {
  height: 10px; /* etwas größer */
}

.hefte-grid::-webkit-scrollbar-track {
  background: #f0f0f0;  /* Hintergrund der Leiste */
  border-radius: 8px;
}

.hefte-grid::-webkit-scrollbar-thumb {
  background: #888;      /* Farbe des Scroll-Balkens */
  border-radius: 8px;
}

.hefte-grid::-webkit-scrollbar-thumb:hover {
  background: #555;      /* dunkler bei Hover */
}

@media (prefers-color-scheme: dark) {
  .hefte-grid::-webkit-scrollbar-track {
    background: #2a2a2a;   /* dunklere Spur */
  }

  .hefte-grid::-webkit-scrollbar-thumb {
    background: #666;      /* sichtbarer Balken */
  }

  .hefte-grid::-webkit-scrollbar-thumb:hover {
    background: #aaa;      /* heller bei Hover */
  }
}

.heft-card {
  flex: 0 0 180px;                 
  max-width: 180px;                
}

.heft-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:12px;
  background: var(--surface);           /* Light: weiß, Dark: dunkel */
  border: none;                       /* ✅ Rahmen weg */
  border-radius:16px;
  text-decoration:none;
  color: var(--text);                   /* passt sich an */
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); /* weicher Schatten */
}

.heft-card img{
  width:100%;
  aspect-ratio: 3/4;         
  object-fit: cover;
  border-radius: 8px;   
                /* optional für saubere Kanten */
}

.heft-card span{
  font-weight:700;
  font-size: 15.5px;
  color: var(--text);                 /* auch hier hell im Dark Mode */
}

.heft-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.15); /* Hover-Schatten bleibt universell */
}


.divider {
  width: 600px; /* Breite des Strichs */
  max-width: 75%;
  height: 1px !important; /* Dicke des Strichs */
  background-color: #cccccc !important; /* Graue Farbe des Strichs */
  margin: 10px 0 !important; /* Abstand oben und unten */
}

.btn-big {
  display: inline-block;
  width: 100%;
  max-width: 500px;        /* Breite begrenzen */
  margin: 2rem auto;
  padding: 16px 24px;

  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;

  background: linear-gradient(180deg, #1e88e5, #1565c0); /* Blau-Verlauf */
  border: none;
  border-radius: 6px;      /* leicht abgerundet */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);

  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-big:hover {
  background: linear-gradient(180deg, #2196f3, #1976d2); /* helleres Blau */
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.btn-big:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.promo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 16px;
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  max-width: 85%;
  margin: 0 auto; /* sorgt für horizontale Zentrierung */
}


/* Text-Block */
.promo-text {
  max-width: 600px;
}

.promo-text h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.promo-text p {
  margin: 8px 0;
  line-height: 1.5;
}

.promo-text .cta {
  margin-top: 16px;
  font-weight: 600;
}

/* Bild */
.promo-image img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Desktop Layout */
@media (min-width: 900px) {
  .promo-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 48px;
  }

  .promo-text {
    flex: 1;
  }

  .promo-image {
    flex: 0 0 320px;
  }
}

/* Dark Mode (läuft über deine Variablen von vokabeln2go.de) */
:root {
  --card: #ffffff;
  --text: #222222;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

[data-theme="dark"] {
  --card: #1c1c1c;
  --text: #f5f5f5;
  --shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* =======================
   CTA-Button (dezenter)
   ======================= */
.cta-button {
  display: inline-block;
  padding: 10px 20px;          /* kompakter */
  font-size: 0.95rem;          /* etwas kleiner */
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ff8740, #ff5a1a); /* sanftere Töne */
  border-radius: 6px;          /* weniger rund */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* dezenterer Schatten */
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

/* Hover */
.cta-button:hover {
  transform: translateY(-1px); /* kleinere Bewegung */
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  background: linear-gradient(135deg, #ff965c, #ff6f33);
}

/* Active */
.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* ---------------------------
   Responsive Anpassungen
--------------------------- */
@media (max-width: 480px) {
  .cta-button {
    font-size: 0.9rem;
    border-radius: 5px;
  }
}

/* ---------------------------
   Dark Mode
--------------------------- */
@media (prefers-color-scheme: dark) {
  .cta-button {
    background: linear-gradient(135deg, #ff9b66, #ff6a40);
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  }

  .cta-button:hover {
    background: linear-gradient(135deg, #ffb088, #ff815c);
    box-shadow: 0 4px 10px rgba(0,0,0,0.45);
  }
}
.image-startseite {
  display: flex;
  justify-content: center; /* horizontales Zentrieren */
  align-items: center;     /* optional, falls auch vertikal relevant */
  width: 100%;             /* Container füllt die volle Breite */
}

.image-startseite img {
  width: 90%;              /* 90% des übergeordneten Containers */
  height: auto;            /* Seitenverhältnis bleibt erhalten */
  display: block;          /* verhindert kleine Whitespace-Lücken */
  margin: 0 auto;          /* zusätzliche Absicherung fürs Zentrieren */
  max-width: 100%;         /* verhindert, dass das Bild überläuft */
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2rem;
  }
}

/* Smartphones (bis ca. iPhone 14 Pro Max) */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
}

/* Kleine Smartphones (iPhone SE etc.) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
}

/* Mobile-Optimierung */
@media (max-width: 768px) {
  .promo-section {
    max-width: 95%;
  }
}


/* 8 freundliche Pastellfarben (Light Mode) */
.hefte-grid .heft-card:nth-child(8n+1) { background: #f8f9fa; } /* neutral hellgrau */
.hefte-grid .heft-card:nth-child(8n+2) { background: #fff4e6; } /* warm beige-pastell */
.hefte-grid .heft-card:nth-child(8n+3) { background: #edf7f1; } /* soft mint grau */
.hefte-grid .heft-card:nth-child(8n+4) { background: #eef4fb; } /* blaugrau pastell */
.hefte-grid .heft-card:nth-child(8n+5) { background: #f9eef5; } /* rosa-grau */
.hefte-grid .heft-card:nth-child(8n+6) { background: #f3f0f9; } /* lavendel-grau */
.hefte-grid .heft-card:nth-child(8n+7) { background: #faf6ec; } /* amber-grau */
.hefte-grid .heft-card:nth-child(8n+8) { background: #f1f2f9; } /* periwinkle-grau */

/* Text bleibt lesbar */
.hefte-grid .heft-card span {
  color: var(--text);
}

/* Dark Mode: kräftiger, aber noch harmonisch */
/* 
/* Dark Mode – gedeckte, warme Pastellfarben */
@media (prefers-color-scheme: dark) {
  .hefte-grid .heft-card:nth-child(8n+1) { background: #e2bcbc; } /* soft rose */
  .hefte-grid .heft-card:nth-child(8n+2) { background: #e7d4a8; } /* sand-beige */
  .hefte-grid .heft-card:nth-child(8n+3) { background: #b9d6c2; } /* mint sage */
  .hefte-grid .heft-card:nth-child(8n+4) { background: #b7c7de; } /* steel blue */
  .hefte-grid .heft-card:nth-child(8n+5) { background: #d8b9c9; } /* muted rose */
  .hefte-grid .heft-card:nth-child(8n+6) { background: #c7b6dc; } /* soft lavender */
  .hefte-grid .heft-card:nth-child(8n+7) { background: #e5cf9e; } /* amber beige */
  .hefte-grid .heft-card:nth-child(8n+8) { background: #b9bddf; } /* periwinkle grey */

  .hefte-grid .heft-card span { color: #111; } /* dunkler Text für Kontrast */
}
