/* ==========================================================================
   0. CI-VARIABLEN (Corporate Identity – Omasrezeptbuch.com)
   ========================================================================== */

:root {
  /* Farben */
  --terrakotta:     #C2714F;
  --dunkelgruen:    #3B5249;
  --creme:          #F5EDD6;
  --sandbraun:      #A68B5B;
  --rosé-beige:     #E8C9A0;
  --weinrot:        #8B2E2E;
  --dunkelbraun:    #2C1A0E;
  --hellcreme:      #FAF6EE;

  /* Typografie */
  --font-headline:  'Playfair Display', Georgia, serif;
  --font-body:      'Lato', Arial, sans-serif;
  --font-deko:      'Dancing Script', cursive;

  /* Abstände */
  --spacing-xs:     0.5rem;
  --spacing-sm:     1rem;
  --spacing-md:     2rem;
  --spacing-lg:     3rem;
  --spacing-xl:     5rem;

  /* Border Radius */
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;

  /* Schatten */
  --shadow-sm:      0 2px 8px rgba(44,26,14,0.08);
  --shadow-md:      0 4px 20px rgba(44,26,14,0.12);
  --shadow-lg:      0 8px 40px rgba(44,26,14,0.16);

  /* Max-Breite */
  --max-width:      1200px;
  --content-width:  780px;
}

/* ==========================================================================
   LAYOUT-OVERRIDE — Bereinigung aller Konflikte
   ========================================================================== */

/* Voller Viewport, kein ungewolltes Einengen */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

.orb-wrapper {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

/* Container: zentriert, max 1200px, 2rem Padding links+rechts */
.orb-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  box-sizing: border-box !important;
}

/* Header-Innen: gleiche Breite wie Container */
.orb-header {
  width: 100% !important;
}
.orb-header__inner {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

/* Hauptbereich: volle Breite */
.orb-main {
  width: 100% !important;
  flex: 1 !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Content-Area mit Sidebar: 2-spaltig */
.orb-content-area--with-sidebar {
  display: grid !important;
  grid-template-columns: 1fr 300px !important;
  gap: 3rem !important;
  align-items: start !important;
  width: 100% !important;
}

/* Primary Content: nimmt verfügbaren Platz */
.orb-primary-content {
  min-width: 0 !important;
  width: 100% !important;
}

/* Posts-Grid: 2 Spalten */
.orb-posts-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  width: 100% !important;
}

/* Post-Karte */
.orb-post-card {
  width: 100% !important;
  min-width: 0 !important;
}

/* Sidebar */
.orb-sidebar {
  min-width: 0 !important;
  width: 100% !important;
}

/* Responsive: unter 900px keine Sidebar */
@media (max-width: 900px) {
  .orb-content-area--with-sidebar {
    grid-template-columns: 1fr !important;
  }
  .orb-sidebar {
    display: none !important;
  }
  .orb-posts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 580px) {
  .orb-posts-grid {
    grid-template-columns: 1fr !important;
  }
  .orb-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}


/* ==========================================================================
   LAYOUT — Container & Seitenstruktur
   ========================================================================== */

/* Haupt-Container: zentriert, volle Breite bis max-width */
.orb-container {
  max-width: var(--max-width);   /* 1200px */
  margin-inline: auto;
  padding-inline: 2rem;
  width: 100%;
}

/* Inhaltsbereich mit Sidebar (2-spaltig) */
.orb-content-area--with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

/* Ohne Sidebar: volle Breite */
.orb-content-area--full {
  width: 100%;
}

/* Posts-Grid: 2 Spalten mit Sidebar */
.orb-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Rezept-Grid: 3 Spalten ohne Sidebar */
.orb-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1100px) {
  .orb-content-area--with-sidebar {
    grid-template-columns: 1fr 260px;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .orb-content-area--with-sidebar {
    grid-template-columns: 1fr;
  }
  .orb-sidebar {
    display: none;
  }
  .orb-posts-grid,
  .orb-recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .orb-container {
    padding-inline: 1rem;
  }
  .orb-posts-grid,
  .orb-recipe-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   ORB Theme – main.css
   Omas Rezeptbuch | Professionelles WordPress-Theme-Stylesheet
   Autor: ORB Theme
   Version: 1.0.0
   ========================================================================== */

/* ==========================================================================
   1. CSS RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dunkelbraun);
  background-color: var(--creme);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings ---------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  color: var(--dunkelbraun);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 48px; }
h2 { font-size: 34px; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Links ------------------------------------------------------------------- */

a {
  color: var(--terrakotta);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--terrakotta);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Images ------------------------------------------------------------------ */

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography -------------------------------------------------------------- */

p {
  margin-bottom: var(--spacing-sm);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.25rem;
}

blockquote {
  border-left: 4px solid var(--sandbraun);
  padding-left: var(--spacing-md);
  margin: var(--spacing-md) 0;
  font-style: italic;
  color: var(--dunkelbraun);
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

/* Forms ------------------------------------------------------------------- */

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--terrakotta);
  outline-offset: 2px;
}

/* Tables ------------------------------------------------------------------ */

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(166, 139, 91, 0.25);
}

th {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--dunkelgruen);
  background: var(--hellcreme);
}

/* Horizontal rule --------------------------------------------------------- */

hr {
  border: none;
  border-top: 1px solid rgba(166, 139, 91, 0.3);
  margin: var(--spacing-md) 0;
}

/* ==========================================================================
   2. LAYOUT-KLASSEN
   ========================================================================== */

/* Zentrierter Inhalts-Container */


/* Schmaler Content-Container (für Blog-Text) */
.orb-container--narrow {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--spacing-md);
  width: 100%;
}

