/* ============================================================
   KORGE BAUUNTERNEHMEN — style.css  |  Goldbeck-Style
   Barrierefrei WCAG 2.1 AA  |  Keine externen Ressourcen
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --red:        #CC1F1F;
  --red-dark:   #A51818;
  --dark:       #1A1A1A;
  --mid:        #2C2C2C;
  --muted:      #6B6B6B;
  --border:     #E0E0E0;
  --off:        #F5F5F5;
  --white:      #FFFFFF;
  --green:      #25D366;
  --header-h:   88px;
  --transition: .25s ease;
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; background: var(--white); color: var(--dark); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── BARRIEREFREIHEIT ── */
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--red); color: var(--white); padding: .6rem 1.2rem; font-size: .85rem; font-weight: 700; z-index: 9999; border-radius: 0 0 4px 4px; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
*:focus:not(:focus-visible) { outline: none; }

/* ── HEADER ── */
#site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: var(--white); border-bottom: 1px solid var(--border); z-index: 800; display: flex; align-items: center; }
.header-inner { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 72px; width: 200px; }
.site-logo:hover, .site-logo:focus { text-decoration: none; }

/* ── HAMBURGER BUTTON ── */
.hb-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: .5rem; min-width: 44px; min-height: 44px; flex-shrink: 0; }
.hb-btn span { display: block; width: 26px; height: 2px; background: var(--dark); transition: transform var(--transition), opacity var(--transition); transform-origin: center; }
.hb-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hb-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hb-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HAMBURGER OVERLAY ── */
.hb-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 790; }
.hb-overlay.is-visible { display: block; }

/* ── HAMBURGER NAV ── */
#hb-nav { display: none; position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(360px, 90vw); background: var(--dark); border-left: 4px solid var(--red); z-index: 900; overflow-y: auto; padding: 0 0 3rem; }
#hb-nav.is-open { display: block; }
#hb-nav ul { padding: 0; }
#hb-nav li { border-bottom: 1px solid rgba(255,255,255,.07); }
#hb-nav a { display: block; padding: 1rem 2rem; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); transition: color var(--transition), padding-left var(--transition); }
#hb-nav a:hover, #hb-nav a[aria-current="page"] { color: var(--white); padding-left: 2.4rem; text-decoration: none; }
#hb-nav .hb-cta { border-bottom: none; padding: 2rem; }
#hb-nav .hb-cta a { display: block; background: var(--red); color: var(--white) !important; text-align: center; padding: .9rem 1.5rem; letter-spacing: .1em; transition: background var(--transition); }
#hb-nav .hb-cta a:hover { background: var(--red-dark); padding-left: 1.5rem; }

/* ── MAIN ── */
main { padding-top: var(--header-h); }

