/* Variables */
:root {
  /* --- Typography --- */
  --f-family: 'Raleway', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, sans-serif;
  --f-heading: 'Space Grotesk', sans-serif;

  /* --- Brand Palette --- */
  --brand-color: #44414f;  
  --accent-color: #efbc3a;
  --bg-color: #FAF7F1; 

  /* --- Zuweisungen --- */
  --color-text: var(--brand-color);
  --color-headings: var(--brand-color);
  --color-link: var(--brand-color);
  --color-link-hover: var(--accent-color);

  /* --- Abstände & Größen --- */
  --h1: 2.5rem;
  --h2: 2rem;
  --h3: 1.75rem;
  --h4: 1.5rem;
  --h5: 1.25rem;
  --h6: 1rem;
  --gap: 1.5rem;
}
@media (min-width: 576px) {
  :root {
    --gap: 2rem;
  }
}
@media (min-width: 992px) {
  :root {
    --gap: 3rem;
  }
}
/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
:link,
:visited {
  color: currentColor;
}
html {
  /* Behält dein smooth scrolling und die fluide Schriftgröße bei */
  scroll-behavior: smooth;
  font-size: clamp(
    1rem,
    0.8392857142857143rem + 0.4464285714285714vw,
    1.375rem
  );
  line-height: 1.6;
  
  /* Nutzt deine neue Variable für Raleway */
  font-family: 'Raleway', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, sans-serif;
  font-family: var(--f-family);
  
  /* Wendet deine Hintergrundfarbe an */
  background-color: #FAF7F1;
  background-color: var(--bg-color);
  
  /* Wendet dein Blau-Grau als Standard-Textfarbe an */
  color: #44414f;
  color: var(--color-text);
}
/* Wichtig für Überschriften: Space Grotesk zuweisen */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-family: var(--f-heading);
  color: #44414f;
  color: var(--color-headings);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1.5em 0 0.5em;
  line-height: 1.3;
}
h1 {
  font-size: 2.5rem;
  font-size: var(--h1);
}
h2 {
  font-size: 2rem;
  font-size: var(--h2);
}
h3 {
  font-size: 1.75rem;
  font-size: var(--h3);
}
h4 {
  font-size: 1.5rem;
  font-size: var(--h4);
}
h5 {
  font-size: 1.25rem;
  font-size: var(--h5);
}
h6 {
  font-size: 1rem;
  font-size: var(--h6);
}
small {
  font-size: var(--small);
}
.grid,
.post {
  display: grid;
  grid-template-columns: 1.5rem 1fr minmax(100px, 992px) 1fr 1.5rem;
  grid-template-columns: var(--gap) 1fr minmax(100px, 992px) 1fr var(--gap);
}
.grid > *,
.post > * {
  grid-column: 3 / 4;
}
/* Layout */
nav,
footer {
  padding: 1rem 0;
}
nav ul,
footer ul {
  display: flex;
  gap: 1rem;
  list-style-type: none;
  font-size: var(--small);
}
/* --- FINALE NAVIGATION ZENTRIERUNG --- */
/* 1. Die Liste (.nav) selbst zentrieren */
ul.nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 10px 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
}
ul.nav { /* Zentriert horizontal */ /* Falls der Platz auf dem Handy eng wird */
}
/* 2. Die einzelnen Listenpunkte auf Abstand halten */
ul.nav li {
    margin: 0 10px !important;
    padding: 0 !important;
    display: inline-block !important;
}
/* 3. Die Hyperlinks: "Unsichtbar" (Clean Look) */
ul.nav li a {
    text-decoration: none !important;
    color: #44414f !important;
    color: var(--brand-color) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-family: var(--f-heading) !important;
    font-weight: 400 !important;
    font-size: 1.1rem !important;
    transition: all 0.2s ease-in-out !important;
}
ul.nav li a { /* Dein Blau-Grau */
}
/* 4. Hover-Effekt: Fett und Ocker */
ul.nav li a:hover {
    color: #efbc3a !important;
    color: var(--accent-color) !important;
    font-weight: 600 !important;
}
ul.nav li a:hover { /* Dein Gold/Ocker */
    /* Kleiner Trick: Text-Shadow macht den Text fett, ohne dass er die Nachbarn verschiebt */
    text-shadow: 0.3px 0 0 #efbc3a;
    text-shadow: 0.3px 0 0 var(--accent-color);
}
/* 5. Aktiver Link (Home, wenn man drauf ist) */
ul.nav li.nav-current a {
    color: #efbc3a !important;
    color: var(--accent-color) !important;
    font-weight: 600 !important;
}
header {
  margin-bottom: 3rem;
}
/* Add footer styles here */
/* Pages */
/* Hero Bereich mit großem Logo */
.home-hero {
  padding: 30px 20px;
  text-align: center;
  background-color: #FAF7F1;
  background-color: var(--bg-color);
}
.hero-logo {
  max-width: 25vw; /* Schön groß */
  height: auto;
  margin-bottom: 15px;
}
.hero-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-family: var(--f-heading);
  font-size: max(2rem, min(5vw, 3.5rem));
  color: #44414f;
  color: var(--brand-color);
  margin: 10px 0;
  letter-spacing: -0.03em;
}
.hero-slogan {
  font-family: 'Raleway', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, sans-serif;
  font-family: var(--f-family);
  color: #efbc3a;
  color: var(--accent-color);
  font-size: 1.2rem;
  letter-spacing: 1px;
}
#smart-fuel-container {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 4vw 0;
        font-family: inherit;
    }

    .sf-calc-wrapper {
        width: 100%;
        max-width: 700px;
        color: #44414f;
        background: #FAF7F1;
        padding: 40px;
        
        border-radius: 4px;
    }

    .sf-input-row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 30px;
    }

    .sf-group { flex: 3; min-width: 250px; position: relative; }
    .sf-group-small { flex: 1; min-width: 100px; }

    .sf-label {
        display: block;
        margin-bottom: 8px;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 600;
        opacity: 0.8;
    }

    .sf-input {
        width: 100%;
        padding: 12px;
        color: #FAF7F1;
        background: #44414f;
        font-size: 16px;
        font-family: inherit;
        outline: none;
    }

    .sf-gauge-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 40px 0;
    }

    .sf-gauge {
        width: 240px;
        height: 120px;
        position: relative;
        background: #E2E2E2;
        border-radius: 120px 120px 0 0;
        overflow: hidden;
    }

    .sf-gauge-inner {
        position: absolute;
        top: 15px; left: 15px; right: 15px; bottom: 0;
        background: #FAF7F1;
        border-radius: 105px 105px 0 0;
        z-index: 2;
    }

    .sf-needle {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 3px;
        height: 90px;
        background: #44414F;
        transform-origin: bottom center;
        transform: translateX(-50%) rotate(-90deg);
        transition: transform 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67), background 0.3s;
        z-index: 10;
    }

    .sf-output {
        border-top: 1px solid rgba(68, 65, 79, 0.1);
        padding-top: 30px;
        line-height: 1.8;
        font-size: 1.1rem;
        min-height: 120px;
    }

    .sf-results-list {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border: 1px solid #44414F;
        border-top: none;
        z-index: 100;
        max-height: 200px;
        overflow-y: auto;
        display: none;
    }

    .sf-item {
        padding: 10px 15px;
        cursor: pointer;
        border-bottom: 1px solid #eee;
    }

    .sf-item:hover { background: #F4E7BC; }

:root {
    --hex-width: 260px;
    --hex-height: 300px;
    --hex-gap: 16px;
    --hex-overlap: 75px;
}

.gh-feed--hex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1rem;
    padding-left: calc((var(--hex-width) + var(--hex-gap)) / 2);
}