/* Seiten-Wrapper (vertikale Vollhöhe) */
.orb-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Haupt-Content-Bereich */
.orb-main {
  flex: 1;
  padding: var(--spacing-md) 0;
}

/* Zweispaltig: Content + Sidebar (Desktop) */
.orb-main 

/* Rezept-Seite: keine Sidebar – volle Breite */
.orb-main--recipe 

/* Archiv / Blog-Seite */
.orb-main--archive 

/* Content-Area innerhalb Grid */
.orb-content {
  min-width: 0; /* Verhindert Grid-Overflow */
}

/* ==========================================================================
   3. HEADER (.orb-header)
   ========================================================================== */

.orb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--dunkelgruen);
  box-shadow: var(--shadow-md);
}

.orb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--spacing-md);
  max-width: var(--max-width);
  margin-inline: auto;
}

/* Logo -------------------------------------------------------------------- */

.orb-logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.orb-logo a:hover {
  text-decoration: none;
}

.orb-logo__omas {
  font-family: var(--font-deko);
  font-size: 1.8rem;
  color: var(--terrakotta);
  line-height: 1;
}

.orb-logo__text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.orb-logo__rezeptbuch {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--creme);
  letter-spacing: 0.02em;
}

.orb-logo__com {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--sandbraun);
  align-self: flex-end;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

/* Logo-Avatar (Omas Bild) */
.orb-logo img,
.orb-logo__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--terrakotta);
  flex-shrink: 0;
}

/* Header-Rechte Seite */
.orb-header__right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

/* ==========================================================================
   4. NAVIGATION (.orb-nav)
   ========================================================================== */

.orb-nav {
  position: relative;
}

.orb-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.orb-nav__list li {
  margin-bottom: 0;
}

.orb-nav__list a {
  color: var(--creme);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  display: block;
  transition: background 0.2s ease, color 0.2s ease;
}

.orb-nav__list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--rose-beige, var(--rosé-beige, #E8C9A0));
  text-decoration: none;
}

.orb-nav__list a.current-menu-item,
.orb-nav__list a[aria-current="page"] {
  color: var(--terrakotta);
  background-color: rgba(255, 255, 255, 0.08);
}

/* Hamburger-Button (standardmäßig versteckt) */
.orb-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.orb-hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.orb-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--creme);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger-Animation bei geöffnetem Menü */
.orb-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.orb-hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.orb-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   5. BREADCRUMB (.orb-breadcrumb)
   ========================================================================== */

.orb-breadcrumb {
  background-color: var(--hellcreme);
  padding: 0.5rem var(--spacing-md);
  font-size: 0.85rem;
  color: var(--sandbraun);
  border-bottom: 1px solid rgba(166, 139, 91, 0.15);
}

.orb-breadcrumb__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.orb-breadcrumb a {
  color: var(--sandbraun);
  text-decoration: none;
  transition: color 0.2s;
}

.orb-breadcrumb a:hover {
  color: var(--terrakotta);
  text-decoration: underline;
}

.orb-breadcrumb__separator {
  color: rgba(166, 139, 91, 0.5);
  margin-inline: 0.25rem;
}

.orb-breadcrumb__current {
  color: var(--dunkelbraun);
  font-weight: 600;
}

/* ==========================================================================
   6. BUTTONS (.orb-btn)
   ========================================================================== */

.orb-btn {
  display: inline-block;
  background-color: var(--terrakotta);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  line-height: 1.4;
  white-space: nowrap;
}

.orb-btn:hover {
  background-color: var(--dunkelgruen);
  text-decoration: none;
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.orb-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Outline-Variante */
.orb-btn--outline {
  background-color: transparent;
  border: 2px solid var(--terrakotta);
  color: var(--terrakotta);
}

.orb-btn--outline:hover {
  background-color: var(--terrakotta);
  color: white;
}

/* Kleine Variante */
.orb-btn--sm {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
}

/* Große Variante */
.orb-btn--lg {
  font-size: 1rem;
  padding: 0.9rem 2rem;
}

/* Dunkelgrün-Variante */
.orb-btn--green {
  background-color: var(--dunkelgruen);
}

.orb-btn--green:hover {
  background-color: var(--dunkelbraun);
}

/* ==========================================================================
   7. REZEPT-HERO (.orb-recipe-hero)
   ========================================================================== */

.orb-recipe-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dunkler Verlaufs-Overlay */
.orb-recipe-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(59, 82, 73, 0.85) 0%,
    rgba(59, 82, 73, 0.3) 60%,
    transparent 100%
  );
  pointer-events: none;
}

/* Hero-Inhalt (über dem Overlay) */
.orb-recipe-hero__content {
  position: relative;
  z-index: 1;
  padding: var(--spacing-md);
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
}

