/* Small additions for the static KlangStill site */
/* sticky header turns mid-green once the page scrolls, as on IONOS (site.js adds .ks-scrolled) */
header.section-sticky { transition: background-color .25s ease, box-shadow .25s ease; }
header.section-sticky.ks-scrolled { background-color: #4f8466 !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.ks-map-wrap { margin: 0; padding: 0 0 16px; text-align: center; background: var(--page-background-color, #dce5e5); }
.ks-map-wrap img { display: block; width: 100%; height: auto; aspect-ratio: 960 / 400; object-fit: cover; }
.ks-map-wrap figcaption { padding: 14px 16px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ks-map-credit { font-size: 12px; color: #555; }
.ks-map-credit a { color: inherit !important; }
.ks-map-link { display: inline-block; padding: 12px 22px; border: 1px solid #1b4d2e; border-radius: 999px;
  color: #1b4d2e !important; text-decoration: none; font-weight: 600;
  font-family: var(--theme-fonts-pair-body-family, Nunito), sans-serif; font-size: 16px; }
.ks-map-wrap figcaption, .ks-map-credit { font-family: var(--theme-fonts-pair-body-family, Nunito), sans-serif; }
.ks-map-link:hover, .ks-map-link:focus { text-decoration: underline; }
/* guest card page /karte/ */
.ks-karte { max-width: 560px; margin: 0 auto; font-family: var(--theme-fonts-pair-body-family, Nunito), sans-serif; }
.ks-karte-form label { display: block; font-weight: 600; margin: 18px 0 6px; }
.ks-karte-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ks-karte-row input { flex: 1 1 220px; padding: 12px 14px; font: inherit; font-size: 20px; letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid #8aa; border-radius: 8px; background: #fff; color: #222; }
.ks-karte-row button { padding: 12px 26px; border: 0; border-radius: 999px; background: #114927; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.ks-karte-result { margin-top: 22px; padding: 22px; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.08); color: #333; }
.ks-karte-title { margin: 0 0 6px; color: #114927; font-size: 24px; }
.ks-karte-rest { font-size: 20px; font-weight: 700; margin: 0 0 14px; color: #114927; }
.ks-karte-dots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ks-karte-dots span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #114927; background: #fff; }
.ks-karte-dots span.used { background: #114927; }
@media (max-width: 480px) { .ks-karte-dots { gap: 5px; } .ks-karte-dots span { width: 21px; height: 21px; } }
.ks-karte-sub { font-weight: 700; margin: 0 0 4px; }
.ks-karte-list { margin: 0 0 12px; padding-left: 22px; }
.ks-karte-meta, .ks-karte-msg { font-size: 15px; color: #555; margin: 0; }
.ks-karte-gift { display: inline-block; margin-top: 14px; color: #114927 !important; font-weight: 700; }
/* confirmation box after a form was sent (replaces the form) */
.ks-sent { margin: 12px 0; padding: 28px 22px; background: #fff; color: #114927; border-radius: 14px; text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.18); font-family: var(--theme-fonts-pair-body-family, Nunito), sans-serif; outline: none; }
.ks-sent-icon { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: #114927; color: #fff;
  font-size: 28px; line-height: 52px; font-weight: 700; }
.ks-sent p { margin: 0 0 16px; font-size: 18px; line-height: 1.5; color: #114927 !important; }
.ks-sent-again { padding: 10px 22px; border: 1px solid #114927; border-radius: 999px; background: #fff; color: #114927;
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
form[hidden] { display: none !important; }
.ks-no-dates { grid-column: 1 / -1; text-align: center; font-size: 20px; padding: 24px; }
.form-checkboxes.ks-invalid .form-checkbox-label { color: #b3261e; }
.form-checkboxes.ks-invalid .form-checkbox-icon span { outline: 2px solid #b3261e; }
/* Header photos as in the IONOS screenshots: the photo scrolls with the page on every device. The original
   background-attachment:fixed sized it to the screen (iOS ignores it), so on phones the bowl sat behind the date cards. */
.section-inner[style*="background-attachment:fixed"] { background-attachment: scroll !important; }
/* /preise/ + /gutschein/: full-width block; green band behind intro + buttons only, boxes on the grey page */
body:has(.ks-preise) { overflow-x: clip; }   /* full-width band must never cause a sideways scrollbar */
.ks-preise { margin: -48px calc(50% - 50vw) 40px; padding: 37px max(16px, calc(50vw - 470px)) 40px; background: transparent; color: #fff;
  font-family: var(--theme-fonts-pair-body-family, Nunito), sans-serif; }
/* green band only behind the intro + buttons; it ends halfway between the buttons and the boxes, the boxes sit on
   the grey page background (owner 2026-11-15). --ks-gap = space between button bottom and box top.
   Intro + buttons sit in the vertical middle of the band: 36px green above (37px padding, 1px under the photo) and
   below (half of --ks-gap). Change the two together. */
.ks-preise-head { --ks-gap: 72px; position: relative; isolation: isolate; display: flex; flex-wrap: wrap; gap: 8px 48px;
  align-items: flex-start; margin-bottom: var(--ks-gap); }
.ks-preise-head::before { content: ''; position: absolute; z-index: -1; left: calc(50% - 50vw); width: 100vw;
  top: -37px; bottom: calc(var(--ks-gap) / -2); background: #4f8466; }
.ks-preise-head .ks-preise-btns { margin-bottom: 0; }
.ks-preise-title { flex: 1 1 260px; margin: 0; font-size: 36px; font-weight: 400; color: #fff !important; line-height: 1.2; }
.ks-preise-intro { flex: 1 1 340px; }
.ks-preise-intro p { margin: 0 0 14px; font-size: 17px; line-height: 1.45; color: #fff; }
.ks-preise-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ks-preise .ks-btn { display: inline-block; padding: 10px 18px; border-radius: 6px; background: #114927; color: #fff !important;
  text-decoration: none; font-size: 16px; border: 1px solid #114927; }
.ks-preise .ks-btn:hover, .ks-preise .ks-btn:focus { text-decoration: underline; }
/* price boxes in the Startseite box format (owner 2026-11-15, design A): light box, square corners, soft shadow,
   Nunito Sans heading in dark green, grey text; prices right-aligned under a thin line, all the same size */
.ks-preise-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
@media (min-width: 700px) { .ks-preise-cards.ks-cards-2 { grid-template-columns: 1fr 1fr; } }
.ks-preis { display: flex; flex-direction: column; padding: 24px 20px; background: #dce5e5; border-radius: 0;
  box-shadow: 0 0 15px 3px rgba(0, 0, 0, .2); color: #454545; }
.ks-preis h3 { margin: 0 0 12px; font-family: NunitoSans, Nunito, sans-serif; font-size: 28px; font-weight: 400;
  color: #114927 !important; line-height: 1.2; hyphens: auto; }
.ks-preis > p { flex: 1; margin: 0 0 16px; font-size: 16px; line-height: 1.45; color: #454545; }
.ks-preis-rows { border-top: 1px solid #b9c9c2; padding-top: 10px; }
.ks-preis-rows p { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 16px; line-height: 1.8; color: #454545; }
.ks-preis-rows b { font-weight: 700; color: #114927; white-space: nowrap; }
@media (max-width: 767px) { .ks-preis h3 { font-size: 24px; } }
.ks-preise-note { margin: 22px 0 0; font-size: 14px; color: #454545; }
/* Über mich (owner 2026-11-13): site.js sizes the photo so the upper 20 % shows the plain wall and the lower 80 % the
   bowls; this is only the fallback without JavaScript */
.section-inner[style*="ueber-mich.webp"] { background-position: 50% 45% !important; }
/* Anmeldung header text in the Startseite colours (owner 2026-11-13): light green bold heading, light green link */
.heading-module-8a30a630-79bf-4c2f-9fbb-8ec14d9a82a4 h1 { color: #83d5a7 !important; font-weight: 700 !important; }
.text-cd1157f7-9667-4719-a358-cc4c9eac77f9 a, .text-cd1157f7-9667-4719-a358-cc4c9eac77f9 a span { color: #83d5a7 !important; }
/* header logo image (owner 2026-11-13), replaces the IONOS text logo: light lettering over the dark header photo,
   black on the scrolled mid-green bar and on Über mich (light photo at the top) */
.logo-link .ks-logo { display: block; height: 39px; width: auto; max-width: 100%; }   /* 30 % smaller (owner 2026-11-13) */
/* logo centre on the same level as the menu (desktop: measured equal; phone/tablet: 2px lower to match the menu button) */
@media (max-width: 1023px) { .logo-link .ks-logo { height: 28px; position: relative; top: 2px; } }
.logo-link .ks-logo-dark,
header.ks-scrolled .logo-link .ks-logo-light,
body:has(.section-inner[style*="ueber-mich.webp"]) .logo-link .ks-logo-light { display: none; }
header.ks-scrolled .logo-link .ks-logo-dark,
body:has(.section-inner[style*="ueber-mich.webp"]) .logo-link .ks-logo-dark { display: block; }
/* Startseite (owner 2026-11-15): "Gutschein schenken" beside every "Erlebnis buchen", same colour */
.ks-btn-pair { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; }
.ks-btn-pair[style*="text-align:center"] { justify-content: center; }
.ks-gift-btn { padding: 8px 14px !important; }
.ks-btn-pair .button-primary-button { padding: 8px 14px; }
/* date boxes link to Anmeldung with the date ticked (site.js adds .ks-card + .ks-card-link) */
.ks-card { position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.ks-card:hover, .ks-card:focus-within { transform: translateY(-2px); box-shadow: 0 -16px 32px rgba(0,0,0,.1), 0 6px 16px rgba(0,0,0,.18) !important; }
.ks-card-link { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 10px; text-decoration: none !important; border-radius: 2px; }
.ks-card-link:focus-visible { outline: 2px solid #114927; outline-offset: 2px; }
.ks-card-cta { font-family: var(--theme-fonts-pair-body-family, Nunito), sans-serif; font-size: 15px; font-weight: 700; color: #114927; }
.ks-card { padding-bottom: 38px !important; }
.ks-card:hover .ks-card-cta, .ks-card-link:focus-visible .ks-card-cta { text-decoration: underline; }
/* /gutschein/ (owner 2026-11-15): same green band as /preise/, then steps and the order form */
.ks-gs { max-width: 640px; margin: 0 auto; font-family: var(--theme-fonts-pair-body-family, Nunito), sans-serif; }
.ks-gs-steps { margin: 0 0 28px; padding-left: 22px; }
.ks-gs-steps li { margin-bottom: 6px; line-height: 1.5; }
.ks-gs-form { padding: 22px; background: #fff; border-radius: 0; box-shadow: 0 2px 10px rgba(0,0,0,.08); color: #333; scroll-margin-top: 120px; }
.ks-gs-form h3 { margin: 0 0 12px; color: #114927; font-size: 24px; }
.ks-gs-form fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.ks-gs-form legend { font-weight: 700; color: #114927; margin-bottom: 8px; padding: 0; }
.ks-gs-form label { display: block; margin: 0 0 10px; font-size: 15px; }
.ks-gs-form input[type=text], .ks-gs-form input[type=email], .ks-gs-form input[type=date], .ks-gs-form textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 10px 12px; font: inherit; font-size: 16px;
  border: 1px solid #8aa; border-radius: 6px; background: #fff; color: #222; }
.ks-gs-row { display: flex; gap: 12px; flex-wrap: wrap; }
.ks-gs-row label { flex: 1 1 200px; }
.ks-gs-form .ks-gs-choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #c9d6d0; border-radius: 6px; cursor: pointer; }
.ks-gs-choice input { margin-top: 4px; accent-color: #114927; }
.ks-gs-choice:has(input:checked) { border-color: #114927; background: #eef4f0; }
.ks-gs-direkt { margin-top: 6px; padding-left: 12px; border-left: 3px solid #c9d6d0; }
.ks-gs-direkt[hidden] { display: none; }
.ks-gs-consent { display: flex !important; gap: 10px; align-items: flex-start; }
.ks-gs-consent input { margin-top: 4px; accent-color: #114927; flex: none; }
.ks-gs-form .ks-gs-bad { border-color: #b3261e !important; outline: 2px solid #b3261e; }
.ks-gs-error { color: #b3261e; font-weight: 600; margin: 8px 0; }
.ks-gs-form button { padding: 10px 18px; border: 0; border-radius: 6px; background: #114927; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.ks-gs-form button:disabled { opacity: .7; cursor: default; }
.ks-gs-note { font-size: 13px; color: #555; margin: 12px 0 0; }
.ks-gs-note a { color: #114927 !important; }
.ks-gift-btn:hover, .ks-gift-btn:focus-visible { text-decoration: underline !important; }
/* the Impressum layout shrinks text to ~12px on phones; keep the Gutschein page readable */
.ks-gs > p, .ks-gs-steps li { font-size: 16px !important; line-height: 1.5; }
.ks-gs > p strong { font-size: 18px; }
.ks-gs-form legend, .ks-gs-form button { font-size: 16px !important; }
.ks-preis-rows p:not(:has(b)) { line-height: 1.45; padding-top: 4px; }   /* text-only price line (Unternehmen) wraps tighter */
/* Gutschein page corners (owner 2026-11-15): price boxes + order form square; inputs, choices, buttons and the
   confirmation box 6px like the "Gutschein bestellen" button in the green band */
.ks-gs .ks-sent { border-radius: 6px; }
.ks-gs .ks-sent-again { border-radius: 6px; }
/* Gutschein (owner 2026-11-15): bottom "Gutschein bestellen" button in the same type as the top one */
.ks-gs-form button { font-weight: 400; line-height: 1.45; border: 1px solid #114927; }