/* ── HERO ── */
.hero { position: relative; height: calc(100vh - var(--header-h)); min-height: 500px; overflow: hidden; background: var(--dark); }
.hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 50%, transparent 100%); z-index: 1; }
.hero-text-track { position: absolute; inset: 0; z-index: 2; }
.hero-text-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero-text-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-content { padding: 0 5rem 5rem; max-width: 800px; }
.hero-label { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--red); margin-bottom: 1.2rem; }
.hero-label::before { content: ''; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.hero-content h1 { font-size: clamp(2.8rem, 6vw, 6rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: var(--white); text-transform: uppercase; margin-bottom: 1.2rem; }
.hero-content p { font-size: 1.05rem; color: rgba(255,255,255,.9); max-width: 480px; line-height: 1.7; margin-bottom: 2.2rem; }
.hero-cta { display: inline-flex; align-items: center; gap: .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); border-bottom: 2px solid var(--red); padding-bottom: .2rem; transition: gap var(--transition); }
.hero-cta:hover { gap: 1.1rem; text-decoration: none; }
.hero-cta::after { content: '→'; font-size: 1rem; }
.hero-controls { position: absolute; bottom: 2.5rem; right: 5rem; z-index: 10; display: flex; align-items: center; gap: 1rem; }
.hero-dots { display: flex; gap: .5rem; }
.hero-dot { width: 28px; height: 2px; background: rgba(255,255,255,.35); border: none; cursor: pointer; padding: 10px 5px; box-sizing: content-box; transition: all var(--transition); }
.hero-dot.active { background: var(--white); width: 48px; }
.hero-arrows { display: flex; gap: .4rem; }
.hero-arrow { width: 44px; height: 44px; min-width: 44px; min-height: 44px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: var(--white); font-size: 1.1rem; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.hero-arrow:hover { background: var(--red); border-color: var(--red); }

/* ── ABSCHNITTE ── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 6rem 0; }
.section--dark { background: var(--dark); }
.section--off { background: var(--off); }
.section-label { font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--red); margin-bottom: .9rem; display: flex; align-items: center; gap: .6rem; }
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--red); flex-shrink: 0; }
.section-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; line-height: 1.05; color: var(--dark); margin-bottom: 1rem; }
.section--dark .section-title { color: var(--white); }
.section-text { font-size: 1rem; color: var(--muted); line-height: 1.8; max-width: 560px; }
.section--dark .section-text { color: rgba(255,255,255,.8); }

/* ── ÜBER UNS ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 520px; }
.about-img { position: relative; overflow: hidden; min-height: 400px; background: var(--dark); }
.about-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-text { background: var(--dark); padding: 5rem; display: flex; flex-direction: column; justify-content: center; }
.about-quote { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 1.5rem; border-left: 4px solid var(--red); padding-left: 1.5rem; }
.about-text p { font-size: .97rem; color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 1rem; }

/* ── LEISTUNGEN KACHELN ── */
.leistungen-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 2rem; }
.leistungen-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.kachel { position: relative; background: var(--dark); overflow: hidden; aspect-ratio: 4/3; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: inherit; clip-path: inset(0 round 12px); -webkit-clip-path: inset(0 round 12px); box-shadow: 0 4px 20px rgba(0,0,0,.15); transition: transform .35s ease, box-shadow .35s ease; }
.kachel:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.28); text-decoration: none; }
.kachel::before { content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.18) 50%, transparent 75%); transform: skewX(-15deg); -webkit-transform: skewX(-15deg); transition: left .55s ease; -webkit-transition: left .55s ease; z-index: 3; pointer-events: none; will-change: left; }
.kachel:hover::before { left: 160%; }
.kachel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 60%); transition: opacity .4s; }
.kachel-bg { position: absolute; inset: 0; background: var(--dark); transition: transform .5s ease; }
.kachel-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .4s; }
.kachel:hover .kachel-bg { transform: scale(1.06); }
.kachel:hover .kachel-bg img { opacity: .4; }
.kachel:hover::after { opacity: .85; }
.kachel-body { position: relative; z-index: 2; padding: 1.8rem; }
.kachel-nr { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }
.kachel-nr::before { content: ''; width: 18px; height: 2px; background: var(--red); flex-shrink: 0; }
.kachel h3 { font-size: 1.12rem; font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1.2; margin-bottom: .55rem; }
.kachel-txt { font-size: .82rem; color: rgba(255,255,255,.78); line-height: 1.55; margin-bottom: .8rem; }
.kachel-arrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); background: var(--red); padding: .38rem .85rem; border-radius: 2px; transform: translateY(6px); opacity: 0; transition: all .3s ease; }
.kachel-arrow::after { content: '→'; }
.kachel:hover .kachel-arrow { opacity: 1; transform: none; }

