/* ============ WinWebDesign – SIEGRASTER Design-System (Unterseiten) ============ */

/* Selbst gehostete Montserrat (latin) — keine Google-Fonts-Verbindung */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/montserrat-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/montserrat-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/montserrat-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/montserrat-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/montserrat-800-normal.woff2') format('woff2'); }

:root {
  --navy: #081820;
  --navy-soft: #0E2730;
  --crimson: #A80028;
  --crimson-bright: #FA4D63;
  --offwhite: #F8F8F8;
  --hairline: rgba(8, 24, 32, 0.08);
  --hairline-light: rgba(248, 248, 248, 0.14);
  --header-h: 88px;
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1440px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400; font-size: 17px; line-height: 1.65;
  color: var(--navy); background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--crimson); color: var(--offwhite); }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.cta-band :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible, .sticky-bar :focus-visible {
  outline-color: var(--crimson-bright);
}

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 300;
  background: var(--crimson); color: var(--offwhite);
  padding: 10px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* ---------- Korn-Textur ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ---------- Custom Cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 240;
  pointer-events: none; border-radius: 50%;
  display: none;
}
.cursor-dot { width: 7px; height: 7px; background: var(--crimson); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.2px solid rgba(8, 24, 32, 0.45);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s, opacity 0.3s;
}
.cursor-ring.is-link { width: 58px; height: 58px; border-color: var(--crimson); }
.cursor-ring.on-dark { border-color: rgba(248, 248, 248, 0.55); }
.cursor-ring.is-link.on-dark { border-color: var(--crimson-bright); }
html.has-cursor .cursor-dot, html.has-cursor .cursor-ring { display: block; }
html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor body { cursor: none; }

/* ---------- Sichtbares Raster ---------- */
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(12, 1fr);
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
}
.grid-overlay span { border-left: 1px solid var(--hairline); transform-origin: top; }
.grid-overlay span:last-child { border-right: 1px solid var(--hairline); }
@media (max-width: 768px) {
  .grid-overlay { grid-template-columns: repeat(4, 1fr); }
  .grid-overlay span:nth-child(n+5) { display: none; }
}

.wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
  position: relative;
}
section { position: relative; z-index: 1; scroll-margin-top: 72px; }