/* Kategorie-Badge */
.orb-category-badge {
  display: inline-block;
  background-color: var(--terrakotta);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.orb-category-badge:hover {
  background-color: var(--dunkelbraun);
  text-decoration: none;
  color: white;
}

/* Hero-Überschrift */
.orb-recipe-hero h1,
.orb-recipe-hero__title {
  color: var(--creme);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
  line-height: 1.15;
}

/* Hero-Subtitle / Tagline */
.orb-recipe-hero__tagline {
  font-family: var(--font-deko);
  font-size: 1.25rem;
  color: rgba(245, 237, 214, 0.85);
  margin-top: 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   8. REZEPT-META-LEISTE (.orb-recipe-meta-bar)
   ========================================================================== */

.orb-recipe-meta-bar {
  background-color: var(--creme);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  border-bottom: 2px solid rgba(166, 139, 91, 0.2);
}

.orb-recipe-meta-bar 

/* Einzelnes Meta-Item */
.orb-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.orb-meta-item__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.orb-meta-item__label {
  font-size: 0.75rem;
  color: var(--sandbraun);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.orb-meta-item__value {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  color: var(--dunkelbraun);
  font-weight: 700;
  line-height: 1.2;
}

/* Sterne-Bewertung in der Meta-Leiste */
.orb-stars {
  color: var(--terrakotta);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Letztes Item (CTA-Button) rechtsbündig */
.orb-meta-item:last-child {
  margin-left: auto;
}

/* Trennlinie zwischen Items */
.orb-meta-divider {
  width: 1px;
  height: 40px;
  background: rgba(166, 139, 91, 0.3);
  align-self: center;
}

/* ==========================================================================
   9. STORY / EINLEITUNG (.orb-story-intro)
   ========================================================================== */

.orb-story-intro {
  background-color: var(--hellcreme);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  border: 1px solid rgba(166, 139, 91, 0.15);
}

/* Oma-Avatar */
.orb-story-intro__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--terrakotta);
  box-shadow: var(--shadow-sm);
}

/* Text-Bereich */
.orb-story-intro__text {
  font-style: italic;
  color: var(--dunkelbraun);
  line-height: 1.75;
}

.orb-story-intro__text p:last-child {
  margin-bottom: 0;
}

/* Deko-Label oberhalb Text */
.orb-story-intro__label {
  font-family: var(--font-deko);
  font-size: 1rem;
  color: var(--terrakotta);
  font-style: normal;
  margin-bottom: 0.25rem;
  display: block;
}

/* ==========================================================================
   10. OMA-ZITAT (.orb-oma-quote)
   ========================================================================== */

.orb-oma-quote {
  border-left: 4px solid var(--terrakotta);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-md) 0;
  background-color: var(--hellcreme);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-deko);
  font-size: 1.4rem;
  color: var(--dunkelbraun);
  line-height: 1.5;
  position: relative;
}

.orb-oma-quote::before {
  content: '\201C'; /* öffnendes doppeltes Anführungszeichen */
  font-size: 3rem;
  color: var(--terrakotta);
  line-height: 0;
  vertical-align: -1rem;
  margin-right: 0.25rem;
  font-family: var(--font-deko), Georgia, serif;
}

/* Zitatquelle */
.orb-oma-quote__source {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--sandbraun);
  margin-top: 0.75rem;
}

/* ==========================================================================
   11. REZEPTKARTE (#rezept-karte, .orb-recipe-card-inner)
   ========================================================================== */

#rezept-karte,
.orb-recipe-card-inner {
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin: var(--spacing-md) 0;
}

/* Karten-Header (dunkelgrün) */
.orb-recipe-card-inner__header {
  background-color: var(--dunkelgruen);
  padding: var(--spacing-md);
}

.orb-recipe-card-inner__header h2 {
  color: var(--creme);
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.3;
}

/* Portions-Zähler */
.orb-portions-counter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--creme);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.orb-portions-label {
  opacity: 0.8;
}

.orb-portions-btn {
  background-color: var(--terrakotta);
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.orb-portions-btn:hover {
  background-color: var(--dunkelbraun);
  transform: scale(1.1);
}

.orb-portions-display {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  min-width: 2rem;
  text-align: center;
  font-weight: 700;
}

/* Zutatenliste-Wrapper */
.orb-recipe-card-inner__ingredients,
.orb-recipe-card-inner__instructions {
  padding: var(--spacing-md);
}

.orb-recipe-card-inner__ingredients {
  border-bottom: 1px solid rgba(166, 139, 91, 0.15);
}

/* Zutaten-Grid */
.orb-ingredients {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm) var(--spacing-lg);
}

/* Zutaten-Gruppe */
.orb-ingredient-group {
  min-width: 0;
}

.orb-ingredient-group h3 {
  font-family: var(--font-headline);
  font-style: italic;
  color: var(--dunkelgruen);
  font-size: 1rem;
  border-bottom: 1px solid var(--sandbraun);
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
}

/* Zutaten-Liste */
.orb-ingredients ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.orb-ingredients li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(166, 139, 91, 0.2);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0;
}

.orb-ingredients li:last-child {
  border-bottom: none;
}

/* Mengenangabe */
.orb-amount {
  color: var(--terrakotta);
  font-weight: 700;
  min-width: 5rem;
  flex-shrink: 0;
  font-size: 0.95rem;
}

/* Zubereitung / Schritte */
.orb-instructions ol {
  padding: 0;
  counter-reset: step-counter;
  list-style: none;
  margin: 0;
}

/* Einzelner Zubereitungsschritt */
.orb-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(166, 139, 91, 0.15);
  align-items: start;
  margin-bottom: 0;
}

.orb-step:last-child {
  border-bottom: none;
}

/* Schritt-Nummer */
.orb-step__number {
  background-color: var(--terrakotta);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  box-shadow: var(--shadow-sm);
}

/* Schritt-Text */
.orb-step__text {
  color: var(--dunkelbraun);
  line-height: 1.65;
}

/* Tipp-Box */
.orb-tip {
  background-color: #FFF8E7;
  border-left: 3px solid var(--sandbraun);
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--dunkelbraun);
}

.orb-tip::before {
  content: '💡 Tipp: ';
  font-weight: 700;
  color: var(--sandbraun);
}

/* ==========================================================================
   12. TUTTIS ERINNERUNG (.orb-story-memory)
   ========================================================================== */

