/* ==========================================================================
   teegeschenke-ratgeber.de – Site-Styles (ergänzt Astra, ohne Theme-Dateien zu ändern)
   Präfix: .tg-   Farbwelt: Teegrün · Creme · Bernstein
   ========================================================================== */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/fraunces.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/sourcesans3.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 300 800; font-display: swap; src: url(../fonts/sourcesans3-italic.woff2) format('woff2'); }

:root {
  --tg-green: #2f5d46;
  --tg-green-d: #1f3f30;
  --tg-green-l: #e8f0e6;
  --tg-matcha: #7d9c4c;
  --tg-amber: #98591f;
  --tg-amber-d: #7c4716;
  --tg-amber-l: #f6eadb;
  --tg-cream: #f8f4ec;
  --tg-sand: #efe7d8;
  --tg-line: #e3d8c5;
  --tg-ink: #20241e;
  --tg-text: #363a33;
  --tg-muted: #646a60;
  --tg-white: #fff;
  --tg-radius: 14px;
  --tg-shadow: 0 1px 2px rgba(32, 36, 30, .05), 0 8px 24px -12px rgba(32, 36, 30, .18);
  --tg-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --tg-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* --- Grundtypografie ---------------------------------------------------- */
body, button, input, select, textarea, .ast-button, .ast-custom-button {
  font-family: var(--tg-sans);
}
body { color: var(--tg-text); font-size: 18px; line-height: 1.7; background: var(--tg-cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .entry-title, .site-title, .tg-serif {
  font-family: var(--tg-serif);
  color: var(--tg-ink);
  font-optical-sizing: auto;
  letter-spacing: -.01em;
}
h1, .entry-title { font-weight: 650; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-weight: 600; }
.single .entry-content h2, .page .entry-content h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2rem); line-height: 1.25; margin: 2.2em 0 .6em; }
.single .entry-content h3, .page .entry-content h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.45rem); line-height: 1.3; margin: 1.8em 0 .5em; }
.single .entry-content h4 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.entry-content p, .entry-content li { color: var(--tg-text); }
.entry-content a:not(.tg-btn):not(.tg-tile):not(.tg-picks__name) {
  color: var(--tg-green);
  text-decoration: underline;
  text-decoration-color: rgba(47, 93, 70, .35);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
.entry-content a:not(.tg-btn):not(.tg-tile):hover { color: var(--tg-green-d); text-decoration-color: currentColor; }
::selection { background: #d8e6cf; color: var(--tg-ink); }
.entry-content > p:first-of-type, .tg-lead { font-size: 1.15em; line-height: 1.65; color: var(--tg-ink); }
.single .entry-content ul, .single .entry-content ol { padding-left: 1.2em; }
.entry-content li::marker { color: var(--tg-matcha); }

/* --- Header --------------------------------------------------------------- */
.site-header .main-header-bar, .ast-primary-header-bar, .ast-mobile-header-wrap .ast-primary-header-bar {
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--tg-line);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-title { font-size: 1.45rem !important; font-weight: 650; line-height: 1.1; }
.site-title a, .site-title a:hover { color: var(--tg-ink) !important; display: inline-flex; align-items: center; gap: .55rem; }
.site-title a::before {
  content: '';
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--tg-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 22h26v8a12 12 0 0 1-12 12h-2a12 12 0 0 1-12-12z'/%3E%3Cpath d='M36 25h2a5 5 0 0 1 0 10h-3'/%3E%3Cpath d='M20 9c4 0 7 3 7 8-4 0-7-3-7-8z' fill='%23b9d48f' stroke='%23b9d48f'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.site-title a span.tg-accent, .site-title .tg-accent { color: var(--tg-green); }
.ast-site-identity { padding: 14px 0; }
.main-header-menu .menu-link, .ast-builder-menu-1 .menu-item > .menu-link {
  font-weight: 600; font-size: 1rem; color: var(--tg-ink);
}
.ast-builder-menu-1 .menu-item > .menu-link:hover,
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .menu-item.current-menu-ancestor > .menu-link { color: var(--tg-green); }
.ast-builder-menu-1 .sub-menu { border: 1px solid var(--tg-line) !important; border-radius: 12px; box-shadow: var(--tg-shadow); overflow: hidden; padding: 6px 0; background: #fff; }
.ast-builder-menu-1 .sub-menu .menu-link { font-weight: 500; padding: .55em 1.2em; }
.ast-builder-menu-1 .sub-menu .menu-item:hover > .menu-link { background: var(--tg-green-l); }
.ast-mobile-popup-drawer .ast-mobile-popup-inner, .ast-mobile-header-content { background: #fffdf8; }
.ast-header-break-point .main-header-menu .menu-link { border-bottom: 1px solid var(--tg-line); }
.menu-toggle, .ast-mobile-menu-trigger-minimal { color: var(--tg-green) !important; }
.ast-mobile-header-content .menu-item .menu-link { font-weight: 600; color: var(--tg-ink); }

/* Menüpunkt "Ratgeber finden" als Button */
.ast-builder-menu-1 .menu-item.tg-menu-cta > .menu-link {
  background: var(--tg-green); color: #fff !important; border-radius: 999px; padding: .5em 1.15em; margin-left: .4em; line-height: 1.2;
}
.ast-builder-menu-1 .menu-item.tg-menu-cta > .menu-link:hover { background: var(--tg-green-d); }

/* --- Inhaltscontainer ---------------------------------------------------- */
.ast-separate-container { background: var(--tg-cream); }
.ast-separate-container .ast-article-single, .ast-separate-container .ast-article-post,
.ast-separate-container.ast-single-post .site-main > article, .ast-narrow-container .site-content > .ast-container > #primary article {
  border-radius: var(--tg-radius);
}
.ast-separate-container .ast-article-single:not(.ast-related-post), .ast-separate-container .comments-area {
  box-shadow: var(--tg-shadow); border: 1px solid #ede4d4;
}
.single .entry-header .entry-title, .page .entry-header .entry-title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); line-height: 1.15; }
.single .entry-meta, .single .entry-meta * { color: var(--tg-muted); font-size: .95rem; }
.ast-single-post .entry-header.ast-header-without-markup, .ast-single-post .post-thumb-img-content img { border-radius: 12px; }
.single .post-thumb-img-content img, .single .ast-single-post-featured-section img { border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Breadcrumbs */
.tg-breadcrumb { font-size: .9rem; color: var(--tg-muted); margin: 0 0 1rem; }
.tg-breadcrumb a { color: var(--tg-muted); text-decoration: none; }
.tg-breadcrumb a:hover { color: var(--tg-green); text-decoration: underline; }
.tg-breadcrumb .breadcrumb_last { color: var(--tg-ink); }

/* Meta + Werbehinweis */
.tg-meta { display: flex; align-items: center; gap: .4em; font-size: .92rem !important; color: var(--tg-muted) !important; margin-bottom: 1rem; }
.tg-meta .tg-icon { color: var(--tg-matcha); }
.entry-content p.tg-disclosure {
  font-size: .9rem; line-height: 1.55; color: var(--tg-muted);
  background: var(--tg-sand); border-radius: 10px; padding: .8em 1em; margin-bottom: 1.6em;
}
.tg-disclosure strong { color: var(--tg-ink); }

/* Bilder & Bildunterschriften */
.entry-content .wp-block-image img { border-radius: 12px; }
.entry-content .wp-block-image figcaption, .wp-element-caption { font-size: .8rem; color: var(--tg-muted); text-align: left; margin-top: .4em; }
.wp-element-caption a { color: var(--tg-muted) !important; }
.tg-credit { font-size: .8rem !important; color: var(--tg-muted) !important; margin-top: 2em; }
.tg-credit a { color: var(--tg-muted) !important; }

/* Tabellen */
.entry-content .wp-block-table { overflow-x: auto; margin: 1.8em 0; border-radius: 12px; border: 1px solid var(--tg-line); background: #fff; }
.entry-content .wp-block-table table { border-collapse: collapse; width: 100%; min-width: 520px; margin: 0; font-size: .95rem; border: 0; }
.entry-content .wp-block-table thead { border: 0; }
.entry-content .wp-block-table th { background: var(--tg-green); color: #fff; font-family: var(--tg-sans); font-weight: 600; text-align: left; padding: .75em 1em; border: 0; }
.entry-content .wp-block-table td { padding: .7em 1em; border: 0; border-top: 1px solid var(--tg-line); vertical-align: top; }
.entry-content .wp-block-table tbody tr:nth-child(even) td { background: #fbf8f2; }
.entry-content .wp-block-table td:first-child { font-weight: 600; color: var(--tg-ink); }

/* --- Buttons ---------------------------------------------------------------- */
.tg-btn, .entry-content a.tg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .15em;
  font-family: var(--tg-sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: .8em 1.4em; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none !important; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
}
.tg-btn:hover { transform: translateY(-1px); }
.tg-btn:focus-visible { outline: 3px solid #b9d48f; outline-offset: 2px; }
.tg-btn--amazon, .entry-content a.tg-btn--amazon { background: var(--tg-amber); color: #fff !important; box-shadow: 0 6px 16px -8px rgba(152, 89, 31, .7); }
.tg-btn--amazon:hover { background: var(--tg-amber-d); }
.tg-btn--shop, .entry-content a.tg-btn--shop { background: #fff; border-color: var(--tg-green); color: var(--tg-green) !important; }
.tg-btn--shop:hover { background: var(--tg-green-l); }
.tg-btn--primary, .entry-content a.tg-btn--primary { background: var(--tg-green); color: #fff !important; }
.tg-btn--primary:hover { background: var(--tg-green-d); }
.tg-btn--ghost, .entry-content a.tg-btn--ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .7); color: #fff !important; }
.tg-btn--ghost:hover { background: rgba(255, 255, 255, .25); }
.tg-btn--small, .entry-content a.tg-btn--small { padding: .5em .9em; font-size: .9rem; background: var(--tg-amber); color: #fff !important; border-radius: 8px; }
.tg-btn__star { font-weight: 400; font-size: .8em; margin-left: .1em; opacity: .85; }
.tg-star { color: var(--tg-muted); font-size: .7em; margin-left: .05em; }

/* --- Produktkarte ---------------------------------------------------------- */
.tg-pc {
  display: grid; grid-template-columns: 150px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius);
  box-shadow: var(--tg-shadow); margin: 1.6em 0 2em; overflow: hidden; scroll-margin-top: 100px;
}
.tg-pc__visual {
  position: relative; display: flex; align-items: flex-start; justify-content: center; padding-top: 3.2rem;
  background: var(--tg-green-l); color: var(--tg-green); min-height: 160px;
}
.tg-pc__rank {
  position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--tg-green); color: #fff; font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center; font-family: var(--tg-sans);
}
.tg-pc__body { padding: 1.4rem 1.6rem 1.5rem; min-width: 0; }
.single .entry-content .tg-pc__title, .page .entry-content .tg-pc__title { font-size: 1.35rem; margin: .1em 0 .15em; line-height: 1.25; }
.single .entry-content .tg-pc__text p { margin-bottom: .8em; }
.tg-pc__brand { display: block; font-size: .85rem; color: var(--tg-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6em; }
.tg-pc__text p { margin-bottom: .8em; font-size: 1rem; }
.tg-pc__facts { list-style: none; padding: 0 !important; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: .4em; }
.tg-pc__facts li { background: var(--tg-cream); border: 1px solid var(--tg-line); border-radius: 999px; padding: .15em .75em; font-size: .85rem; color: var(--tg-text); }
.tg-pc__facts li span { color: var(--tg-muted); }
.tg-pc__pc { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin-bottom: 1.1em; }
.tg-pc__lt { display: block; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3em; }
.tg-pc__pros .tg-pc__lt { color: var(--tg-green); }
.tg-pc__cons .tg-pc__lt { color: var(--tg-amber); }
.tg-pc__pc ul { list-style: none; padding: 0 !important; margin: 0; }
.tg-pc__pc li { position: relative; padding-left: 1.4em; font-size: .95rem; line-height: 1.5; margin-bottom: .35em; }
.tg-pc__pros li::before { content: ''; position: absolute; left: 0; top: .35em; width: .9em; height: .9em; border-radius: 50%; background: var(--tg-green-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232f5d46' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.tg-pc__cons li::before { content: ''; position: absolute; left: .2em; top: .75em; width: .55em; height: 2px; background: var(--tg-amber); }
.tg-pc__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6em 1em; }
.tg-pc__price { font-size: .82rem; color: var(--tg-muted); }
.tg-badge {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--tg-amber-l); color: var(--tg-amber-d); padding: .25em .7em; border-radius: 999px; margin-bottom: .5em;
}
.tg-missing { background: #fde8e8; color: #8a1c1c; padding: .5em 1em; border-radius: 8px; }

/* Farbtöne für Icon-Flächen */
.tg-tone--green { background: var(--tg-green-l); color: var(--tg-green); }
.tg-tone--amber { background: var(--tg-amber-l); color: var(--tg-amber); }
.tg-tone--matcha { background: #eef3e1; color: #5c7a2e; }
.tg-tone--sand { background: var(--tg-sand); color: #6e5a3a; }
.tg-tone--rose { background: #f7e9e4; color: #8e4a3a; }
.tg-tone--blue { background: #e6eef0; color: #2e5a66; }

/* Auf-einen-Blick-Box */
.tg-picks { background: #fff; border: 2px solid var(--tg-green); border-radius: var(--tg-radius); padding: 1.2rem 1.4rem; margin: 1.5em 0 2.2em; }
.entry-content .tg-picks__title { font-family: var(--tg-serif); font-size: 1.2rem; font-weight: 600; color: var(--tg-ink); margin: 0 0 .7em; }
.tg-picks ul { list-style: none; padding: 0 !important; margin: 0; }
.tg-picks__item { display: flex; align-items: center; gap: .9em; padding: .7em 0; border-top: 1px solid var(--tg-line); margin: 0 !important; }
.tg-picks__item:first-child { border-top: 0; }
.tg-picks__icon { flex: 0 0 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.tg-picks__txt { flex: 1; min-width: 0; line-height: 1.35; }
.tg-picks__label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--tg-amber-d); }
.entry-content a.tg-picks__name { color: var(--tg-ink); font-weight: 600; text-decoration: none; }
.entry-content a.tg-picks__name:hover { color: var(--tg-green); text-decoration: underline; }

/* --- Hinweisboxen (ratgeber-publish.py) ------------------------------------- */
.tg-note { border-radius: 12px; padding: 1.1em 1.3em 1.1em 1.3em; margin: 1.8em 0; border-left: 5px solid var(--tg-green); background: var(--tg-green-l); }
.tg-note--warn { background: var(--tg-amber-l); border-left-color: var(--tg-amber); }
.tg-note--key { background: #fff; border: 2px solid var(--tg-green); border-left-width: 5px; }
.tg-note__title { display: block; font-family: var(--tg-serif); font-weight: 600; font-size: 1.1rem; color: var(--tg-ink); margin-bottom: .35em; }
.tg-note p:last-child, .tg-note ul:last-child { margin-bottom: 0; }
.tg-note ul { margin: .3em 0 .6em; }
.tg-note p, .tg-note li { font-size: 1rem; }

/* --- FAQ ---------------------------------------------------------------------- */
.tg-faq { margin: 1.4em 0 2em; border-top: 1px solid var(--tg-line); }
.tg-faq details { border-bottom: 1px solid var(--tg-line); }
.tg-faq summary {
  list-style: none; cursor: pointer; padding: 1em 2.4em 1em 0; position: relative;
  font-weight: 700; color: var(--tg-ink); font-size: 1.05rem; line-height: 1.4;
}
.tg-faq summary::-webkit-details-marker { display: none; }
.tg-faq summary::after {
  content: ''; position: absolute; right: .3em; top: 50%; width: 1.4em; height: 1.4em; margin-top: -.7em; border-radius: 50%;
  background: var(--tg-green-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%232f5d46' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 70% no-repeat;
  transition: transform .2s;
}
.tg-faq details[open] summary::after { transform: rotate(180deg); }
.tg-faq summary:hover { color: var(--tg-green); }
.tg-faq summary:focus-visible { outline: 3px solid #b9d48f; outline-offset: 2px; border-radius: 4px; }
.tg-faq__answer { padding: 0 0 1em; }
.tg-faq__answer p { font-size: 1rem; }

/* --- Redaktionsbox & verwandte Artikel ------------------------------------- */
.tg-editorial { display: flex; gap: 1.1em; align-items: flex-start; background: var(--tg-cream); border: 1px solid var(--tg-line); border-radius: var(--tg-radius); padding: 1.3em 1.4em; margin: 2.5em 0 1em; }
.tg-editorial__icon { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--tg-green); color: #fff; display: flex; align-items: center; justify-content: center; }
.tg-editorial__icon .tg-icon { width: 30px; height: 30px; }
.entry-content .tg-editorial__title { font-family: var(--tg-serif); font-weight: 600; font-size: 1.1rem; color: var(--tg-ink); margin: 0 0 .25em; }
.tg-editorial p { font-size: .95rem; margin-bottom: 0; }
.tg-related { margin-top: 3em; }
.entry-content .tg-related__title { font-size: 1.5rem !important; margin-top: 0 !important; }
.tg-related .tg-cards { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tg-related .tg-card__excerpt { display: none; }

/* --- Beitragskarten ----------------------------------------------------------- */
.tg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; margin: 1.5em 0; }
.tg-card { background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--tg-shadow); transition: transform .2s, box-shadow .2s; }
.tg-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(32, 36, 30, .06), 0 16px 32px -16px rgba(32, 36, 30, .3); }
.tg-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tg-green-l); }
.tg-card__media img, .tg-card__img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; transition: transform .4s; }
.tg-card:hover .tg-card__media img { transform: scale(1.04); }
.tg-card__ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--tg-green); }
.tg-card__body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .35em; flex: 1; }
.tg-card__cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tg-amber-d); }
.entry-content .tg-card__title, .tg-card__title { font-size: 1.12rem !important; line-height: 1.3 !important; margin: 0 !important; font-weight: 600; }
.entry-content .tg-card__title a, .tg-card__title a { color: var(--tg-ink) !important; text-decoration: none !important; }
.tg-card__title a::after { content: ''; position: absolute; inset: 0; }
.tg-card { position: relative; }
.tg-card__title a:hover { color: var(--tg-green) !important; }
.entry-content .tg-card__excerpt, .tg-card__excerpt { font-size: .93rem !important; line-height: 1.5; color: var(--tg-muted) !important; margin: 0 !important; }

/* --- Themenkacheln ------------------------------------------------------------ */
.tg-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin: 1.5em 0; }
.entry-content a.tg-tile, .tg-tile {
  display: flex; flex-direction: column; gap: .3em; padding: 1.3rem 1.3rem 1.1rem; background: #fff; border: 1px solid var(--tg-line);
  border-radius: var(--tg-radius); text-decoration: none; color: var(--tg-text); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tg-tile:hover { border-color: var(--tg-green); transform: translateY(-2px); box-shadow: var(--tg-shadow); }
.tg-tile__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--tg-green-l); color: var(--tg-green); display: flex; align-items: center; justify-content: center; margin-bottom: .4em; }
.tg-tile__name { font-family: var(--tg-serif); font-weight: 600; font-size: 1.15rem; color: var(--tg-ink); line-height: 1.25; }
.tg-tile__desc { font-size: .92rem; line-height: 1.45; color: var(--tg-muted); flex: 1; }
.tg-tile__count { font-size: .85rem; font-weight: 700; color: var(--tg-green); margin-top: .4em; }

/* --- Startseite ------------------------------------------------------------------ */
.home .site-content > .ast-container { max-width: 100%; padding: 0; }
.home .entry-content > * { margin-left: auto; margin-right: auto; }
.tg-section { max-width: 1200px; margin: 0 auto; padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 24px; }
.tg-section--sand { max-width: none; background: var(--tg-sand); }
.tg-section--sand > .tg-section__in, .tg-section--green > .tg-section__in { max-width: 1152px; margin: 0 auto; }
.tg-section--green { max-width: none; background: var(--tg-green-d); color: #e9efe6; }
.tg-section__head { max-width: 720px; margin-bottom: 1.8rem; }
.tg-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-amber-d); margin-bottom: .4em; }
.entry-content .tg-section__head h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); line-height: 1.2; margin: 0 0 .4em; }
.tg-section__head p { font-size: 1.08rem; color: var(--tg-muted); }

.tg-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--tg-green-d) var(--tg-hero-img, none) center / cover no-repeat;
}
.tg-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 38, 29, .92) 0%, rgba(20, 38, 29, .78) 45%, rgba(20, 38, 29, .25) 100%); }
.tg-hero__in { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(3.5rem, 2rem + 7vw, 7.5rem) 24px; }
.tg-hero__box { max-width: 640px; }
.entry-content .tg-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 3.2vw, 3.6rem); line-height: 1.08; margin: 0 0 .45em; }
.entry-content .tg-hero p { color: #e6eee3; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.6; }
.tg-hero .tg-eyebrow { color: #c9df9f; }
.tg-hero__cta { display: flex; flex-wrap: wrap; gap: .8em; margin-top: 1.6em; }
.tg-hero__trust { display: flex; flex-wrap: wrap; gap: .5em 1.4em; margin-top: 2em; padding: 0 !important; list-style: none; font-size: .95rem; }
.entry-content .tg-hero__trust li { color: #dfe9d9; display: flex; align-items: center; gap: .4em; margin: 0; }
.tg-hero__trust .tg-icon { color: #b9d48f; }
.tg-hero__credit { position: absolute; right: 10px; bottom: 6px; font-size: .7rem; color: rgba(255, 255, 255, .65); margin: 0 !important; z-index: 1; }
.entry-content .tg-hero__credit a { color: rgba(255, 255, 255, .75); }

.tg-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.tg-feature { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--tg-radius); padding: 1.5rem; }
.tg-feature .tg-icon { color: #b9d48f; margin-bottom: .6em; }
.entry-content .tg-feature h3 { color: #fff; font-size: 1.2rem; margin: 0 0 .4em; }
.entry-content .tg-feature p { color: #d3ddd0; font-size: .98rem; margin: 0; }
.entry-content .tg-section--green .tg-section__head h2 { color: #fff; }
.tg-section--green .tg-section__head p { color: #c9d5c5; }
.tg-section--green .tg-eyebrow { color: #c9df9f; }

.tg-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
.tg-split img { border-radius: var(--tg-radius); box-shadow: var(--tg-shadow); width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tg-split figure { margin: 0; }
.tg-split figcaption { font-size: .75rem; color: var(--tg-muted); margin-top: .4em; }
.tg-split figcaption a { color: var(--tg-muted) !important; }
.tg-checklist { list-style: none; padding: 0 !important; margin: 1em 0 1.5em; }
.tg-checklist li { position: relative; padding-left: 2em; margin-bottom: .6em; }
.tg-checklist li::before { content: ''; position: absolute; left: 0; top: .25em; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--tg-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.tg-more { margin-top: 1.4em; }

/* --- Kategorie-Archive ------------------------------------------------------------ */
.archive .ast-archive-description { background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); box-shadow: var(--tg-shadow); padding: 2rem 2.2rem; margin-bottom: 2rem; }
.archive .ast-archive-description .ast-archive-title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: .4em; }
.archive .ast-archive-description p { font-size: 1.05rem; color: var(--tg-text); max-width: 760px; }
.archive .ast-separate-container .ast-article-post, .blog .ast-article-post { border-radius: var(--tg-radius); }
.ast-separate-container .ast-article-post.ast-grid-common-col, .ast-blog-layout-4-grid .ast-article-post .ast-article-inner {
  background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); box-shadow: var(--tg-shadow); overflow: hidden;
}
.ast-blog-layout-4-grid .ast-article-inner .post-thumb-img-content img, .archive .ast-article-post .post-thumb-img-content img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.archive .entry-title a, .blog .entry-title a { color: var(--tg-ink); }
.archive .entry-title a:hover, .blog .entry-title a:hover { color: var(--tg-green); }
.ast-pagination .page-numbers.current { background: var(--tg-green); border-color: var(--tg-green); }

/* --- Formular -------------------------------------------------------------------------- */
.tg-form { background: #fff; border: 1px solid var(--tg-line); border-radius: var(--tg-radius); padding: 1.6rem; box-shadow: var(--tg-shadow); margin: 1.5em 0; }
.tg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tg-form__field label { display: block; font-weight: 700; color: var(--tg-ink); margin-bottom: .3em; font-size: .95rem; }
.tg-form input[type=text], .tg-form input[type=email], .tg-form textarea {
  width: 100%; border: 1px solid #cfc4b0; border-radius: 10px; padding: .7em .9em; font-size: 1rem; background: #fffdf8; color: var(--tg-ink);
}
.tg-form input:focus, .tg-form textarea:focus { outline: none; border-color: var(--tg-green); box-shadow: 0 0 0 3px rgba(47, 93, 70, .18); }
.tg-form__check { display: flex; gap: .6em; align-items: flex-start; font-size: .92rem; }
.tg-form__check input { margin-top: .35em; accent-color: var(--tg-green); width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.tg-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tg-form-msg { display: flex; gap: .8em; align-items: flex-start; border-radius: 12px; padding: 1em 1.2em; margin: 1em 0; }
.tg-form-msg--ok { background: var(--tg-green-l); color: var(--tg-green-d); }
.tg-form-msg--err { background: #fbe9e4; color: #7d2b1b; }
.tg-form-msg ul { margin: 0; }
.tg-form-msg p { margin: 0; }

/* --- Bildnachweise ---------------------------------------------------------------------- */
.tg-credits { list-style: none; padding: 0 !important; display: grid; gap: .8rem; }
.tg-credits li { display: flex; gap: 1em; align-items: center; background: #fff; border: 1px solid var(--tg-line); border-radius: 12px; padding: .7em; font-size: .9rem; line-height: 1.45; }
.tg-credits__img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }

/* --- Footer ----------------------------------------------------------------------------- */
.tg-footer { background: var(--tg-green-d); color: #cbd6c7; padding: 3.5rem 24px 1.5rem; }
.tg-footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 2.2rem; }
.tg-footer a { color: #e6eee2; text-decoration: none; }
.tg-footer a:hover { color: #fff; text-decoration: underline; }
.tg-footer__logo { display: inline-flex; align-items: center; gap: .5em; font-family: var(--tg-serif); font-size: 1.3rem; font-weight: 600; color: #fff !important; margin-bottom: .6em; }
.tg-footer__logo .tg-icon { color: #b9d48f; }
.tg-footer__brand p { font-size: .95rem; line-height: 1.6; }
.tg-footer__title { font-family: var(--tg-serif); color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: .7em; }
.tg-footer ul { list-style: none; margin: 0; padding: 0; }
.tg-footer li { margin-bottom: .45em; font-size: .95rem; line-height: 1.4; }
.tg-footer__note { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: #a9b8a4; }
.site-footer .site-below-footer-wrap, .site-footer .site-primary-footer-wrap, .site-footer .site-above-footer-wrap {
  background: #183226 !important; border-top: 0 !important;
}
.site-footer, .site-footer .ast-footer-copyright, .site-footer .ast-footer-copyright p { color: #a9b8a4 !important; font-size: .88rem; }
.site-footer .footer-widget-area a, .site-footer .menu-link, .site-footer a { color: #d7e1d3 !important; }
.site-footer .menu-link:hover, .site-footer a:hover { color: #fff !important; }
.site-footer .footer-nav-wrap .menu-link { font-size: .88rem; }

/* --- Cookie-Banner (Complianz) Feinschliff ------------------------------------------------ */
.cmplz-cookiebanner { font-family: var(--tg-sans) !important; box-shadow: 0 20px 50px -20px rgba(20, 38, 29, .45) !important; }
.cmplz-cookiebanner .cmplz-title { font-family: var(--tg-serif); font-weight: 600 !important; font-size: 1.1rem !important; color: var(--tg-ink) !important; }
.cmplz-cookiebanner .cmplz-message { line-height: 1.55 !important; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn { font-weight: 700 !important; font-family: var(--tg-sans) !important; }
.cmplz-cookiebanner .cmplz-close { outline: none !important; box-shadow: none !important; }
.cmplz-cookiebanner .cmplz-close:focus-visible { outline: 2px solid var(--tg-green) !important; border-radius: 4px; }
.cmplz-cookiebanner .cmplz-close svg { width: 16px !important; height: 16px !important; }
.cmplz-cookiebanner .cmplz-documents { margin-top: .2em; }
.cmplz-cookiebanner .cmplz-links a.cmplz-link { color: var(--tg-muted) !important; font-size: .82rem !important; }
#cmplz-manage-consent .cmplz-manage-consent { background: #fffdf8 !important; color: var(--tg-ink) !important; border: 1px solid var(--tg-line) !important; font-family: var(--tg-sans) !important; font-weight: 600 !important; }

/* --- Responsive --------------------------------------------------------------------------- */
@media (max-width: 921px) {
  .tg-footer__inner { grid-template-columns: 1fr 1fr; }
  .tg-split { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .tg-pc { grid-template-columns: 1fr; }
  .tg-pc__visual { min-height: 110px; align-items: center; padding-top: 0; }
  .tg-pc__body { padding: 1.2rem 1.15rem 1.3rem; }
  .tg-pc__pc { grid-template-columns: 1fr; gap: .5em; }
  .tg-pc__cta .tg-btn { width: 100%; }
  .tg-picks { padding: 1rem; }
  .tg-picks__item { flex-wrap: wrap; }
  .tg-picks__item .tg-btn { margin-left: calc(48px + .9em); }
  .tg-form__row { grid-template-columns: 1fr; }
  .tg-footer__inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .tg-hero::before { background: linear-gradient(180deg, rgba(20, 38, 29, .78) 0%, rgba(20, 38, 29, .9) 100%); }
  .tg-hero__cta .tg-btn { flex: 1 1 100%; }
  .tg-editorial { flex-direction: column; }
  .site-title { font-size: 1.2rem !important; }
  .site-title a::before { width: 34px; height: 34px; background-size: 24px; border-radius: 10px; }
  .archive .ast-archive-description { padding: 1.4rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-card, .tg-card__media img, .tg-tile, .tg-btn { transition: none; }
}

/* Astra (Vollbreite/page-builder-template) setzt max-width:none auf Kinder von .entry-content → eigene Container erzwingen */
.entry-content .tg-hero__in, .entry-content > .tg-section:not(.tg-section--sand):not(.tg-section--green), .entry-content .tg-section__in { max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; }
.entry-content .tg-section__in { max-width: 1152px !important; }
.entry-content .tg-hero, .entry-content .tg-section--sand, .entry-content .tg-section--green { max-width: none !important; }
.entry-content .tg-hero__credit a, .entry-content .tg-hero__credit { color: rgba(255, 255, 255, .7) !important; text-decoration-color: rgba(255, 255, 255, .4) !important; }
.entry-content .tg-hero p.tg-hero__credit { font-size: .72rem !important; line-height: 1.3; }