.gh-card--hex {
    width: var(--hex-width);
    height: var(--hex-height);
    margin-right: var(--hex-gap);
    margin-bottom: calc(var(--hex-overlap) * -0.8) !important;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    background: #44414f;
    cursor: pointer;
    flex-shrink: 0;
}

.gh-card--hex .gh-card-link {
    display: block;
    width: 120%;
    height: 120%;
}

.gh-card--hex .gh-card-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
    max-width: none !important;
    max-height: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transition: transform 0.4s ease, filter 0.4s ease !important;
}

.gh-card--hex .gh-card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0;
    mix-blend-mode: overlay;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.gh-card--hex:hover .gh-card-link::after {
    opacity: 0.35; /* Etwas dezenter für die sanfte Palette */
}

.gh-card--hex:hover .gh-card-image {
    filter: brightness(0.65) contrast(1.1); /* Bild wird dunkler statt unscharf */
    transform: scale(1.1);
}
/* Diese Regel löscht NUR das Label 'Rezepte' aus der Anzeige */
/* Der Post und alle anderen Labels bleiben sichtbar */
.gh-card-tag.tag-rezepte {
    display: none !important;
}

/* Content overlay */
.gh-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20% 1.5rem 0;
    
    /* Nutzt dein Soft Beige #D9B38C */
    background: linear-gradient(
        to bottom,
        rgba(239, 188, 58, 0.9) 0%,   /* Soft Beige startet oben */
        rgba(239, 188, 58, 0.5) 50%, 
        transparent 100%
    );
    
    color: #FAF7F1; /* Reinweiß wie gewünscht */
    z-index: 2;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    pointer-events: none;
}