.orb-story-memory {
  background-color: var(--rosé-beige, #E8C9A0);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  border: 1px solid rgba(139, 46, 46, 0.1);
  /* Papier-artiger Look */
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
}

/* Leichter Papier-Effekt */
.orb-story-memory::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(
    transparent,
    transparent 27px,
    rgba(166, 139, 91, 0.08) 27px,
    rgba(166, 139, 91, 0.08) 28px
  );
  pointer-events: none;
}

.orb-story-memory__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--weinrot);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.orb-story-memory__content {
  position: relative;
  z-index: 1;
}

.orb-story-memory__heading {
  font-family: var(--font-deko);
  font-size: 1.5rem;
  color: var(--weinrot);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.orb-story-memory__text {
  font-style: italic;
  color: var(--dunkelbraun);
  line-height: 1.75;
}

.orb-story-memory__text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   13. BEWERTUNGS-WIDGET (.orb-rating-widget)
   ========================================================================== */

.orb-rating-widget {
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--hellcreme);
  border-radius: var(--radius-md);
  margin: var(--spacing-md) 0;
  border: 1px solid rgba(166, 139, 91, 0.2);
}

.orb-rating-widget__title {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  color: var(--dunkelbraun);
  margin-bottom: 0.25rem;
}

.orb-rating-widget__subtitle {
  font-size: 0.9rem;
  color: var(--sandbraun);
  margin-bottom: var(--spacing-sm);
}

/* Sterne-Reihe */
.orb-rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--spacing-sm);
}

/* Einzelner Stern */
.orb-rating-star {
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--sandbraun);
  transition: color 0.2s ease, transform 0.15s ease;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.orb-rating-star:hover {
  color: var(--terrakotta);
  transform: scale(1.15);
}

.orb-rating-star.active {
  color: var(--terrakotta);
}

/* Bestätigungs-Nachricht */
.orb-rating-widget__feedback {
  font-size: 0.9rem;
  color: var(--dunkelgruen);
  font-weight: 600;
  min-height: 1.5em;
}

/* Durchschnittsbewertung */
.orb-rating-widget__average {
  font-family: var(--font-headline);
  font-size: 2rem;
  color: var(--dunkelbraun);
  margin-bottom: 0.25rem;
}

.orb-rating-widget__count {
  font-size: 0.85rem;
  color: var(--sandbraun);
}

/* ==========================================================================
   14. SIGNATUR (.orb-signature)
   ========================================================================== */

.orb-signature {
  font-family: var(--font-deko);
  font-size: 1.8rem;
  color: var(--terrakotta);
  text-align: right;
  margin-top: var(--spacing-md);
  line-height: 1.3;
}

.orb-signature__name {
  display: block;
}

.orb-signature__title {
  display: block;
  font-size: 1rem;
  color: var(--sandbraun);
  font-family: var(--font-body);
  font-style: italic;
  font-weight: normal;
}

/* ==========================================================================
   15. POST-KARTEN (.orb-post-card)
   ========================================================================== */

.orb-post-card {
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.orb-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Karten-Bild */
.orb-post-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.orb-post-card:hover .orb-post-card__image {
  transform: scale(1.03);
}

/* Bild-Wrapper (für Overflow-Clip) */
.orb-post-card__image-wrap {
  overflow: hidden;
  flex-shrink: 0;
}

.orb-post-card__image-wrap a {
  display: block;
}

/* Karten-Kategorie-Badge */
.orb-post-card__badge {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
}

.orb-post-card__image-wrap {
  position: relative;
}

/* Karten-Body */
.orb-post-card__body {
  padding: var(--spacing-sm);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Karten-Titel */
.orb-post-card__title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}

.orb-post-card__title a {
  color: var(--dunkelbraun);
  text-decoration: none;
  transition: color 0.2s;
}

.orb-post-card__title a:hover {
  color: var(--terrakotta);
  text-decoration: none;
}

/* Karten-Meta */
.orb-post-card__meta {
  font-size: 0.8rem;
  color: var(--sandbraun);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.orb-post-card__meta-sep {
  opacity: 0.5;
}

/* Karten-Auszug */
.orb-post-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
  color: rgba(44, 26, 14, 0.8);
  flex: 1;
}

/* Karten-Footer */
.orb-post-card__footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ==========================================================================
   16. REZEPT-GRID (.orb-recipe-grid)
   ========================================================================== */

.orb-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

/* Variations */
.orb-recipe-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.orb-recipe-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* Featured / großes erstes Element */
.orb-recipe-grid--featured .orb-post-card:first-child {
  grid-column: span 2;
}

/* Abschnitt-Titel über Grid */
.orb-section-title {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  color: var(--dunkelbraun);
  margin-bottom: var(--spacing-md);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--terrakotta);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.orb-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(166, 139, 91, 0.25);
  margin-left: 0.5rem;
}

/* ==========================================================================
   17. SIDEBAR (.orb-sidebar)
   ========================================================================== */

.orb-sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  /* Scrollbar-Styling */
  scrollbar-width: thin;
  scrollbar-color: var(--sandbraun) transparent;
}

.orb-sidebar::-webkit-scrollbar {
  width: 4px;
}

.orb-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.orb-sidebar::-webkit-scrollbar-thumb {
  background: var(--sandbraun);
  border-radius: 4px;
}

/* Sidebar-Widget */
.orb-widget {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Widget-Titel */
.orb-widget__title,
.widget-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  color: var(--dunkelgruen);
  border-bottom: 2px solid var(--terrakotta);
  padding-bottom: 0.5rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

/* Sidebar-Suchefeld */
.orb-widget .search-form {
  display: flex;
  gap: 0.5rem;
}

.orb-widget .search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(166, 139, 91, 0.4);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--hellcreme);
  color: var(--dunkelbraun);
}

