:root {
  --primary: #2f6f68;
  --secondary: #dceee9;
  --accent: #d69f62;
  --background: #f7faf8;
  --card: #ffffff;
  --text: #20302d;
  --muted: #60726e;
  --border: rgba(32, 48, 45, 0.12);
  --shadow: 0 24px 70px rgba(27, 64, 58, 0.14);
  --radius: 26px;
  --section-image-opacity: 0.68;
  --header-height: 86px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--text);
  color: white;
  padding: .8rem 1rem;
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1180px, calc(100% - 2.4rem)); margin-inline: auto; }
.narrow { max-width: 840px; }
.section { position: relative; padding: clamp(4.6rem, 8vw, 8rem) 0; overflow: clip; }
.section-content { position: relative; z-index: 2; }
.section-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: var(--section-image-opacity);
}
.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--background) 38%, transparent);
}
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading h2, .about-copy h2, .contact-copy h2, .section-extra h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.section-heading > p:last-child, .contact-copy > p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  margin: 0 0 .8rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--primary);
}
.rich-text { white-space: pre-line; }
.rich-formatted p { margin: 0 0 .7rem; }
.rich-formatted p:last-child { margin-bottom: 0; }
.rich-formatted ul, .rich-formatted ol { margin: .45rem 0 .8rem; padding-left: 1.35rem; }
.rich-formatted li + li { margin-top: .25rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  width: min(1240px, calc(100% - 2rem));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; min-width: 0; }
.brand-logo {
  width: var(--logo-size, 62px);
  height: var(--logo-size, 62px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--accent)));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--primary) 30%, transparent);
  font-weight: 850;
  letter-spacing: .04em;
  font-size: calc(var(--logo-size, 62px) * .34);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; background: white; }
.brand-copy { display: grid; line-height: 1.12; min-width: 0; }
.brand-copy strong { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-copy small { color: var(--muted); margin-top: .28rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: flex; align-items: center; gap: .35rem; }
.main-nav a { text-decoration: none; padding: .7rem .85rem; border-radius: 12px; font-weight: 700; font-size: .95rem; }
.main-nav a:hover, .main-nav a:focus-visible { background: var(--secondary); color: var(--primary); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--secondary); padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--primary); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.header-centered { --header-height: 148px; }
body.header-centered .header-inner { min-height: var(--header-height); flex-direction: column; justify-content: center; gap: .8rem; padding: 1rem 0; }
body.header-centered .brand { flex-direction: column; text-align: center; gap: .45rem; }
body.header-centered .brand-copy small { margin-top: .2rem; }

.hero {
  min-height: min(780px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: center;
  padding: clamp(5rem, 10vw, 9rem) max(1.2rem, calc((100% - 1180px) / 2));
  position: relative;
  background-image: url('/assets/default-hero.svg');
  background-size: cover;
  background-position: center;
  color: white;
  isolation: isolate;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(9, 34, 31, var(--hero-overlay, .34)); z-index: -1; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(9, 34, 31, .22), transparent);
  z-index: -1;
}
.hero-content { max-width: 770px; padding: clamp(1.3rem, 3vw, 2.1rem); border-radius: var(--radius); background: rgba(18, 44, 40, .28); backdrop-filter: blur(7px); border: 1px solid rgba(255,255,255,.22); box-shadow: var(--shadow); }
.hero .eyebrow { color: color-mix(in srgb, white 82%, var(--accent)); }
.hero h1 { margin: 0 0 1.2rem; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .95; letter-spacing: -.06em; text-wrap: balance; }
.hero p:not(.eyebrow) { max-width: 670px; margin: 0 0 2rem; font-size: clamp(1.05rem, 2.1vw, 1.35rem); color: rgba(255,255,255,.92); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .8rem 1.25rem; border: 0; border-radius: 14px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #21180e; box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 38%, transparent); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }

.section-services { background: color-mix(in srgb, var(--secondary) 65%, var(--background)); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-card {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--secondary)));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,34,31,.82), rgba(10,34,31,.08) 72%); z-index: -1; }
.service-card-content { width: 100%; margin: .85rem; padding: 1.2rem; color: white; background: rgba(16, 43, 39, .48); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); border-radius: 18px; }
.service-card h3 { margin: 0 0 .55rem; font-size: 1.35rem; line-height: 1.15; }
.service-card p { margin: 0; color: rgba(255,255,255,.86); }
.service-description { color: rgba(255,255,255,.9); line-height: 1.55; }
.service-description strong { color: white; }