/* 2. Hover-Zustand: Clip-path öffnet sich blitzartig */
.gh-card--hex:hover .gh-card-content {
    opacity: 1;
    transform: translateY(0);
    /* Das Bild wird unter dem Text wieder leicht scharf durch den Layer */
    backdrop-filter: blur(0px); 
}

/* 3. Titel & Tags - hier lassen wir deine Styles, optimieren nur das Timing */
.gh-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #FAF7F1 !important;
}

.gh-card--hex:hover .gh-card-title {
    transform: translateY(0);
}

/* Die Tags kommen einen Hauch später für den Mosaik-Aufbau-Effekt */
.gh-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.gh-card--hex:hover .gh-card-tags {
    opacity: 1;
}

/* Deine restlichen Styles für Tags und Base Hover bleiben gleich */
.gh-card-tag {
    background: rgba(68, 65, 79, 0.3); /* Dunkler für Kontrast auf Ocker */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.1rem 0.4rem; /* Viel kompakter */
    border-radius: 4px; /* Etwas eckiger passt besser zum Noise-Vibe */
    font-size: 0.5rem; /* Wunsch: Deutlich kleiner */
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(68, 65, 79, 0.1);
}

.gh-card--hex:hover {
    z-index: 10;
    transform: scale(1.03);
    filter: drop-shadow(0 15px 30px rgba(244, 231, 188, 0.4));
}
/* ========================================
   REZEPT-FILTER NAVIGATION
   ======================================== */

.gh-filter-container {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    padding: 0 1rem;
}

.gh-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