/* Populäre Rezepte im Widget */
.orb-widget__recipe-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.orb-widget__recipe-list li {
  border-bottom: 1px solid rgba(166, 139, 91, 0.15);
  margin-bottom: 0;
}

.orb-widget__recipe-list li:last-child {
  border-bottom: none;
}

.orb-widget__recipe-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0;
  text-decoration: none;
  color: var(--dunkelbraun);
  transition: color 0.2s;
}

.orb-widget__recipe-item:hover {
  color: var(--terrakotta);
  text-decoration: none;
}

.orb-widget__recipe-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.orb-widget__recipe-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   18. FOOTER (.orb-footer)
   ========================================================================== */

.orb-footer {
  background-color: var(--dunkelgruen);
  color: var(--creme);
  padding: var(--spacing-lg) 0 0;
  margin-top: auto;
}

/* Footer-Grid */
.orb-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  padding: 0 var(--spacing-md) var(--spacing-lg);
  max-width: var(--max-width);
  margin-inline: auto;
}

/* Footer-Brand */
.orb-footer__brand .orb-logo__omas {
  font-family: var(--font-deko);
  font-size: 2rem;
  color: var(--terrakotta);
  display: block;
  margin-bottom: 0.25rem;
}

.orb-footer__brand .orb-logo__rezeptbuch {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  color: var(--creme);
  font-weight: 700;
  display: block;
  margin-bottom: var(--spacing-sm);
}

.orb-footer__brand .orb-claim {
  font-family: var(--font-deko);
  font-size: 1.2rem;
  color: var(--rosé-beige, #E8C9A0);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.orb-footer__brand p {
  font-size: 0.9rem;
  color: rgba(245, 237, 214, 0.7);
  line-height: 1.6;
}

/* Footer-Signatur */
.orb-footer__signature {
  font-family: var(--font-deko);
  font-size: 1.5rem;
  color: var(--terrakotta);
  margin-top: var(--spacing-sm);
  display: block;
}

/* Footer-Navigation */
.orb-footer__nav h4,
.orb-footer__column h4 {
  font-family: var(--font-headline);
  font-size: 1rem;
  color: var(--creme);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.orb-footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.orb-footer__nav li {
  margin-bottom: 0.5rem;
}

.orb-footer__nav a,
.orb-footer__column a {
  color: var(--rosé-beige, #E8C9A0);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  line-height: 1.5;
}

.orb-footer__nav a:hover,
.orb-footer__column a:hover {
  color: var(--creme);
  text-decoration: underline;
}

/* Social Links */
.orb-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--spacing-sm);
  flex-wrap: wrap;
}

.orb-footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 237, 214, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--creme);
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.orb-footer__social-link:hover {
  background: var(--terrakotta);
  color: white;
  text-decoration: none;
}

/* Footer-Bottom-Leiste */
.orb-footer__bottom {
  border-top: 1px solid rgba(245, 237, 214, 0.15);
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(245, 237, 214, 0.6);
  max-width: var(--max-width);
  margin-inline: auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.orb-footer__bottom a {
  color: rgba(245, 237, 214, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.orb-footer__bottom a:hover {
  color: var(--creme);
}

/* Footer-Bottom umschließend (volle Breite Hintergrund) */
.orb-footer__bottom-wrap {
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
}

/* ==========================================================================
   19. AFFILIATE-DISCLAIMER (.orb-affiliate-disclaimer)
   ========================================================================== */

.orb-affiliate-disclaimer {
  font-size: 0.75rem;
  color: rgba(245, 237, 214, 0.6);
  border: 1px solid rgba(245, 237, 214, 0.2);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  line-height: 1.5;
  margin-top: var(--spacing-sm);
}

.orb-affiliate-disclaimer strong {
  color: rgba(245, 237, 214, 0.8);
}

/* Affiliate-Disclaimer im Artikel (anders gestylt) */
.orb-affiliate-disclaimer--inline {
  background-color: var(--hellcreme);
  border: 1px solid rgba(166, 139, 91, 0.25);
  color: var(--sandbraun);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  margin: var(--spacing-md) 0;
}

/* ==========================================================================
   20. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ── Tablet (max-width: 1024px) ── */
@media (max-width: 1024px) {

  /* Layout: Sidebar ausblenden → Single-Column */
  .orb-main 

  .orb-main--archive 

  .orb-sidebar {
    display: none;
  }

  /* Rezept-Grid: 2 Spalten */
  .orb-recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .orb-recipe-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Featured: kein Span mehr */
  .orb-recipe-grid--featured .orb-post-card:first-child {
    grid-column: span 1;
  }

  /* Footer: 2 Spalten */
  .orb-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
  }

  /* Zutaten: Single Column */
  .orb-ingredients {
    grid-template-columns: 1fr;
  }

  /* Container-Padding anpassen */
  
}

/* ── Mobile (max-width: 768px) ── */
@media (max-width: 768px) {

  /* Typografie skalieren */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  h4 {
    font-size: 1.1rem;
  }

  body {
    font-size: 16px;
  }

  /* Navigation ausblenden → Hamburger */
  .orb-nav {
    display: none;
  }

  .orb-hamburger {
    display: flex;
  }

  /* Geöffnetes Mobile-Menü */
  .orb-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--dunkelgruen);
    padding: var(--spacing-sm);
    box-shadow: var(--shadow-md);
    z-index: 99;
    border-top: 1px solid rgba(245, 237, 214, 0.1);
  }

  .orb-nav.is-open .orb-nav__list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .orb-nav.is-open .orb-nav__list a {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    display: block;
    width: 100%;
  }

  .orb-nav.is-open .orb-nav__list a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Header-Inner kompakter */
  .orb-header__inner {
    padding: 0.6rem var(--spacing-sm);
  }

  .orb-header {
    position: relative; /* Auf Mobile kein sticky (Platz-sparen) */
  }

  /* Rezept-Hero kleiner */
  .orb-recipe-hero {
    min-height: 300px;
  }

  /* Meta-Leiste: vertikal stapeln */
  .orb-recipe-meta-bar {
    flex-direction: column;
    align-items: stretch;
    padding: var(--spacing-sm);
  }

  .orb-recipe-meta-bar .orb-meta-item {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(166, 139, 91, 0.15);
  }

  .orb-recipe-meta-bar .orb-meta-item:last-child {
    margin-left: 0;
    border-bottom: none;
    justify-content: center;
    padding-top: var(--spacing-sm);
  }

  .orb-meta-divider {
    display: none;
  }

  /* Story-Intro: vertikal stapeln */
  .orb-story-intro {
    flex-direction: column;
  }

  .orb-story-intro__avatar {
    align-self: center;
  }

  /* Story-Memory: vertikal stapeln */
  .orb-story-memory {
    flex-direction: column;
  }

  .orb-story-memory__avatar {
    align-self: center;
  }

  /* Rezept-Grid: Single Column */
  .orb-recipe-grid {
    grid-template-columns: 1fr;
  }

  .orb-recipe-grid--2col {
    grid-template-columns: 1fr;
  }

  /* Footer: Single Column */
  .orb-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .orb-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Portions-Counter kleiner */
  .orb-portions-btn {
    width: 32px;
    height: 32px;
  }

  /* Signatur kleiner */
  .orb-signature {
    font-size: 1.4rem;
  }

  /* Container-Padding */
  

  /* Oma-Zitat kleiner */
  .orb-oma-quote {
    font-size: 1.2rem;
  }

  /* Bewertungs-Sterne */
  .orb-rating-star {
    font-size: 2rem;
  }

  /* Schritte: angepasst */
  .orb-step {
    grid-template-columns: 2rem 1fr;
  }
}