/* ── REFERENZ-SLIDER ── */
.ref-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1.5rem; }
.ref-ctrl { display: flex; gap: .4rem; }
.ref-btn { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border: 1px solid var(--border); background: var(--white); color: var(--dark); cursor: pointer; font-size: 1rem; font-family: inherit; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.ref-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.ref-wrap { overflow: hidden; }
.ref-track { display: flex; gap: .75rem; background: var(--white); transition: transform .55s cubic-bezier(.25,.46,.45,.94); }
.ref-slide { flex-shrink: 0; width: calc(33.333% - .5rem); aspect-ratio: 4/3; overflow: hidden; position: relative; cursor: pointer; background: var(--dark); clip-path: inset(0 round 8px); -webkit-clip-path: inset(0 round 8px); }
.ref-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s, opacity .4s; opacity: .8; }
.ref-slide:hover img { transform: scale(1.05); opacity: 1; }
.ref-slide-ov { position: absolute; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: .25s; }
.ref-slide:hover .ref-slide-ov { opacity: 1; }
.ref-zoom { width: 48px; height: 48px; background: var(--red); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.4rem; }
.ref-cap { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); padding: 2rem 1.2rem .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); opacity: 0; transition: .25s; }
.ref-slide:hover .ref-cap { opacity: 1; }
.ref-dots { display: flex; gap: .4rem; justify-content: center; margin-top: 1.5rem; }
.ref-dot { width: 24px; height: 2px; background: var(--border); border: none; cursor: pointer; border-radius: 2px; padding: 0; transition: all var(--transition); }
.ref-dot.active { background: var(--red); width: 44px; }

/* ── KONTAKT-TEASER ── */
.ct-teaser { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 3rem; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .9rem 2.2rem; border: 2px solid transparent; border-radius: 3px; cursor: pointer; transition: all var(--transition); font-family: inherit; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn--red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn--outline-w { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--outline-w:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn--outline-d { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--outline-d:hover { background: var(--dark); color: var(--white); }
.btn--green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--green:hover { background: #1DAE57; border-color: #1DAE57; color: var(--white); }

/* ── UNTERSEITEN-HERO ── */
.page-hero { position: relative; height: 44vh; min-height: 300px; display: flex; align-items: flex-end; background: var(--dark); overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .35; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%); }
.page-hero-content { position: relative; z-index: 2; padding: 0 2.5rem 3rem; width: 100%; max-width: 1400px; margin: 0 auto; }
.breadcrumb { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); text-decoration: none; }
.breadcrumb .sep { opacity: .4; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; color: var(--white); line-height: 1.05; }

/* ── BACK-LINK ── */
.back-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: .4rem 1rem; border-radius: 2px; margin-bottom: 3rem; transition: color var(--transition), border-color var(--transition), background var(--transition); }
.back-link::before { content: '←'; }
.back-link:hover { color: var(--red); border-color: var(--red); background: rgba(204,31,31,.04); text-decoration: none; }

/* ── LEISTUNGSSEITE ── */
.leistung-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; margin-bottom: 5rem; }
.leistung-split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; clip-path: inset(0 round 10px); -webkit-clip-path: inset(0 round 10px); }
.leistung-split h2 { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; color: var(--dark); margin-bottom: 1.2rem; line-height: 1.1; }
.leistung-split p { font-size: .97rem; color: var(--muted); line-height: 1.85; margin-bottom: 1rem; }

