/* Radzentrum Nagold – Buchungsmodul. Designsystem nach radzentrum-nagold.de (Grün #93c119, Schwarz, Poppins, eckig). */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-latin-800-normal.woff2') format('woff2'); }

:root {
  --rz-primary: #93c119;
  --rz-primary-dark: #7ea415;
  --rz-secondary: #000000;
  --rz-dark: #212529;
  --rz-success: #67bd46;
  --rz-danger: #dc3545;
  --rz-warning: #f0ad4e;
  --rz-light: #f8f9fa;
  --rz-gray: #808080;
  --rz-gray-100: #cdcdcd;
  --rz-gray-700: #515151;
  --rz-border: #ced4da;
  --rz-white: #ffffff;
  --rz-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rz-radius: 0;
  --space: 1rem;
  --container: 72rem;
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
body { margin: 0; font-family: var(--rz-font); font-size: 1rem; line-height: 1.5; color: var(--rz-dark); background: var(--rz-white); }
a { color: var(--rz-primary-dark); }
h1, h2, h3 { font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h3 { font-size: 1rem; }
h2.section, .section-title { color: var(--rz-primary); }
p { margin: 0 0 1em; }
.muted { color: var(--rz-gray); }
.small { font-size: .875rem; }
.lead { font-size: 1.05rem; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--space); }

/* Header wie die Hauptseite: helle Leiste, Logo, Menü in Versalien, Telefon-Button rechts */
.site-header { background: var(--rz-light); border-bottom: 1px solid #e9ecef; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space); padding-block: .6rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; color: var(--rz-secondary); text-decoration: none; }
.brand svg, .brand img { height: 3rem; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; color: var(--rz-secondary); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--rz-primary-dark); }
.site-nav .phone { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--rz-border); background: var(--rz-white); color: var(--rz-primary-dark); padding: .45rem .8rem; font-size: .8rem; text-transform: none; font-weight: 600; }
.site-nav .phone svg { width: .9rem; height: .9rem; fill: currentColor; }