/* Die Buttons im "Glas-Look" passend zu deinen Tags */
.filter-btn {
  font-family: 'space grotesk';
    position: relative;
    overflow: hidden;
    background: #FAF7F1; /* Basis: Dein Off-White */
    color: #44414f; /* Dark Blue-Grey Text */
    border: 0.002px solid rgba(68, 65, 79, 0.1);
    border-radius: 12px; /* WUNSCH: Kantig */
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    text-transform: lowercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s ;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

.filter-btn:hover {
    background: #F4E4BC; /* Warm Honey */
    border-color: none;
    transform: translateY(-1.5px);
}

/* Aktiver Zustand (Branding: Dark Blue-Grey) */
.filter-btn.active {
    background: #44414f; 
    color: #FAF7F1; /* Off-White */
    border-color: none;
    box-shadow: 0 4px 12px rgba(68, 65, 79, 0.2);
}

/* ========================================
   FILTER-LOGIK FÜR DIE WABEN
   ======================================== */

.gh-card--hex {
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease !important;
}

/* Waben, die nicht zum Filter passen */
.gh-card--hex.is-filtered {
    opacity: 0.1; /* Sehr dezent im Hintergrund */
    pointer-events: none;
    filter: grayscale(80%) blur(1px); /* Verstärkt den Effekt des "Ausblendens" */
    transform: scale(0.92);
}

/* ========================================
   ROW-BASED OFFSETS (Set by JavaScript)
   ======================================== */

/* Odd rows (1, 3, 5...) - no offset */
.gh-card--hex.row-odd {
    transform: none;
}

/* Even rows (2, 4, 6...) - offset */
.gh-card--hex.row-even {
    transform: translateX(calc((var(--hex-width) + var(--hex-gap)) / -2));
}

/* Hover states */
.gh-card--hex.row-odd:hover {
    transform: scale(1.05);
}

.gh-card--hex.row-even:hover {
    transform: translateX(calc((var(--hex-width) + var(--hex-gap)) / -2)) scale(1.05);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

@media (min-width: 900px) and (max-width: 1099px) {
    :root {
        --hex-width: 210px;
        --hex-height: 242px;
        --hex-gap: 14px;
        --hex-overlap: 60px;
    }
    
    .gh-feed--hex {
        padding-left: calc((var(--hex-width) + var(--hex-gap)) / 2);
    }
}

@media (min-width: 650px) and (max-width: 899px) {
    :root {
        --hex-width: 200px;
        --hex-height: 231px;
        --hex-gap: 14px;
        --hex-overlap: 58px;
    }
    
    .gh-feed--hex {
        padding-left: calc((var(--hex-width) + var(--hex-gap)) / 2);
    }
}

@media (min-width: 480px) and (max-width: 649px) {
    :root {
        --hex-width: 140px;
        --hex-height: 162px;
        --hex-gap: 10px;
        --hex-overlap: 40px;
    }
    
    .gh-feed--hex {
        padding-left: calc((var(--hex-width) + var(--hex-gap)) / 2);
    }
    
    .gh-card-title { font-size: 0.85rem; }
    .gh-card-tag { font-size: 0.6rem; padding: 0.15rem 0.4rem; }
}

@media (max-width: 479px) {
    :root {
        --hex-width: 160px;
        --hex-height: 185px;
        --hex-gap: 12px;
        --hex-overlap: 46px;
    }
    
    .gh-feed--hex {
        padding-left: calc((var(--hex-width) + var(--hex-gap)) / 2);
    }
    
    .gh-card-title { font-size: 0.8rem; }
}

/* ========================================
   PLACEHOLDER HEXAGONS
   ======================================== */
.gh-card--hex.placeholder {
    visibility: hidden;
    pointer-events: none;
    background: transparent !important;
}

.gh-card--hex.placeholder .gh-card-link {
    pointer-events: none;
    background: transparent !important;
}

.gh-card--hex.placeholder .gh-card-image {
    display: none;
}
/* These styles define the layout of the post (and page) */
.post {
  margin-bottom: 3rem;
}
/* These styles define the content of a post (and page). You could add styles for bold font, quotes, etc. */
.post > * {
  margin-bottom: 1rem;
}
[dir="ltr"] .post > ul,[dir="ltr"] 
.post > ol {
  padding-left: 1rem;
}
[dir="rtl"] .post > ul,[dir="rtl"] 
.post > ol {
  padding-right: 1rem;
}
.post > ul,
.post > ol {
  list-style-position: inside;
}
/* Vendor */
/* These styles are required by Ghost 👻 and apply to editor cards. These styles are derived from Ghost defaults: https://ghost.org/docs/themes/content/ */
/* Image Card */
.kg-image-card img {
  max-width: 100%;
  height: auto;
}
/* By using CSS grid, you can have an elegant solution to accomodate wide/full image cards and other embeds */
.kg-width-wide {
  grid-column: 2 / -2;
}
.kg-width-full {
  grid-column: 1 / -1;
}
/* Gallery */
.kg-gallery-card {
  grid-column: 1 / -1;
}
.kg-gallery-card,
.kg-gallery-card * {
  box-sizing: border-box;
}
.kg-gallery-card,
.kg-image-card {
  --gap: 1.2rem;
}
.kg-image-card:not(.kg-card-hascaption) + .kg-image-card,
.kg-image-card:not(.kg-card-hascaption) + .kg-gallery-card,
.kg-gallery-card:not(.kg-card-hascaption) + .kg-image-card,
.kg-gallery-card:not(.kg-card-hascaption) + .kg-gallery-card {
  margin-top: 1.5rem;
  margin-top: var(--gap);
}
.kg-gallery-container {
  position: relative;
}
.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.kg-gallery-image img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}
.kg-gallery-row:not(:first-of-type) {
  margin: 1.5rem 0 0;
  margin: var(--gap) 0 0;
}
.kg-gallery-image:not(:first-of-type) {
  margin: 0 0 0 1.5rem;
  margin: 0 0 0 var(--gap);
}
@media (max-width: 600px) {
  .kg-gallery-card,
  .kg-image-card {
    --gap: 0.6rem;
  }
}
/* Bookmark Card */
.kg-bookmark-card,
.kg-bookmark-card * {
  box-sizing: border-box;
}
.kg-bookmark-card,
.kg-bookmark-publisher {
  position: relative;
  width: 100%;
}
.kg-bookmark-card a.kg-bookmark-container,
.kg-bookmark-card a.kg-bookmark-container:hover {
  display: flex;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid rgba(244, 231, 188, 0.25);
  overflow: hidden;
  color: inherit;
}
.kg-bookmark-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
  overflow: hidden;
}
.kg-bookmark-title {
  font-size: 1.5rem;
  line-height: 1.4em;
  font-weight: 600;
}
.kg-bookmark-description {
  display: -webkit-box;
  font-size: 1.4rem;
  line-height: 1.5em;
  margin-top: 3px;
  font-weight: 400;
  max-height: 44px;
  overflow-y: hidden;
  opacity: 0.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  margin-top: 22px;
  width: 100%;
  font-size: 1.4rem;
  font-weight: 500;
  white-space: nowrap;
}
.kg-bookmark-metadata > *:not(img) {
  opacity: 0.7;
}
.kg-bookmark-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.kg-bookmark-author,
.kg-bookmark-publisher {
  display: inline;
}
.kg-bookmark-publisher {
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 240px;
  white-space: nowrap;
  display: block;
  line-height: 1.65em;
}
.kg-bookmark-metadata > span:nth-of-type(2) {
  font-weight: 400;
}
.kg-bookmark-metadata > span:nth-of-type(2):before {
  content: '•';
  margin: 0 6px;
}
.kg-bookmark-metadata > span:last-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
}
.kg-bookmark-thumbnail {
  position: relative;
  flex-grow: 1;
  min-width: 33%;
}
.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0 2px 2px 0;
}

/*# sourceMappingURL=app.css.map */