/* ── Sehr kleines Mobile (max-width: 480px) ── */
@media (max-width: 480px) {

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .orb-recipe-hero {
    min-height: 250px;
  }

  .orb-recipe-hero h1,
  .orb-recipe-hero__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .orb-logo__omas {
    font-size: 1.4rem;
  }

  .orb-logo__rezeptbuch {
    font-size: 1rem;
  }

  .orb-logo__avatar,
  .orb-logo img {
    width: 40px;
    height: 40px;
  }

  .orb-recipe-card-inner__ingredients,
  .orb-recipe-card-inner__instructions {
    padding: var(--spacing-sm);
  }

  .orb-story-intro,
  .orb-story-memory {
    padding: var(--spacing-sm);
  }

  .orb-rating-star {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   EXTRA: UTILITY-KLASSEN
   ========================================================================== */

/* Screenreader-Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Flex-Helfer */
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm        { gap: var(--spacing-sm); }
.gap-md        { gap: var(--spacing-md); }

/* Spacing-Helfer */
.mt-sm  { margin-top: var(--spacing-sm); }
.mt-md  { margin-top: var(--spacing-md); }
.mb-sm  { margin-bottom: var(--spacing-sm); }
.mb-md  { margin-bottom: var(--spacing-md); }
.my-md  { margin-block: var(--spacing-md); }

/* Text-Helfer */
.text-center    { text-align: center; }
.text-right     { text-align: right; }
.text-small     { font-size: 0.85rem; }
.text-muted     { color: var(--sandbraun); }
.text-terrakotta { color: var(--terrakotta); }
.text-italic    { font-style: italic; }
.text-deko      { font-family: var(--font-deko); }
.text-headline  { font-family: var(--font-headline); }

/* Farb-Helfer */
.bg-hellcreme   { background-color: var(--hellcreme); }
.bg-creme       { background-color: var(--creme); }
.bg-dunkelgruen { background-color: var(--dunkelgruen); }
.bg-terrakotta  { background-color: var(--terrakotta); }

/* Sichtbarkeit */
.hidden { display: none; }
.visible { display: block; }

/* ==========================================================================
   EXTRA: ANIMATIONEN & TRANSITIONS
   ========================================================================== */

/* Sanftes Einblenden beim Laden */
@keyframes orb-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.orb-fade-in {
  animation: orb-fade-in 0.4s ease both;
}

/* Puls-Animation für aktive Bewertungs-Sterne */
@keyframes orb-star-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.orb-rating-star.active {
  animation: orb-star-pop 0.25s ease;
}

/* Sanftes Hover-Shimmer für Karten */
@keyframes orb-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ==========================================================================
   EXTRA: PRINT-STYLES
   ========================================================================== */

@media print {

  /* Header-Sticky deaktivieren */
  .orb-header {
    position: static;
    background: var(--dunkelgruen);
    box-shadow: none;
  }

  /* Navigation, Sidebar, Footer ausblenden */
  .orb-nav,
  .orb-hamburger,
  .orb-sidebar,
  .orb-footer,
  .orb-rating-widget,
  .orb-breadcrumb,
  .orb-recipe-meta-bar .orb-btn,
  .orb-btn {
    display: none;
  }

  /* Single Column beim Drucken */
  .orb-main 

  /* Farben druckfreundlich */
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  /* Hero auf Druckgröße */
  .orb-recipe-hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .orb-recipe-hero__overlay {
    display: none;
  }

  .orb-recipe-hero h1,
  .orb-recipe-hero__title {
    color: black;
    text-shadow: none;
  }

  /* Rezeptkarte druckbar */
  #rezept-karte,
  .orb-recipe-card-inner {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  /* Pagebreaks */
  .orb-story-intro,
  .orb-story-memory,
  .orb-oma-quote {
    break-inside: avoid;
  }

  /* Links sichtbar machen */
  a::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }

  .orb-logo a::after,
  .orb-nav a::after {
    content: none;
  }
}

/* ==========================================================================
   END OF FILE – ORB Theme main.css
   Omas Rezeptbuch | omasrezeptbuch.com
   ========================================================================== */


/* ==========================================================================
   FEHLENDE KLASSEN – ERGÄNZUNG
   ========================================================================== */

/* Posts-Grid (Startseite & Archive) --------------------------------------- */

.orb-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2 Spalten wenn Sidebar daneben */
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

/* Ohne Sidebar: 3 Spalten (z.B. Rezept-Archiv) */
.orb-main--no-sidebar .orb-posts-grid,
.orb-main--recipe .orb-posts-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .orb-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .orb-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* Badge / Kategorie-Label ------------------------------------------------- */

.orb-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.orb-badge--category {
  background-color: var(--terrakotta);
  color: #fff;
}

.orb-badge--category:hover {
  background-color: var(--dunkelgruen);
  color: #fff;
  text-decoration: none;
}

/* Post-Karte vollständig -------------------------------------------------- */

.orb-post-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.orb-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.orb-post-card__thumbnail-link {
  display: block;
  overflow: hidden;
}

.orb-post-card__thumbnail-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.orb-post-card__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.orb-post-card:hover .orb-post-card__thumbnail {
  transform: scale(1.04);
}

.orb-post-card__body {
  padding: var(--spacing-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.orb-post-card__title {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0.4rem 0 0.5rem;
}

.orb-post-card__title a {
  color: var(--dunkelbraun);
  text-decoration: none;
}

.orb-post-card__title a:hover {
  color: var(--terrakotta);
}

.orb-post-card__meta {
  font-size: 0.8rem;
  color: var(--sandbraun);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.orb-post-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--dunkelbraun);
  flex: 1;
  margin-bottom: var(--spacing-sm);
}

.orb-post-card__read-more {
  margin-top: auto;
  color: var(--terrakotta);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.orb-post-card__read-more:hover {
  color: var(--dunkelgruen);
  text-decoration: none;
}

/* Text-Button ------------------------------------------------------------- */

.orb-btn--text {
  background: transparent;
  color: var(--terrakotta);
  padding: 0;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.orb-btn--text:hover {
  color: var(--dunkelgruen);
  text-decoration: underline;
}

/* Kein-Ergebnis-Box ------------------------------------------------------- */

.orb-no-results {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
}

.orb-no-results__emoji {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.orb-no-results__title {
  font-family: var(--font-headline);
  color: var(--dunkelgruen);
  margin-bottom: var(--spacing-sm);
}

/* Archive Header ---------------------------------------------------------- */

.orb-archive-header {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--sandbraun);
}

.orb-archive-header__title {
  font-family: var(--font-headline);
  font-size: 2rem;
  color: var(--dunkelgruen);
  margin-bottom: 0.5rem;
}

.orb-archive-header__intro {
  color: var(--sandbraun);
  font-size: 1rem;
  margin: 0;
}

/* Pagination -------------------------------------------------------------- */

.orb-pagination {
  margin-top: var(--spacing-md);
  display: flex;
  justify-content: center;
}

.orb-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.orb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--hellcreme);
  color: var(--dunkelbraun);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.orb-pagination .page-numbers.current,
.orb-pagination .page-numbers:hover {
  background: var(--terrakotta);
  color: #fff;
}

/* Layout: Content-Area mit Sidebar ---------------------------------------- */

.orb-content-area--with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--spacing-lg);
  align-items: start;
}

@media (max-width: 1024px) {
  .orb-content-area--with-sidebar {
    grid-template-columns: 1fr;
  }
  .orb-sidebar {
    display: none;
  }
}

/* ── HEADER-FIX: Navigation sichtbar, volle Breite ── */
.orb-header {
  background-color: var(--dunkelgruen) !important;
  width: 100% !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}
.orb-header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0.75rem 2rem !important;
  box-sizing: border-box !important;
}
.orb-nav {
  display: block !important;
}
.orb-nav__list {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0.5rem !important;
}
.orb-nav__list a {
  color: var(--creme) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 0.4rem 0.75rem !important;
  border-radius: var(--radius-sm) !important;
  text-decoration: none !important;
  display: block !important;
}
.orb-nav__list a:hover {
  background: rgba(255,255,255,0.15) !important;
  color: var(--rosé-beige, #E8C9A0) !important;
}
/* Hamburger nur Mobile */
.orb-hamburger {
  display: none !important;
}
@media (max-width: 768px) {
  .orb-hamburger {
    display: flex !important;
  }
  .orb-nav {
    display: none !important;
  }
  .orb-nav.is-open {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--dunkelgruen) !important;
    padding: 1rem !important;
    z-index: 99 !important;
  }
  .orb-nav.is-open .orb-nav__list {
    flex-direction: column !important;
  }
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */

.orb-sidebar-widget {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.orb-sidebar-widget__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  color: var(--dunkelgruen);
  border-bottom: 2px solid var(--terrakotta);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Beliebte Beiträge */
.orb-popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.orb-popular-list__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(166,139,91,0.2);
}
.orb-popular-list__item:last-child { border-bottom: none; }
.orb-popular-list__thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.orb-popular-list__info { flex: 1; min-width: 0; }
.orb-popular-list__title {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  color: var(--dunkelbraun);
  display: block;
  line-height: 1.3;
  margin-bottom: 0.2rem;
  text-decoration: none;
}
.orb-popular-list__title:hover { color: var(--terrakotta); }
.orb-popular-list__date {
  font-size: 0.75rem;
  color: var(--sandbraun);
}

/* Kategorien */
.orb-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.orb-category-list__item {
  border-bottom: 1px solid rgba(166,139,91,0.15);
}
.orb-category-list__item:last-child { border-bottom: none; }
.orb-category-list__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  color: var(--dunkelbraun);
  font-size: 0.9rem;
  text-decoration: none;
}
.orb-category-list__link:hover { color: var(--terrakotta); }
.orb-category-list__count {
  background: var(--hellcreme);
  color: var(--sandbraun);
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

/* Oma Tutti Box */
.orb-sidebar-widget--about { text-align: center; }
.orb-sidebar-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--terrakotta);
  margin: 0 auto 0.75rem;
}