/* ---------- Typografie ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow .idx { color: var(--crimson); font-variant-numeric: tabular-nums; }
.eyebrow::after { content: ''; width: 56px; height: 1px; background: currentColor; opacity: 0.35; }

h2 {
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw, 4.2rem);
  line-height: 1.04; letter-spacing: -0.015em;
  margin: 22px 0 0;
}
.section-head { padding-top: clamp(72px, 11vh, 130px); margin-bottom: clamp(40px, 6vw, 80px); }

.dot-anchor {
  display: inline-block;
  width: 0.13em; height: 0.13em; border-radius: 50%;
  background: var(--crimson);
  vertical-align: baseline;
  margin-left: 0.05em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s, box-shadow 0.35s;
  background: transparent;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(248, 248, 248, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--hairline);
}
.site-header .wrap {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark {
  font-weight: 800; font-size: 15px; letter-spacing: 0.13em;
  text-decoration: none; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  z-index: 102;
}
.wordmark i { width: 10px; height: 10px; border-radius: 50%; background: var(--crimson); display: inline-block; }
.main-nav { display: flex; gap: clamp(18px, 2.6vw, 42px); }
.nav-link {
  font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: 0.04em;
  display: inline-block; overflow: hidden; height: 1.45em; line-height: 1.45;
}
.nav-link .roll { display: block; transition: transform 0.34s cubic-bezier(0.65, 0, 0.35, 1); }
.nav-link .roll span { display: block; }
.nav-link .roll span:last-child { color: var(--crimson); }
.nav-link:hover .roll, .nav-link:focus-visible .roll { transform: translateY(-50%); }
.nav-link[aria-current="page"] { color: var(--crimson); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 0 28px; height: 54px; border-radius: 999px;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn .btn-fill {
  position: absolute; inset: 0; border-radius: 999px;
  background: var(--navy);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  pointer-events: none;
}
.btn:hover .btn-fill { transform: translateY(0); }
.btn > span { position: relative; z-index: 1; }
.btn-crimson { background: var(--crimson); color: var(--offwhite); }
.btn-crimson:hover { background: #8d0022; }
.btn-ghost-navy { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-ghost-navy:hover { color: var(--offwhite); }
.btn-ghost-light { border: 1.5px solid var(--offwhite); color: var(--offwhite); background: transparent; }
.btn-ghost-light .btn-fill { background: var(--offwhite); }
.btn-ghost-light:hover { color: var(--navy); }
.header-cta { height: 46px; padding: 0 24px; font-size: 14px; }

.burger {
  display: none; z-index: 102;
  width: 46px; height: 46px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.burger b {
  width: 26px; height: 2px; background: var(--navy); display: block;
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}
.menu-open .burger b:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .burger b:nth-child(2) { opacity: 0; }
.menu-open .burger b:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.menu-open .burger b { background: var(--offwhite); }

.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy); color: var(--offwhite);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: clamp(1.7rem, 8vw, 2.6rem); font-weight: 800; text-transform: uppercase;
  text-decoration: none; padding: 10px 0; letter-spacing: -0.01em;
  border-bottom: 1px solid var(--hairline-light);
}
.mobile-menu a:hover { color: var(--crimson-bright); }
.mobile-menu .menu-meta { margin-top: 28px; font-size: 14px; opacity: 0.7; }
.menu-open .wordmark { color: var(--offwhite); }

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: flex; }
}
.menu-open { overflow: hidden; }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(40px, 8vh, 90px));
  padding-bottom: clamp(36px, 6vh, 72px);
  position: relative; overflow: hidden;
}
.page-hero .churfirsten {
  position: absolute; right: 0; bottom: -12%; left: 0;
  width: 100%; height: auto; z-index: -1;
  color: var(--navy); opacity: 0.55;
  pointer-events: none;
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  line-height: 1.0; letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 22px;
  max-width: 18ch;
}
.page-hero .lead {
  margin-top: 24px; max-width: 62ch;
  font-size: clamp(16.5px, 1.4vw, 19px);
}
.page-hero .lead strong { font-weight: 700; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; opacity: 0.6;
  margin-bottom: 18px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--crimson); }
.breadcrumb li:not(:last-child)::after { content: '·'; margin-left: 8px; }
.breadcrumb li:last-child { color: var(--crimson); }

/* ---------- Inhalts-Module ---------- */
.content-section { padding-bottom: clamp(64px, 10vh, 120px); }
.prose { max-width: 75ch; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: clamp(40px, 7vh, 64px) 0 16px; }
.prose h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; margin: 32px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px; padding: 0; }
.prose li {
  position: relative; padding: 6px 0 6px 26px;
}
.prose li::before {
  content: ''; position: absolute; left: 4px; top: 16px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--crimson);
}
.prose a { color: var(--crimson); text-decoration: none; border-bottom: 1px solid currentColor; }
.prose a:hover { color: var(--navy); }
.prose .muted { opacity: 0.7; font-size: 15px; }

/* Leistungs-Detailblöcke */
.svc-detail {
  display: grid; grid-template-columns: 4fr 8fr; gap: clamp(20px, 3.5vw, 64px);
  padding: clamp(36px, 6vh, 60px) 0;
  border-top: 1px solid var(--hairline);
}
.svc-detail:last-of-type { border-bottom: 1px solid var(--hairline); }
.svc-detail .svc-head .num {
  font-size: 14px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--crimson); font-variant-numeric: tabular-nums;
  display: block; margin-bottom: 10px;
}
.svc-detail h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: 0;
}
.svc-detail .svc-price {
  display: inline-block; margin-top: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.7;
}
.svc-detail .svc-media {
  margin-top: 22px;
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: var(--navy);
}
.svc-detail .svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
  mix-blend-mode: screen; opacity: 0.85;
}
.svc-detail .svc-body p { margin-bottom: 14px; max-width: 65ch; }
.svc-detail .svc-body ul { margin: 14px 0 6px; }
.svc-detail .svc-body li { position: relative; padding: 5px 0 5px 24px; font-size: 15.5px; }
.svc-detail .svc-body li::before {
  content: ''; position: absolute; left: 2px; top: 13px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--crimson);
}
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } }

/* Info-Karten (Kontaktwege, Werte) */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.info-card {
  background: #fff; border: 1px solid var(--hairline);
  padding: clamp(22px, 2.2vw, 32px);
}
.info-card .ic-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 12px; display: block;
}
.info-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.info-card p { font-size: 15px; opacity: 0.85; }
.info-card a { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--hairline); }
.info-card a:hover { color: var(--crimson); border-color: var(--crimson); }

/* ---------- Formular ---------- */
.form-shell {
  background: #fff; border: 1px solid var(--hairline);
  padding: clamp(24px, 3.5vw, 48px);
  max-width: 860px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
}
fieldset.form-field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.form-field legend {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 0; margin-bottom: 7px;
}
.form-field label .req { color: var(--crimson); }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"],
.form-field input[type="url"], .form-field select, .form-field textarea {
  font: inherit; font-size: 15.5px;
  padding: 13px 16px;
  border: 1.5px solid var(--hairline);
  border-radius: 0;
  background: var(--offwhite);
  color: var(--navy);
  transition: border-color 0.25s, background-color 0.25s;
  width: 100%;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--crimson); background: #fff;
}
.form-field .hint { font-size: 12.5px; opacity: 0.6; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  position: relative;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  border: 1.5px solid var(--hairline);
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  background: var(--offwhite);
}
.choice input:checked + span { background: var(--navy); color: var(--offwhite); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--crimson); outline-offset: 2px; }
.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px;
}
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--crimson); flex: none; }
.consent a { color: var(--crimson); text-decoration: none; border-bottom: 1px solid currentColor; }
.form-trust {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hairline);
  font-size: 13.5px; opacity: 0.75;
}
.form-error {
  background: #FDECEF; border-left: 3px solid var(--crimson);
  padding: 14px 18px; font-size: 14.5px; margin-bottom: 20px;
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--navy); color: var(--offwhite);
  position: relative; overflow: hidden;
}
.cta-band .churfirsten {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: auto;
  color: var(--offwhite); opacity: 0.1;
  pointer-events: none;
}
.cta-band .wrap {
  padding-top: clamp(56px, 9vh, 110px);
  padding-bottom: clamp(56px, 9vh, 110px);
  position: relative;
}
.cta-band h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em;
}
.cta-band p { margin-top: 14px; max-width: 56ch; opacity: 0.85; }
.cta-band .cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .meta { margin-top: 20px; font-size: 13.5px; opacity: 0.6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--offwhite); position: relative; z-index: 1; }
.site-footer .wrap { border-top: 1px solid var(--hairline-light); padding-top: clamp(48px, 7vh, 80px); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(40px, 6vh, 64px);
}
.footer-grid h4 {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.55; margin-bottom: 18px;
}
.footer-grid address { font-style: normal; font-size: 15px; line-height: 1.9; opacity: 0.85; }
.footer-grid address .legal { font-size: 12.5px; opacity: 0.6; display: block; margin-top: 10px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; font-size: 15px; opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.footer-grid a:hover { opacity: 1; color: var(--crimson-bright); }
.footer-slogan {
  border-top: 1px solid var(--hairline-light);
  padding: clamp(28px, 4vh, 44px) 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px;
}
.footer-slogan .slogan {
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(1.3rem, 3.4vw, 2.6rem); line-height: 1.1;
}
.footer-slogan .copy { font-size: 13px; opacity: 0.55; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile Sticky-Bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 10px;
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background: rgba(8, 24, 32, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .btn { flex: 1; height: 50px; font-size: 14.5px; }
@media (max-width: 768px) { .sticky-bar { display: flex; } }

/* ---------- Reveal-Fallback ---------- */
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
}