/* Seitenkopf wie „WERKSTATT-TERMIN": dunkle Fläche, Titel zentriert */
.page-head { background: var(--rz-dark); color: var(--rz-white); text-align: center; padding-block: 2.2rem; background-image: linear-gradient(135deg, rgba(147,193,25,.18), rgba(0,0,0,0) 60%); }
.page-head h1 { margin: 0; }
.page-head p { margin: .5rem auto 0; max-width: 42rem; color: #dee2e6; }
.site-main { padding-block: 2rem 3rem; }

/* Footer: schwarz, weißes Logo, Linkspalten */
.site-footer { background: var(--rz-secondary); color: var(--rz-white); padding-block: 2rem 1.5rem; margin-top: 2rem; }
.site-footer .container { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.site-footer .brand { color: var(--rz-white); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer nav a { color: var(--rz-white); text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; }
.site-footer nav a:hover { color: var(--rz-primary); }
.site-footer p { margin: 0; color: #adb5bd; font-size: .875rem; }
@media (min-width: 720px) { .site-footer .container { grid-template-columns: auto 1fr auto; align-items: center; } }

/* Buttons: eckig, Versalien, grün / schwarz */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--rz-primary); color: var(--rz-white); border: 1px solid var(--rz-primary); border-radius: var(--rz-radius); padding: .7rem 1.5rem; font: inherit; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--rz-primary-dark); border-color: var(--rz-primary-dark); color: var(--rz-white); }
.btn-secondary { background: var(--rz-secondary); border-color: var(--rz-secondary); }
.btn-secondary:hover { background: var(--rz-gray-700); border-color: var(--rz-gray-700); }
.btn-outline { background: var(--rz-white); color: var(--rz-dark); border-color: var(--rz-dark); }
.btn-outline:hover { background: var(--rz-dark); color: var(--rz-white); }
.btn-danger { background: var(--rz-danger); border-color: var(--rz-danger); }
.btn-lg { padding: .9rem 2rem; font-size: .9rem; }

/* Startseite: Hero dunkel, drei schwarze Karten wie auf der Hauptseite */
.hero { background: var(--rz-dark); color: var(--rz-white); padding-block: 3rem; background-image: radial-gradient(ellipse at 20% 0%, rgba(147,193,25,.25), rgba(0,0,0,0) 55%); }
.hero h1 { color: var(--rz-white); }
.hero .lead { color: #dee2e6; max-width: 40rem; }
.hero .muted { color: #adb5bd; }
.hero .muted a { color: var(--rz-primary); }
.tiles { display: grid; gap: var(--space); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: -2.2rem; }
.tile { background: var(--rz-secondary); color: var(--rz-white); padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.tile h2 { color: var(--rz-white); margin: 0; font-size: 1.05rem; }
.tile p { color: #ced4da; margin: 0; font-size: .95rem; }
.tile .more { margin-top: auto; align-self: flex-end; color: var(--rz-primary); font-weight: 700; }
.tile.soon { opacity: .75; }
.tile svg { width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--rz-primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Leistungskarten */
.cards { display: grid; gap: var(--space); grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin-block: var(--space); }
.card { background: var(--rz-white); border: 1px solid var(--rz-border); padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; transition: box-shadow .3s ease, transform .3s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.card h2 { margin: 0; font-size: 1rem; }
.card p { margin: 0; color: var(--rz-gray-700); font-size: .95rem; }
.card .meta { display: flex; justify-content: space-between; gap: .5rem; font-weight: 700; }
.card .meta .price { color: var(--rz-primary-dark); }
.card .btn { margin-top: auto; align-self: flex-start; }

/* Öffnungszeiten */
.hours { margin-top: 2.5rem; }
.hours-grid { display: grid; gap: var(--space); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.hours-grid > div { border: 1px solid var(--rz-border); padding: 1rem 1.2rem; }
.hours dl { display: grid; grid-template-columns: 3rem 1fr; gap: .2rem .5rem; margin: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }

/* Buchungsschritte */
.crumbs { margin: 0 0 1rem; font-size: .9rem; }
.step { background: var(--rz-white); border: 1px solid var(--rz-border); padding: 1.2rem; margin-block: var(--space); }
.step h2 { display: flex; align-items: center; gap: .6rem; font-size: 1rem; }
.step h2 .num { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--rz-primary); color: var(--rz-white); font-size: .85rem; flex: none; }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
.inline-form label { display: flex; flex-direction: column; gap: .25rem; font-weight: 700; font-size: .85rem; }
.daylist { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: 1rem; }
.chip { display: inline-block; padding: .3rem .7rem; border: 1px solid var(--rz-border); text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--rz-dark); background: var(--rz-white); }
.chip:hover { border-color: var(--rz-dark); }
.chip-active { background: var(--rz-primary); color: var(--rz-white); border-color: var(--rz-primary); }
.slots { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); }
.slot { display: flex; align-items: center; justify-content: center; gap: .35rem; border: 1px solid var(--rz-border); padding: .55rem; cursor: pointer; background: var(--rz-white); font-weight: 600; }
.slot:hover { border-color: var(--rz-dark); }
.slot input { margin: 0; accent-color: var(--rz-primary); }
.slot:has(input:checked) { background: var(--rz-primary); color: var(--rz-white); border-color: var(--rz-primary); }
.slot-busy { color: var(--rz-gray); text-decoration: line-through; cursor: not-allowed; background: var(--rz-light); }
.booking-form label { display: block; font-weight: 700; font-size: .9rem; margin-block: .7rem .2rem; }
.booking-form input[type=text], .booking-form input[type=email], .booking-form input[type=tel], .booking-form input[type=date], .booking-form select, .booking-form textarea, .inline-form input[type=date] { display: block; width: 100%; padding: .6rem .75rem; border: 1px solid var(--rz-border); border-radius: var(--rz-radius); font: inherit; background: var(--rz-white); color: var(--rz-dark); }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus, .inline-form input:focus { outline: 2px solid var(--rz-primary); outline-offset: 1px; border-color: var(--rz-primary); }
.inline-form input[type=date] { width: auto; }
.grid-2 { display: grid; gap: 0 var(--space); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.check { font-weight: 400 !important; display: flex !important; gap: .6rem; align-items: flex-start; }
.check input { margin-top: .3rem; flex: none; accent-color: var(--rz-primary); }
.check span { min-width: 0; }
.hp { position: absolute; left: -9999px; }
.alert { padding: .8rem 1rem; margin-block: var(--space); border-left: 4px solid; }
.alert ul { margin: 0; padding-left: 1.2rem; }
.alert-error { background: #fbe9e7; border-color: var(--rz-danger); color: #7a1a12; }
.alert-ok { background: #eef7e3; border-color: var(--rz-primary); color: #3d5309; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; border: 1px solid var(--rz-border); padding: 1.2rem; }
.details dt { font-weight: 700; color: var(--rz-gray-700); }
.details dd { margin: 0; }
.plain { list-style: none; padding: 0; margin: 0; }
.badge { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .6rem; vertical-align: middle; background: var(--rz-gray-100); color: var(--rz-dark); }
.badge-confirmed { background: var(--rz-primary); color: var(--rz-white); }
.badge-requested { background: var(--rz-warning); color: var(--rz-white); }
.badge-cancelled { background: var(--rz-danger); color: var(--rz-white); }
.badge-done { background: var(--rz-dark); color: var(--rz-white); }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: .4rem 0; font-weight: 600; }
.checklist .ok { color: var(--rz-primary-dark); }
.checklist .fail { color: var(--rz-danger); }
@media (max-width: 600px) {
  .details { grid-template-columns: 1fr; } .details dt { margin-top: .4rem; }
  .site-nav { gap: .8rem; } .site-nav .label { display: none; }
  .brand svg, .brand img { height: 2.4rem; }
  .tiles { margin-top: 1rem; }
  .hero { padding-block: 2rem 1.5rem; }
}

/* Verleih */
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-outline-light { background: transparent; color: var(--rz-white); border-color: var(--rz-white); }
.btn-outline-light:hover { background: var(--rz-white); color: var(--rz-dark); border-color: var(--rz-white); }
.card-img { aspect-ratio: 16 / 9; background: var(--rz-light); display: flex; align-items: center; justify-content: center; margin: -1.2rem -1.2rem .4rem; border-bottom: 1px solid var(--rz-border); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img svg { width: 4rem; height: 4rem; fill: none; stroke: var(--rz-gray-100); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.price-list { list-style: none; padding: 0; margin: .3rem 0; }
.price-list li { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px dashed var(--rz-border); padding: .2rem 0; font-size: .95rem; }
.price-list .price { color: var(--rz-primary-dark); }
.acc-list { padding-left: 1.2rem; }
.mode-switch { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-bottom: .6rem; }
.mode { display: flex !important; gap: .6rem; align-items: flex-start; border: 1px solid var(--rz-border); padding: .7rem .9rem; margin: 0 !important; cursor: pointer; font-weight: 700; }
.mode input { margin-top: .3rem; accent-color: var(--rz-primary); }
.mode small { font-weight: 400; color: var(--rz-gray-700); }
.mode:has(input:checked) { border-color: var(--rz-primary); box-shadow: inset 0 0 0 1px var(--rz-primary); }
.grid-3 { display: grid; gap: 0 var(--space); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.booking-form input[type=number], .booking-form input[type=time] { display: block; width: 100%; padding: .6rem .75rem; border: 1px solid var(--rz-border); font: inherit; background: var(--rz-white); }
.booking-form:has(input[name=modus][value=hour]:checked) .only-day, .booking-form:has(input[name=modus][value=day]:checked) .only-hour { opacity: .45; }
.acc-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.acc { display: flex !important; align-items: center; justify-content: space-between; gap: .6rem; border: 1px solid var(--rz-border); padding: .5rem .8rem; margin: 0 !important; font-weight: 600; }
.acc input { width: 4.5rem !important; }
.calendar summary { cursor: pointer; font-weight: 700; margin-top: .5rem; }
.cal { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .3rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.cal li { display: flex; flex-direction: column; border: 1px solid var(--rz-border); padding: .35rem .5rem; font-size: .8rem; }
.cal li.free strong { color: var(--rz-primary-dark); }
.cal li.full strong { color: var(--rz-danger); }
.cal li.closed { color: var(--rz-gray); background: var(--rz-light); }
.quote { width: 100%; border-collapse: collapse; }
.quote td { padding: .5rem 0; border-bottom: 1px solid var(--rz-border); vertical-align: top; }
.quote .num-col { text-align: right; white-space: nowrap; font-weight: 700; }
.quote .total td { border-bottom: 0; font-weight: 800; font-size: 1.1rem; color: var(--rz-primary-dark); }