/* Sidebar leer */
.orb-sidebar-empty {
  color: var(--sandbraun);
  font-size: 0.85rem;
  font-style: italic;
}

/* Suchformular in Sidebar */
.orb-sidebar .search-form {
  display: flex;
  gap: 0.5rem;
}
.orb-sidebar .search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--sandbraun);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--hellcreme);
  color: var(--dunkelbraun);
}
.orb-sidebar .search-submit {
  background: var(--terrakotta);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
}
.orb-sidebar .search-submit:hover { background: var(--dunkelgruen); }

/* Badge-Fix: nicht volle Breite */
.orb-badge,
.orb-badge--category {
  display: inline-block !important;
  width: auto !important;
  align-self: flex-start !important;
}

/* Navigation im Header */
.orb-nav__list li a {
  white-space: nowrap;
}

/* Scrollbar-Fix: keine horizontale Laufleiste */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
/* box-sizing global */
*, *::before, *::after { box-sizing: border-box; }


/* ==========================================================================
   HORIZONTAL SCROLLBAR FIX
   ========================================================================== */

/* Kein horizontales Scrollen */
html {
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
}

/* Breite Elemente einschränken */
.orb-header,
.orb-footer,
.orb-main,
.orb-breadcrumb {
  width: 100% !important;
  max-width: 100vw !important;
  overflow: hidden !important;
}

