/* Aggeg & Disci – Reinigung Berlin */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --color-bg: #f0f7f8;
  --color-surface: #ffffff;
  --color-primary: #0a3d5c;
  --color-primary-light: #0284c7;
  --color-accent: #059669;
  --color-accent-2: #0ea5e9;
  --color-accent-soft: #d1fae5;
  --color-text: #0f172a;
  --color-muted: #475569;
  --color-border: #e2e8f0;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Outfit", "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 48px rgba(10, 61, 92, 0.12);
  --shadow-card-hover: 0 16px 40px rgba(5, 150, 105, 0.12);
  --max: 1140px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(14, 165, 233, 0.09), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 10%, rgba(5, 150, 105, 0.07), transparent 50%),
    radial-gradient(ellipse 70% 50% at 0% 60%, rgba(2, 132, 199, 0.05), transparent 45%),
    linear-gradient(180deg, #f8fcfd 0%, var(--color-bg) 35%, #f4faf8 100%);
  background-attachment: fixed;
  padding-top: var(--header-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 24px rgba(10, 61, 92, 0.06);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.92;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.lang-switch a {
  color: var(--color-muted);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switch a:hover {
  color: var(--color-primary);
  background: rgba(14, 165, 233, 0.08);
}

.lang-switch a.is-active {
  color: var(--color-primary);
}

.lang-switch__sep {
  color: var(--color-border);
  font-weight: 400;
  user-select: none;
}

.logo span {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
}

.nav-main a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-main a:hover,
.nav-main a.is-active {
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #047857 50%, var(--color-primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(10, 61, 92, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero {
  position: relative;
  padding: 3.5rem 1rem 4.5rem;
  background: linear-gradient(125deg, #0a3d5c 0%, #0d6b4f 42%, #0369a1 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  right: -15%;
  top: -25%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='1' fill='%23ffffff' fill-opacity='.12'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero .lead {
  font-size: 1.125rem;
  opacity: 0.95;
  margin: 0 0 1.5rem;
  max-width: 36ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  aspect-ratio: 4/3;
}

.hero-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero:hover .hero-img-wrap img {
  transform: scale(1.06);
}

.section {
  padding: 3.5rem 1rem;
}

.section-alt {
  background: var(--color-surface);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  margin: 0 0 0.5rem;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, var(--color-accent-soft), #e0f2fe);
  border-radius: 999px;
}

.section-intro {
  color: var(--color-muted);
  max-width: 60ch;
  margin: 0 0 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(167, 243, 208, 0.9);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(145deg, #e0f2fe, #ecfdf5);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card--media:hover .card-media img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.card--media .card-icon {
  margin-bottom: 0.65rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
}

blockquote.quote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.site-footer {
  background: var(--color-primary);
  color: #e2e8f0;
  padding: 2.5rem 1rem;
  margin-top: auto;
}

.site-footer a {
  color: #7dd3fc;
}

.site-footer a:hover {
  color: #6ee7b7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem 1rem 1.25rem;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 640px) {
  .cookie-inner {
    grid-template-columns: 1fr;
  }
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-cookie-accept {
  background: var(--color-accent);
  color: #fff;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
}

.page-hero {
  padding: 2.75rem 1rem;
  background:
    radial-gradient(ellipse 90% 120% at 100% -10%, rgba(14, 165, 233, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(5, 150, 105, 0.08), transparent 50%),
    linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 40%, #e0f2fe 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
}

.page-hero p {
  margin: 0;
  color: var(--color-muted);
  max-width: 65ch;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: var(--color-primary);
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  color: var(--color-text);
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.price-table th,
.price-table td {
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.price-table th {
  background: var(--color-accent-soft);
  color: var(--color-primary);
}

.calculator {
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.calculator h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.calc-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.calc-result {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

.calc-result small {
  display: block;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--color-surface);
}

.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--color-border);
}

.faq-item div {
  padding: 0 1.25rem 1rem;
  color: var(--color-muted);
}

.blog-list {
  display: grid;
  gap: 1.25rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  background: var(--color-surface);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

@media (max-width: 600px) {
  .blog-card {
    grid-template-columns: 1fr;
  }
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-body h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.blog-card-body h2 a {
  color: var(--color-primary);
  text-decoration: none;
}

.blog-card-body h2 a:hover {
  color: var(--color-accent);
}

.meta {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
  min-height: 280px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed.map-embed-deferred {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
}

.map-placeholder {
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex: 1;
  min-height: 200px;
}

.map-placeholder p {
  margin: 0;
  max-width: 40ch;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-main {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-main.is-open {
    display: block;
  }

  .nav-main ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-main a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-border);
  }
}

.thankyou-box {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 520px;
  margin: 0 auto;
}

.thankyou-box .icon-ok {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.review-grid {
  display: grid;
  gap: 1rem;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.review-card .stars {
  color: #fbbf24;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.review-card .name {
  font-weight: 700;
  color: var(--color-primary);
}

.review-card .role {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.two-col-aside {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col-aside {
    grid-template-columns: 1fr;
  }
}

.aside-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.aside-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--color-primary);
}

body.loading-body {
  padding-top: var(--header-h);
}

/* Buchungskonfigurator (Auftrag zusammenstellen) */
.konf-layout {
  display: grid;
  grid-template-columns: 1fr min(340px, 100%);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .konf-layout {
    grid-template-columns: 1fr;
  }

  .konf-summary-panel {
    position: relative;
    top: auto;
  }
}

.konf-summary-panel {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.konf-summary-box {
  background: linear-gradient(180deg, #fff 0%, #ecfdf5 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.konf-summary-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.konf-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  max-height: 220px;
  overflow-y: auto;
}

.konf-lines li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--color-border);
}

.konf-lines li:last-child {
  border-bottom: none;
}

.konf-lines-empty {
  font-style: italic;
  color: var(--color-muted);
}

.konf-total {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
}

.konf-min-warning {
  font-size: 0.85rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  margin-top: 0.75rem;
}

.konf-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.konf-block h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.konf-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
}

.konf-line:last-child {
  border-bottom: none;
}

.konf-line-title {
  font-weight: 600;
  font-size: 0.98rem;
}

.konf-line-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 400;
}

.konf-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.2rem;
  background: var(--color-bg);
}

.konf-stepper button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.konf-stepper button:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.konf-qty-input {
  width: 2.5rem;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.25rem;
}

.konf-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.konf-check-row input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-accent);
}

.konf-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.konf-radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-weight: 500;
}

.konf-intro-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #e0f2fe;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary-light);
}

.konf-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.konf-form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .konf-form-grid-2,
  .konf-form-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Home: Galerie-Teaser */
.gallery-teaser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .gallery-teaser {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-teaser a {
  text-decoration: none;
  color: inherit;
}

.gallery-teaser-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-teaser-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.gallery-teaser-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-teaser-item span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(10, 61, 92, 0.85));
}

.gallery-teaser-cta {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 0.5rem;
}

/* Galerie-Seite */
.gallery-lead {
  max-width: 62ch;
  margin: 0 0 2rem;
  color: var(--color-muted);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(72px, auto);
  gap: 0.85rem;
}

@media (max-width: 700px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .gallery-mosaic .gallery-cell {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
    min-height: 200px;
  }
}

.gallery-cell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #e2e8f0;
  padding: 0;
  margin: 0;
  border-style: none;
  font: inherit;
  display: block;
  text-align: left;
}

.gallery-cell:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.gallery-cell--sm {
  grid-column: span 3;
  grid-row: span 2;
  min-height: 160px;
}

.gallery-cell--md {
  grid-column: span 4;
  grid-row: span 3;
  min-height: 200px;
}

.gallery-cell--lg {
  grid-column: span 6;
  grid-row: span 4;
  min-height: 280px;
}

.gallery-cell--tall {
  grid-column: span 3;
  grid-row: span 4;
  min-height: 220px;
}

.gallery-cell--wide {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 160px;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-cell:hover img {
  transform: scale(1.06);
}

.gallery-cell .gallery-cell-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  background: linear-gradient(transparent, rgba(10, 24, 41, 0.88));
  pointer-events: none;
}

.gallery-cell .gallery-cell-label small {
  display: block;
  font-weight: 400;
  opacity: 0.92;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 24, 41, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  max-width: min(96vw, 920px);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f172a;
}

.lightbox-inner img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #0f172a;
  display: block;
}

.lightbox-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
}

.lightbox-close:hover {
  background: #fff;
}
