/* Küchengenuss – Ergänzungen zur Webflow-CSS (SEO-Umbau 11/2026). Wird über lib/seo.mjs eingebunden. */

/* Herabgestufte Überschriften, die optisch wie die bisherige H1 aussehen sollen */
.kg-h1 { letter-spacing: -2px; margin-top: 0; margin-bottom: 0; font-family: Centuryschoolbook, Arial, sans-serif; font-size: 4.25rem; font-weight: 400; line-height: 1.15; }
.text-rich-text h2.kg-h1 { margin-top: 24px; margin-bottom: 16px; }
/* herabgestufte Überschriften mit eigener Webflow-Klasse: nur Gewicht und Laufweite wie bisher */
.kg-hk { font-weight: 400; letter-spacing: -2px; }
@media screen and (max-width: 767px) { .kg-h1 { font-size: 2.5rem; } }

/* Footer: Adresse und Öffnungszeiten */
.kg-nap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 40px; font-size: .95rem; line-height: 1.55; }
.kg-nap p { margin: 0 0 10px; }
.kg-nap-title { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 10px; }
.kg-nap-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.kg-nap-link:hover { border-bottom-color: currentColor; }
.kg-nap-row { display: flex; gap: 12px; }
.kg-nap-row span:first-child { min-width: 52px; }
.kg-nap-note { font-size: .85rem; opacity: .8; }
@media screen and (max-width: 479px) { .kg-nap { grid-template-columns: 1fr; } }