/* Plugin-Inhalte (WPRM, orb-recipe) */
.wprm-recipe,
.orb-recipe-card,
#orb-rezept-363 {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Tabellen nicht überlaufen lassen */
table {
  max-width: 100% !important;
  overflow-x: auto !important;
  display: block !important;
}

/* Bilder nie breiter als Container */
img, video, iframe, embed, object {
  max-width: 100% !important;
  height: auto !important;
}

/* pre/code Blöcke scrollen intern */
pre, code {
  max-width: 100% !important;
  overflow-x: auto !important;
  white-space: pre-wrap !important;
}


/* ==========================================================================
   SCROLLBAR-FIX: Kein overflow durch Transforms/Margins
   ========================================================================== */
html, body {
  overflow-x: clip !important;
}

/* Hover-Animationen auf Karten können overflow verursachen */
.orb-post-card:hover,
.orb-recipe-card:hover {
  transform: translateY(-4px) !important;
  /* kein translateX! */
}

/* Sidebar sticky kann overflow auslösen */
.orb-sidebar {
  overflow: visible !important;
  position: relative !important;
}

/* Admin-Bar Kompensation */
body.admin-bar .orb-header {
  top: 32px !important;
}
@media (max-width: 782px) {
  body.admin-bar .orb-header {
    top: 46px !important;
  }
}


/* ==========================================================================
   ADMIN-BAR & EINGELOGGTE USER — Scrollbar-Fix
   ========================================================================== */

/* Admin-Bar ist 32px hoch — sticky Header muss Abstand halten */
body.admin-bar .orb-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .orb-header {
    top: 46px !important;
  }
}

/* Admin-Bar selbst darf keine Scrollbar auslösen */
#wpadminbar {
  overflow: visible !important;
  max-width: 100vw !important;
}

/* Jetpack & Site-Kit Overlays */
#jetpack-boost-score-bar,
.jb-score-bar {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Google Site-Kit Banner */
.googlesitekit-user-input,
.googlesitekit-plugin {
  max-width: 100% !important;
  overflow: hidden !important;
}


/* ==========================================================================
   ORB-RECIPE PLUGIN — Sichtbarkeit sicherstellen
   ========================================================================== */

/* Plugin-Karte immer sichtbar */
.orb-recipe-card,
#orb-rezept-363,
[id^="orb-rezept-"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
}

/* Plugin-Inhalte nicht durch Theme-CSS einengen */
.orb-recipe-card *,
.orb-recipe-card table,
.orb-recipe-card ul,
.orb-recipe-card ol {
  max-width: none !important;
  display: revert !important;
}

/* Tabellen im Plugin normal anzeigen */
.orb-recipe-card table {
  display: table !important;
  width: 100% !important;
}
.orb-recipe-card tr { display: table-row !important; }
.orb-recipe-card td, .orb-recipe-card th { display: table-cell !important; }


/* ==========================================================================
   ADMIN-BAR min-width FIX
   Die WP-Admin-Bar hat min-width:600px eingebaut — das verursacht
   die horizontale Scrollbar für eingeloggte User.
   Normale Besucher sehen dies nie.
   ========================================================================== */
#wpadminbar {
  min-width: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}