/* ── GALERIE ── */
.gallery-sec { padding-top: 4rem; border-top: 1px solid var(--border); }
.gallery-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.gallery-lbl { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: .5rem; }
.gallery-lbl::before { content: ''; width: 20px; height: 2px; background: var(--red); }
.gallery-ctrl { display: flex; gap: .4rem; }
.gal-btn { width: 40px; height: 40px; min-width: 44px; min-height: 44px; border: 1px solid var(--border); background: var(--white); color: var(--dark); cursor: pointer; font-size: 1rem; font-family: inherit; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.gal-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.gallery-wrap { overflow: hidden; }
.gallery-track { display: flex; gap: .75rem; background: var(--white); transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.gallery-slide { flex-shrink: 0; width: calc(33.333% - .5rem); aspect-ratio: 4/3; overflow: hidden; position: relative; cursor: pointer; clip-path: inset(0 round 8px); -webkit-clip-path: inset(0 round 8px); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-slide:hover img { transform: scale(1.05); }
.gallery-ov { position: absolute; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: .25s; }
.gallery-slide:hover .gallery-ov { opacity: 1; }
.gallery-zoom { width: 44px; height: 44px; background: var(--red); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.3rem; }
.gallery-dots { display: flex; gap: .4rem; justify-content: center; margin-top: 1rem; }
.gallery-dot { width: 20px; height: 2px; background: var(--border); border: none; cursor: pointer; border-radius: 2px; padding: 0; transition: all var(--transition); }
.gallery-dot.active { background: var(--red); width: 38px; }

/* ── LIGHTBOX ── */
#lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 9999; align-items: center; justify-content: center; }
#lightbox.is-open { display: flex; }
.lb-content { position: relative; max-width: 92vw; max-height: 90vh; }
.lb-content img { max-width: 92vw; max-height: 86vh; object-fit: contain; display: block; clip-path: inset(0 round 8px); -webkit-clip-path: inset(0 round 8px); }
.lb-close { position: absolute; top: -3rem; right: 0; background: none; border: none; color: rgba(255,255,255,.8); font-size: 2rem; cursor: pointer; padding: .25rem .5rem; transition: color var(--transition); }
.lb-close:hover { color: var(--red); }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: 1.2rem; width: 52px; height: 52px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-prev:hover, .lb-next:hover { background: var(--red); border-color: var(--red); }
.lb-counter { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.5); color: rgba(255,255,255,.7); font-size: .78rem; padding: .3rem .9rem; border-radius: 2px; }

/* ── KONTAKTSEITE ── */
.ct-g { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: start; }
.ct-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.ct-item:first-child { padding-top: 0; }
.ct-icon { width: 44px; height: 44px; background: var(--off); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ct-lbl { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.ct-val { font-size: .95rem; color: var(--dark); line-height: 1.5; }
.ct-val a { color: var(--dark); }
.ct-val a:hover { color: var(--red); text-decoration: none; }
.form-title { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--dark); margin-bottom: 1.8rem; padding-bottom: .8rem; border-bottom: 3px solid var(--red); display: inline-block; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1rem; }
.fg label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--dark); margin-bottom: .45rem; }
.fg .req { color: var(--red); }
.fc { width: 100%; padding: .82rem 1rem; font-size: .92rem; font-family: inherit; color: var(--dark); background: var(--white); border: 1.5px solid var(--border); outline: none; transition: border-color var(--transition); appearance: none; border-radius: 0; }
.fc:focus { border-color: var(--red); }
.fc.is-invalid { border-color: #C0392B; }
textarea.fc { min-height: 120px; resize: vertical; }
select.fc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.f-err { display: none; font-size: .75rem; color: #C0392B; font-weight: 600; margin-top: .3rem; }
.f-err.is-visible { display: block; }
.f-hp { display: none; }
.dsgvo-box { background: var(--off); border: 1.5px solid var(--border); border-left: 4px solid var(--red); padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.dsgvo-lbl { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; }
.dsgvo-lbl input[type=checkbox] { width: 18px; height: 18px; min-width: 18px; margin-top: 2px; accent-color: var(--red); cursor: pointer; }
.dsgvo-txt { font-size: .85rem; color: var(--dark); line-height: 1.6; }
.dsgvo-txt a { color: var(--red); font-weight: 600; }
.dsgvo-note { font-size: .76rem; color: var(--muted); margin-top: .55rem; line-height: 1.55; padding-left: 1.6rem; }
.f-submit { width: 100%; background: var(--red); color: var(--white); border: none; padding: 1rem 2rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; font-family: inherit; transition: background var(--transition); }
.f-submit:hover { background: var(--red-dark); }
.f-submit:disabled { opacity: .6; cursor: not-allowed; }
.f-success { display: none; background: #EAF7EE; border: 1.5px solid #27AE60; border-left: 4px solid #27AE60; padding: 1.2rem 1.4rem; font-size: .92rem; color: #1a6e3a; line-height: 1.6; margin-top: 1rem; }
.f-success.is-visible { display: block; }
.wa-alt { margin-top: 1.2rem; }
.wa-div { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.wa-div::before, .wa-div::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.wa-div span { font-size: .73rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.wa-full { width: 100%; justify-content: center; padding: 1rem 2rem; }

/* ── AKTUELLES ── */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.nc { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--border); clip-path: inset(0 round 8px); -webkit-clip-path: inset(0 round 8px); overflow: hidden; transition: border-top-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.nc:hover { border-top-color: var(--red); box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
.nc-date { background: var(--off); padding: .85rem 1.3rem; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: .45rem; }
.nc-day { font-size: 1.7rem; font-weight: 900; color: var(--red); line-height: 1; }
.nc-mon { font-size: .75rem; font-weight: 600; color: var(--muted); }
.nc-body { padding: 1.3rem 1.5rem; }
.nc-tag { font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--red); background: rgba(204,31,31,.08); padding: .2rem .55rem; display: inline-block; margin-bottom: .65rem; }
.nc-title { font-size: 1rem; font-weight: 800; color: var(--dark); line-height: 1.35; margin-bottom: .65rem; }
.nc-txt { font-size: .88rem; color: var(--muted); line-height: 1.72; }

/* ── RECHTLICHE SEITEN ── */
.legal { max-width: 720px; }
.legal h2 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--red); margin: 2.5rem 0 .7rem; padding-bottom: .4rem; border-bottom: 1px solid var(--border); }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: .95rem; color: var(--mid); line-height: 1.85; margin-bottom: .7rem; }
.legal a { color: var(--red); }

/* ── COOKIE-BANNER ── */
#cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000; background: var(--dark); border-top: 3px solid var(--red); box-shadow: 0 -4px 30px rgba(0,0,0,.2); }
#cookie-banner.is-visible { display: block; }
.cookie-inner { max-width: 1400px; margin: 0 auto; padding: 1.5rem 2.5rem; }
.cookie-top { display: flex; align-items: flex-start; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.cookie-icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.cookie-text h3 { font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: .35rem; }
.cookie-text p { font-size: .85rem; color: rgba(255,255,255,.8); line-height: 1.65; }
.cookie-text a { color: var(--red); text-decoration: underline; }
.cookie-btns { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.cookie-btn { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .65rem 1.4rem; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: all var(--transition); }
.cookie-btn--accept { background: var(--red); color: var(--white); border-color: var(--red); }
.cookie-btn--accept:hover { background: var(--red-dark); border-color: var(--red-dark); }
.cookie-btn--necessary { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.3); }
.cookie-btn--necessary:hover { border-color: rgba(255,255,255,.7); color: var(--white); }
.cookie-btn--settings { background: none; border: none; color: rgba(255,255,255,.5); text-decoration: underline; font-size: .78rem; cursor: pointer; font-family: inherit; padding: .3rem; }
.cookie-detail { display: none; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); }
.cookie-detail.is-open { display: block; }
.cookie-categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.cookie-cat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-left: 3px solid rgba(255,255,255,.1); padding: .9rem 1rem; border-radius: 4px; }
.cookie-cat.is-on { border-left-color: var(--red); }
.cookie-cat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; }
.cookie-cat-name { font-size: .82rem; font-weight: 700; color: var(--white); }
.cookie-cat p { font-size: .77rem; color: rgba(255,255,255,.7); line-height: 1.5; }
.toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider { position: absolute; inset: 0; background: rgba(255,255,255,.2); border-radius: 11px; cursor: pointer; transition: .3s; }
.toggle input:checked + .toggle-slider { background: var(--red); }
.toggle-slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: .3s; }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }
.toggle.is-disabled .toggle-slider { cursor: not-allowed; opacity: .5; }