.section-about { background: var(--background); position: relative; overflow: hidden; isolation: isolate; }
.section-gallery { position: relative; overflow: hidden; isolation: isolate; }
.section-about > .container, .section-gallery > .container { position: relative; z-index: 1; }
.section-watermark { position: absolute; z-index: 0; transform: translate(-50%, -50%); pointer-events: none; user-select: none; line-height: 1; }
.section-watermark img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.section-watermark span { display: block; color: var(--primary); font-size: clamp(7rem, 22vw, 24rem); font-weight: 900; letter-spacing: -.08em; white-space: nowrap; }
.about-grid { display: grid; grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.about-media { min-height: 560px; border-radius: calc(var(--radius) + 12px); overflow: hidden; background: linear-gradient(150deg, var(--secondary), color-mix(in srgb, var(--primary) 20%, white)); background-size: cover; background-position: center; box-shadow: var(--shadow); display: grid; place-items: center; }
.about-initials { width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 3rem; font-weight: 850; letter-spacing: .04em; background: var(--primary); box-shadow: 0 22px 60px rgba(18, 61, 56, .28); }
.about-initials[hidden], .about-initials[aria-hidden="true"] { display: none !important; }
.about-copy { font-size: 1.08rem; }
.about-copy .rich-text { color: var(--muted); }

.section-extra { color: white; background: var(--primary); }
.section-extra .section-bg::after { background: rgba(10, 35, 31, .46); }
.section-extra .eyebrow { color: var(--accent); }
.glass-card { background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid rgba(255,255,255,.38); backdrop-filter: blur(15px); border-radius: var(--radius); box-shadow: var(--shadow); }
.section-extra .glass-card { padding: 1.6rem; color: var(--text); }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery-item { grid-column: span 4; border: 0; padding: 0; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); cursor: zoom-in; text-align: left; }
.gallery-item:nth-child(5n + 1), .gallery-item:nth-child(5n + 2) { grid-column: span 6; }
.gallery-item img { width: 100%; height: 330px; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item span { display: block; padding: .8rem 1rem 1rem; color: var(--muted); }

.section-reviews { background: color-mix(in srgb, var(--secondary) 66%, white); }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.2rem; }
.rating-number { font-size: 2rem; font-weight: 850; }
.stars { color: #d9912b; letter-spacing: .08em; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.review-card { padding: 1.4rem; background: color-mix(in srgb, var(--card) 91%, transparent); border: 1px solid rgba(255,255,255,.56); border-radius: 22px; backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.review-card .stars { display: block; margin-bottom: .8rem; }
.review-card blockquote { margin: 0; color: var(--text); white-space: pre-line; }
.review-card footer { margin-top: 1rem; color: var(--muted); font-weight: 750; }

.section-contact { background: var(--primary); color: white; }
.section-contact .section-bg::after { background: rgba(7, 34, 30, .52); }
.section-contact .eyebrow { color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.contact-copy > p { color: rgba(255,255,255,.82); }
.whatsapp-contact-button {
  width: fit-content;
  margin-top: 1.35rem;
  background: #25d366;
  color: #082b17;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .28);
}
.whatsapp-contact-button:hover { background: #2be072; }
.whatsapp-contact-button[hidden] { display: none !important; }
.whatsapp-icon { display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; margin-right: .55rem; border: 2px solid currentColor; border-radius: 50%; font-size: 1rem; line-height: 1; transform: rotate(-18deg); }
.contact-list { display: grid; gap: .75rem; margin-top: 2rem; }
.contact-item { display: flex; gap: .8rem; align-items: flex-start; color: rgba(255,255,255,.92); }
.contact-item strong { min-width: 88px; color: white; }
.contact-item a { text-underline-offset: 3px; }
.contact-form { padding: clamp(1.25rem, 3vw, 2.1rem); color: var(--text); }
.contact-form label { display: grid; gap: .45rem; font-weight: 720; margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, textarea, select { width: 100%; border: 1px solid var(--border); border-radius: 13px; padding: .82rem .9rem; color: var(--text); background: white; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
textarea { resize: vertical; }
.checkbox-line { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; font-size: .9rem; }
.checkbox-line input { width: 18px; height: 18px; margin-top: .18rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.5rem; margin-bottom: .5rem; font-weight: 750; }
.form-status.error { color: #9d271e; }
.form-status.success { color: #196c42; }

.site-footer { background: #14211f; color: rgba(255,255,255,.78); padding: 2rem 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 1.5rem; align-items: center; }
.footer-inner nav { display: flex; gap: 1rem; }
.footer-inner a { text-underline-offset: 4px; }
.footer-inner small { opacity: .62; }

.lightbox { width: min(1100px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); border: 0; padding: 0; border-radius: 24px; overflow: hidden; background: #0f1716; color: white; box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(5, 14, 13, .82); backdrop-filter: blur(7px); }
.lightbox img { width: 100%; max-height: calc(100svh - 8rem); object-fit: contain; }
.lightbox p { margin: 0; padding: 1rem 1.2rem; }
.lightbox-close { position: absolute; right: .8rem; top: .8rem; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.62); color: white; font-size: 1.7rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

.legal-page { min-height: 100vh; background: var(--background); }
.legal-header { padding: 1.2rem 0; background: var(--card); border-bottom: 1px solid var(--border); }
.legal-header a { text-decoration: none; font-weight: 800; color: var(--primary); }
.legal-main { width: min(900px, calc(100% - 2rem)); margin: 0 auto; padding: 4rem 0 6rem; }
.legal-main h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.05em; line-height: 1; }
.legal-card { padding: clamp(1.2rem, 4vw, 2.4rem); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-card h2 { margin-top: 2.2rem; }
.legal-card h2:first-child { margin-top: 0; }

@media (max-width: 920px) {
  :root { --header-height: 76px; }
  body.header-centered { --header-height: 92px; }
  body.header-centered .header-inner { flex-direction: row; padding: 0; }
  body.header-centered .brand { flex-direction: row; text-align: left; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    min-height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    padding: 1.2rem;
    background: color-mix(in srgb, var(--card) 97%, transparent);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .24s ease, visibility .24s ease;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav a { padding: 1rem; font-size: 1.15rem; }
  .service-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { min-height: 420px; }
  .contact-copy { max-width: 700px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner small { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 1.35rem, 1180px); }
  .brand-copy small { display: none; }
  .brand-logo { --logo-size: min(var(--configured-logo-size, 58px), 58px) !important; }
  .hero { min-height: 690px; padding-inline: .7rem; }
  .hero-content { padding: 1.2rem; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .service-grid, .review-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .about-media { min-height: 350px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(5n + 1), .gallery-item:nth-child(5n + 2) { grid-column: auto; }
  .gallery-item img { height: 280px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ================================================================
   Mobile Stabilität und responsive Bildausschnitte – Version 1.5.0
   ================================================================ */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body { position: relative; }
main, .site-footer { width: 100%; max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) {
  main, .site-footer { overflow-x: clip; }
}
.container, .header-inner, .hero-content, .section-content,
.about-grid, .contact-grid, .service-grid, .review-grid, .gallery-grid,
.footer-inner, .contact-form, .contact-copy, .about-copy {
  min-width: 0;
  max-width: 100%;
}
h1, h2, h3, p, a, span, strong, blockquote, .rich-formatted,
.contact-item, .contact-item > *, .footer-inner > * {
  overflow-wrap: anywhere;
  word-break: normal;
}
input, textarea, select, button { min-width: 0; max-width: 100%; }
img { max-inline-size: 100%; height: auto; }

.visual-background,
.section-bg,
.service-image-layer {
  --image-x: var(--image-desktop-x, 50%);
  --image-y: var(--image-desktop-y, 50%);
  --image-scale: var(--image-desktop-scale, 1);
  background-repeat: no-repeat;
  background-size: cover !important;
  background-position: var(--image-x) var(--image-y) !important;
  transform: scale(var(--image-scale));
  transform-origin: center center;
  will-change: transform;
}

.hero { overflow: hidden; background-image: none !important; }
.hero-background { position: absolute; inset: 0; z-index: 0; }
.hero-overlay { z-index: 1; }
.hero::after { z-index: 2; }
.hero-content { position: relative; z-index: 3; }

.section-bg { z-index: 0; }
.section-bg::after { transform: none; }

.service-card { background-repeat: no-repeat; }
.service-image-layer { position: absolute; inset: 0; z-index: 0; }
.service-card::before { z-index: 1; }
.service-card-content { position: relative; z-index: 2; }

.about-media { position: relative; background-image: none !important; }
.about-background { position: absolute; inset: 0; z-index: 0; }
.about-initials { position: relative; z-index: 1; }

.section-watermark { max-width: min(78vw, 620px) !important; }

@media (max-width: 920px) {
  .main-nav {
    inset: var(--header-height) 0 0;
    width: 100%;
    max-width: 100%;
    height: calc(100dvh - var(--header-height));
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translate3d(100%, 0, 0);
  }
  .main-nav.open { transform: translate3d(0, 0, 0); }
}

@media (max-width: 620px) {
  .visual-background,
  .section-bg,
  .service-image-layer {
    --image-x: var(--image-mobile-x, var(--image-desktop-x, 50%));
    --image-y: var(--image-mobile-y, var(--image-desktop-y, 50%));
    --image-scale: var(--image-mobile-scale, var(--image-desktop-scale, 1));
  }
  .hero {
    min-height: max(620px, calc(100svh - var(--header-height)));
    padding-inline: .675rem;
  }
  .hero-content { width: 100%; }
  .about-media { min-height: 0; aspect-ratio: 4 / 3; }
  .service-card { min-height: 300px; }
  .section-watermark {
    max-width: min(72vw, 320px) !important;
  }
  .contact-item { display: grid; grid-template-columns: 1fr; gap: .15rem; }
  .contact-item strong { min-width: 0; }
  .footer-inner nav { max-width: 100%; }
}

/* Off-Canvas-Menü ohne zusätzliche Seitenbreite */
@media (max-width: 920px) {
  .main-nav {
    transform: none !important;
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: clip-path .24s ease, opacity .18s ease, visibility .24s ease;
  }
  .main-nav.open {
    transform: none !important;
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
}

/* Lesbare Umbrüche statt einzelner abgetrennter Buchstaben */
h1, h2, h3, p, blockquote, .rich-formatted {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
a, .contact-item > *, .footer-inner > * { overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.45rem, 12vw, 4.1rem); }
}