/* Neue Seiten (Freitagsplanung, Ortsseiten) */
.kg-section { padding: 96px 0; }
.kg-section.is-tight { padding: 64px 0; }
.kg-section.is-light { background: #f6f1ea; }
.kg-lead { font-size: 1.2rem; line-height: 1.6; max-width: 46rem; }
.kg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.kg-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kg-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kg-card { background: #fff; padding: 28px; border-radius: 4px; }
.kg-section.is-light .kg-card { background: #fff; }
.kg-card h3 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 12px; }
.kg-card p { margin: 0; line-height: 1.6; }
.kg-num { font-family: Centuryschoolbook, Arial, sans-serif; color: #e17a0a; font-size: 2rem; line-height: 1; margin-bottom: 14px; }
.kg-list { margin: 24px 0 0; padding-left: 1.2em; line-height: 1.8; }
.kg-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.kg-split img { width: 100%; height: auto; border-radius: 4px; display: block; }
.kg-highlight { border-left: 3px solid #e17a0a; padding: 4px 0 4px 24px; margin-top: 32px; }
.kg-highlight h3 { margin: 0 0 8px; font-size: 1.35rem; }
.kg-small { font-size: .85rem; opacity: .75; margin-top: 8px; }
.kg-faq details { border-bottom: 1px solid rgba(30, 24, 18, .15); padding: 18px 0; }
.kg-faq summary { cursor: pointer; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.kg-faq summary::-webkit-details-marker { display: none; }
.kg-faq summary::after { content: '+'; color: #e17a0a; font-size: 1.4rem; line-height: 1; }
.kg-faq details[open] summary::after { content: '–'; }
.kg-faq details p { margin: 12px 0 0; line-height: 1.65; max-width: 48rem; }
.kg-form { background: #fff; padding: 32px; border-radius: 4px; }
.kg-form label { display: block; font-size: .85rem; margin: 14px 0 6px; }
.kg-form input, .kg-form select, .kg-form textarea { width: 100%; border: 1px solid rgba(30, 24, 18, .25); border-radius: 2px; padding: 12px 14px; font: inherit; background: #fff; }
.kg-form textarea { min-height: 96px; }
.kg-form .kg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.5; margin-top: 16px; }
.kg-form .kg-consent input { width: auto; margin-top: 3px; }
.kg-form .button { margin-top: 20px; width: 100%; justify-content: center; border: 0; cursor: pointer; }
.kg-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin-top: 16px; }
.kg-map iframe { width: 100%; height: 380px; border: 0; border-radius: 4px; display: block; }
.kg-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.kg-projects a { color: inherit; text-decoration: none; display: block; }
.kg-projects img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.kg-projects h3 { font-size: 1.15rem; line-height: 1.3; margin: 14px 0 6px; }
.kg-projects p { margin: 0; font-size: .95rem; line-height: 1.55; opacity: .8; }
.kg-trust { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; font-size: .95rem; }
.kg-trust span::before { content: '✓'; color: #e17a0a; margin-right: 8px; }
.kg-cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.button.is-secondary.kg-ghost { background: transparent; border: 1px solid currentColor; }
@media screen and (max-width: 991px) {
  .kg-grid, .kg-grid.is-4, .kg-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kg-split { grid-template-columns: 1fr; gap: 40px; }
}
@media screen and (max-width: 767px) {
  .kg-section { padding: 64px 0; }
  .kg-grid, .kg-grid.is-4, .kg-grid.is-2, .kg-projects { grid-template-columns: 1fr; }
  .kg-form { padding: 24px 20px; }
}

/* Startseite mobil: Buttons direkt unter die Überschrift, damit sie ohne Scrollen sichtbar sind */
@media screen and (max-width: 767px) {
  .home-header_content-left { display: flex; flex-direction: column; align-items: flex-start; }
  .home-header_content-left > .tag, .home-header_content-left > h1 { order: 0; }
  .home-header_content-left > .button-group { order: 1; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
  .home-header_content-left > .kg-trust { order: 2; margin-top: 18px; font-size: .85rem; gap: 6px 18px; }
  .home-header_content-left > .spacer-48 { display: none; }
  .home-header_content-left > p, .home-header_content-left > .spacer-32 { order: 3; }
  .home-header_content-left > p { margin-top: 24px; }
}
.kg-trust { color: inherit; }
.home-header_content-left > .button-group { display: flex; flex-wrap: wrap; gap: 12px; }
.home-header_content-left > .button-group > .button { margin: 0; }
/* Umriss-Button auf hellen Flächen dunkel, auf dunklen Hero-Flächen hell */
.kg-section .button.is-secondary.kg-ghost, .kg-local .button.is-secondary.kg-ghost { color: #1e1812; border-color: #1e1812; }
.kg-section .button.is-secondary.kg-ghost:hover { background: #1e1812; color: #fff; }
.section_header-about .button.is-secondary.kg-ghost, .section_home-header .button.is-secondary.kg-ghost { color: #fff; border-color: #fff; }

/* Desktop-Zeilenumbrüche mitten im Satz auf Mobil ausblenden */
@media screen and (max-width: 767px) { br.kg-dbr { display: none; } }

/* Laufbänder (Marquee) und breite Galerien dürfen die Seite auf dem Handy nicht verbreitern */
.rt-portfolio-marquee, .rt-component-container { overflow: hidden; }

/* Leere Webflow-Sammlungen ("No items found.") nicht anzeigen */
.w-dyn-empty { display: none !important; }

/* Galerie mobil zweispaltig statt 50 Bilder untereinander */
@media screen and (max-width: 767px) {
  .w-dyn-items:has(> .w-dyn-item .image-21) { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .w-dyn-items:has(> .w-dyn-item .image-21) .image-21 { width: 100%; height: 160px; padding-bottom: 0; display: block; }
}

/* Mobil: Lesbarkeit und Tap-Flächen */
@media screen and (max-width: 767px) {
  /* 16 px in Formularfeldern verhindert das automatische Hineinzoomen auf dem iPhone */
  input.w-input, select.w-select, textarea.w-input, .form_input, .kg-form input, .kg-form select, .kg-form textarea { font-size: 16px; }
  /* Footer-Links und Kontaktdaten mit mind. 40 px Tap-Fläche */
  .footer_link { display: block; padding: 8px 0; }
  .kg-nap-link { display: inline-block; padding: 6px 0; }
  .kg-nap-title { font-size: .8rem; }
  .kg-nap p { margin-bottom: 6px; }
  /* Podcast-Leiste oben: lesbar und gut antippbar */
  .waves---paragraph-small { font-size: 12px; }
  .waves---icon-text-vertical { padding: 8px 0; }
  /* Breadcrumb */
  .breadcrump_home { display: inline-block; padding: 10px 2px; }
}

/* Eingebettete Videos/Player nie breiter als der Bildschirm */
iframe, video, embed, object { max-width: 100%; }
/* Lange deutsche Wörter (z. B. "Hauswirtschaftsraum") und URLs umbrechen statt die Seite zu verbreitern */
h1, h2, h3, h4, .tag { overflow-wrap: break-word; }
/* Silbentrennung nur in den Kopfzeilen der Unterseiten (lange Einzelwörter wie "Hauswirtschaftsraum") */
@media screen and (max-width: 767px) { .section_header-about .heading-12, .cms-heading { hyphens: auto; -webkit-hyphens: auto; } }
.w-richtext a, .w-richtext p, .w-richtext li { overflow-wrap: anywhere; }
@media screen and (max-width: 767px) {
  .tag { white-space: normal; flex-wrap: wrap; }
  /* Formularfelder inkl. Newsletter-Feld im Footer: 16 px, sonst zoomt iOS beim Antippen */
  input.form_input, textarea.form_input, select.form_input, .w-input, .w-select { font-size: 16px !important; }
  /* Kopfbereich der Unterseiten: Titel etwas kleiner, damit lange Wörter passen */
  .section_header-about .heading-12 { font-size: 2.25rem; line-height: 1.1; }
  /* Blog-Karten unter Artikeln nicht breiter als der Bildschirm */
  .blog_item, .collection-item { max-width: 100%; min-width: 0; }
}

/* Button-Zeile im Kopfbereich der Unterseiten */
.kg-hero-cta { justify-content: center; margin-top: 28px; }
.kg-hero-cta .button.is-secondary.kg-ghost { color: #fff; border-color: #fff; }
@media screen and (max-width: 767px) { .kg-hero-cta { margin-top: 20px; gap: 10px; } .kg-hero-cta .button { padding-left: 18px; padding-right: 18px; } }

/* News-Banner oben (Freitagsplanung) */
.kg-news { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; color: inherit; }
.kg-news-tag { background: #e17a0a; color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 2px; flex-shrink: 0; }
.kg-news .waves---paragraph-small { color: #1e1812; }
.kg-news-more { color: #e17a0a; white-space: nowrap; margin-left: 4px; }
.kg-news:hover .kg-news-more { text-decoration: underline; }

/* Footer: Ortsseiten als Leiste */
.kg-towns-bar { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.kg-towns-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-right: 6px; }
.kg-towns { display: contents; }
.kg-towns .footer_link { display: inline-block; padding: 4px 0; opacity: .85; }
.kg-towns .footer_link:hover { opacity: 1; }

@media screen and (max-width: 767px) {
  .kg-news { justify-content: flex-start; text-align: left; }
  .kg-news .kg-news-long { display: none; }
}
@media screen and (min-width: 768px) { .kg-news .kg-news-short { display: none; } }

/* Slider und Sicherheitsnetz: nichts darf die Seite seitlich verbreitern (clip statt hidden, damit sticky/scroll unberührt bleiben) */
.w-slider-mask, .section_home-testimonial { overflow: hidden; }
html, body { overflow-x: clip; }

/* Ortsseiten: H1 ohne Fettung (Vincent 07.11.2026) */
.heading-12.kg-h1-light { font-weight: 400; hyphens: manual; -webkit-hyphens: manual; }

/* Über uns: Team-Liste mit drei Personen gleichmäßig (Carlotta ergänzt 07.11.2026) */
.uui-section_team04:not(.hide-mobile) .uui-team04_list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.uui-section_team04:not(.hide-mobile) .uui-team04_image-wrapper { aspect-ratio: 4 / 5; overflow: hidden; }
.uui-section_team04:not(.hide-mobile) .uui-team04_image { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .uui-section_team04:not(.hide-mobile) .uui-team04_list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .uui-section_team04:not(.hide-mobile) .uui-team04_list { grid-template-columns: 1fr; } }

/* Vincent 07.11.2026: keine fetten Überschriften auf der ganzen Seite (auch kein <strong>/<b> darin) */
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
h1 strong, h1 b, h2 strong, h2 b, h3 strong, h3 b, h4 strong, h4 b, h5 strong, h5 b, h6 strong, h6 b,
[class*="heading"] strong, [class*="heading"] b { font-weight: inherit; }