/* ── FOOTER ── */
#site-footer { background: var(--mid); border-top: 4px solid var(--red); padding: 4rem 0 1.5rem; }
.ft-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 2rem; }
.ft-logo img { height: 58px; width: 161px; margin-bottom: 1.2rem; }
.ft-about { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 1.5rem; }
.ft-col h4 { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.ft-col ul { list-style: none; }
.ft-col li { margin-bottom: .4rem; }
.ft-col a { font-size: .88rem; color: rgba(255,255,255,.7); transition: color var(--transition); }
.ft-col a:hover { color: var(--white); text-decoration: none; }
.ft-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.ft-copy { font-size: .8rem; color: rgba(255,255,255,.75); }
.ft-legal { display: flex; gap: 1.5rem; }
.ft-legal a { font-size: .78rem; color: rgba(255,255,255,.75); transition: color var(--transition); }
.ft-legal a:hover { color: rgba(255,255,255,.9); text-decoration: none; }
.ft-wa { display: inline-flex; align-items: center; gap: .6rem; background: var(--green); color: var(--white) !important; padding: .55rem 1.2rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none !important; border: 2px solid var(--green); transition: all var(--transition); white-space: nowrap; box-shadow: 0 2px 10px rgba(37,211,102,.25); margin-top: 1rem; }
.ft-wa:hover { background: #1DAE57; border-color: #1DAE57; transform: translateY(-1px); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-text-slide, .ref-track, .gallery-track { transition: none; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — 4 Breakpoints
════════════════════════════════════════════════════ */

/* 1200px */
@media (max-width: 1200px) {
  .ft-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* 1024px — Tablets Landscape */
@media (max-width: 1024px) {
  .leistungen-kacheln { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-text { padding: 3rem 2.5rem; }
  .ct-g { grid-template-columns: 1fr; gap: 3rem; }
  .leistung-split { grid-template-columns: 1fr; gap: 3rem; }
}

/* 768px — Tablets Portrait + große Phones */
@media (max-width: 768px) {
  .header-inner { padding: 0 1.2rem; }
  .container { padding: 0 1.2rem; }
  .section { padding: 3.5rem 0; }
  .hero-content { padding: 0 1.5rem 3.5rem; }
  .hero-controls { right: 1.5rem; bottom: 1.5rem; }
  .hero-content h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
  .leistungen-kacheln { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .kachel { aspect-ratio: 4/3; }
  .ref-slide { width: calc(50% - .375rem); }
  .gallery-slide { width: calc(50% - .375rem); }
  .news-grid { grid-template-columns: 1fr; }
  .about-img { min-height: 280px; }
  .about-text { padding: 2.5rem 1.5rem; }
  .about-quote { font-size: 1.5rem; }
  .leistungen-intro { flex-direction: column; gap: 1rem; }
  .ft-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .ft-bot { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .ft-legal { flex-wrap: wrap; gap: 1rem; }
  .ct-g { grid-template-columns: 1fr; gap: 2.5rem; }
  .f-row { grid-template-columns: 1fr; }
  .leistung-split { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
  .page-hero-content { padding: 0 1.2rem 2rem; }
  .ct-teaser { flex-direction: column; gap: 2rem; }
}

/* 480px — Smartphones */
@media (max-width: 480px) {
  .header-inner { padding: 0 1rem; }
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
  .hero-content { padding: 0 1rem 2.5rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-controls { right: 1rem; bottom: 1rem; }
  .leistungen-kacheln { grid-template-columns: 1fr; gap: .6rem; }
  .kachel { aspect-ratio: 4/3; min-height: 220px; }
  .ref-slide { width: 100%; }
  .gallery-slide { width: 100%; }
  .section-title { font-size: 1.8rem; }
  .about-text { padding: 2rem 1rem; }
  .about-quote { font-size: 1.3rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero-content { padding: 0 1rem 1.5rem; }
  .kachel-body { padding: 1.2rem; }
  .ft-top { gap: 1.2rem; }
}
