/* =========================================================
   Iris-raven — Architektur öffentlicher Gebäude
   Archetype: SPLIT-SCREEN MODERN
   Layout engine: Flexbox only
   ========================================================= */

:root {
  --stone: #f4f1ea;
  --stone-2: #ece7dc;
  --ink: #1a2227;
  --slate: #35474c;
  --slate-2: #46595f;
  --bronze: #9c7a43;
  --bronze-dark: #7f6334;
  --muted: #666d72;
  --line: #d9d3c6;
  --white: #ffffff;
  --img-fallback: #cfc7b7;
  --img-fallback-dark: #2a3338;
  --shadow: 0 24px 60px -30px rgba(26, 34, 39, 0.45);
  --radius: 4px;
  --maxw: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--stone);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--bronze-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.lead { font-size: 1.18rem; color: var(--slate); }

.muted { color: var(--muted); }

/* ---------- Spacing utilities ---------- */
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; }
.mt-28 { margin-top: 28px; }
.cta-center {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ---------- Disclosure bar ---------- */
.disclosure-bar {
  background: var(--ink);
  color: #d6cfc0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.disclosure-bar p {
  margin: 0;
  padding: 9px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

/* ---------- Header / Nav (split: brand left, nav right) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -24px rgba(26, 34, 39, 0.6); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 28px;
  gap: 24px;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--bronze); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--bronze-dark); text-decoration: none; }

.nav-ad {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px;
  cursor: help;
}

.nav-cta {
  background: var(--ink);
  color: var(--stone) !important;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}
.nav-cta:hover { background: var(--slate); text-decoration: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: 0.25s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.2s ease;
  font-family: "Inter", sans-serif;
}
.btn-primary { background: var(--bronze); color: #fff; }
.btn-primary:hover { background: var(--bronze-dark); text-decoration: none; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--stone); }
.btn-dark:hover { background: var(--slate); text-decoration: none; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--stone); text-decoration: none; }
.btn-light { background: var(--stone); color: var(--ink); }
.btn-light:hover { background: #fff; text-decoration: none; transform: translateY(-2px); }

.inline-link {
  font-weight: 600;
  color: var(--bronze-dark);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 1px;
}
.inline-link:hover { text-decoration: none; color: var(--ink); border-color: var(--ink); }

/* ---------- Split-screen hero ---------- */
.hero-split {
  display: flex;
  flex-wrap: wrap;
  min-height: 86vh;
  align-items: stretch;
}
.hero-text {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(28px, 6vw, 92px);
  background: var(--stone);
}
.hero-text .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero-media {
  flex: 1 1 42%;
  position: relative;
  background-color: var(--img-fallback-dark);
  min-height: 420px;
  overflow: hidden;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media .media-tag {
  position: absolute;
  left: 0;
  bottom: 28px;
  background: var(--ink);
  color: var(--stone);
  padding: 12px 22px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  max-width: 70%;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats .stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--ink);
}
.hero-stats .stat span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Generic section ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.dark { background: var(--ink); color: #e7e2d6; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lead { color: #c7c1b4; }
.section.slate { background: var(--slate); color: #e9eef0; }
.section.slate h2, .section.slate h3 { color: #fff; }
.section.stone2 { background: var(--stone-2); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Split rows (alternating) ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.split .col { flex: 1 1 46%; min-width: 300px; }
.split.reverse { flex-direction: row-reverse; }

.figure {
  position: relative;
  background-color: var(--img-fallback);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.figure img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.figure.tall img { min-height: 480px; }

/* ---------- Service cards ---------- */
.card-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.service-card {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c4bca9; }
.service-card .card-img {
  position: relative;
  height: 190px;
  background-color: var(--img-fallback);
  overflow: hidden;
}
.service-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card .card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.96rem; color: var(--muted); }
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.price-tag .amount {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  color: var(--ink);
  font-weight: 600;
}
.price-tag .unit { font-size: 0.82rem; color: var(--muted); }
.service-card .card-link { margin-top: auto; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .num {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--bronze);
  flex-shrink: 0;
  width: 42px;
}
.feature-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.section.dark .feature-list li,
.section.slate .feature-list li { border-color: rgba(255,255,255,0.14); }
.section.dark .feature-list p,
.section.slate .feature-list p { color: #bcc4c6; }

/* ---------- Testimonials ---------- */
.quote-wall { display: flex; flex-wrap: wrap; gap: 26px; }
.quote {
  flex: 1 1 300px;
  background: var(--white);
  border-left: 3px solid var(--bronze);
  padding: 30px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.quote p { font-size: 1.04rem; font-style: italic; color: var(--slate); }
.quote .who { font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin: 0; }
.quote .who span { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }

/* ---------- Banner CTA ---------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--bronze);
  color: #fff;
  padding: clamp(40px, 6vw, 68px);
  border-radius: var(--radius);
}
.cta-band h2 { color: #fff; max-width: 620px; }
.cta-band p { color: #f3e9d8; margin: 0; }

/* ---------- Form ---------- */
.form-shell {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.form-aside { flex: 1 1 360px; }
.form-card {
  flex: 1 1 440px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.form-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--slate);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--stone);
  transition: 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bronze);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(156, 122, 67, 0.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.field-error {
  color: #a23b2e;
  font-size: 0.82rem;
  margin-top: 6px;
  display: none;
}
.field.invalid .field-error { display: block; }
.field.invalid input,
.field.invalid select { border-color: #a23b2e; }

/* ---------- Contact blocks ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 26px; }
.contact-card {
  flex: 1 1 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.contact-card p { margin: 0; color: var(--slate); font-size: 0.98rem; }
.noselect-mail { font-weight: 600; color: var(--ink); }

/* ---------- Legal / article pages ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal h2 { margin-top: 2em; font-size: 1.5rem; }
.legal h3 { margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.5em; }
.page-head {
  background: var(--ink);
  color: var(--stone);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
}
.page-head h1 { color: #fff; }
.page-head p { color: #c7c1b4; margin: 0; max-width: 640px; }
.crumbs { font-size: 0.82rem; color: #9aa3a6; margin-bottom: 14px; letter-spacing: 0.04em; }
.crumbs a { color: #c7c1b4; }

/* ---------- Thanks page ---------- */
.thanks-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: var(--stone-2);
}
.thanks-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.check-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bronze);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin: 0 auto 26px;
}
.thanks-ref {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 26px;
  margin: 10px 0 30px;
}
.thanks-ref span { color: var(--muted); font-size: 0.82rem; display: block; }
.thanks-ref strong { font-size: 1.1rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b9c0c2;
  padding: clamp(56px, 7vw, 84px) 0 34px;
  font-size: 0.92rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col { flex: 1 1 220px; }
.footer-col.brandcol { flex: 1 1 300px; }
.footer-col h4 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col .brand { color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #b9c0c2; }
.footer-col a:hover { color: var(--bronze); text-decoration: none; }
.footer-disclaimer {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: #8e9699;
  line-height: 1.7;
}
.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #8e9699;
}

/* ---------- Sticky mini CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.3s ease;
}
.sticky-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  max-width: 540px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.5);
  padding: 24px 26px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner h4 { font-family: "Inter", sans-serif; font-size: 1rem; margin-bottom: 6px; }
.cookie-banner p { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie-actions .btn { padding: 11px 22px; font-size: 0.9rem; }

/* ---------- Badges / meta rows ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag {
  font-size: 0.8rem;
  background: var(--stone-2);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--slate);
}
.section.dark .tag { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: #d6cfc0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--stone);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -20px 0 60px -30px rgba(0,0,0,0.5);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.15rem; }
  .nav-cta { font-size: 1rem !important; }
  .hero-split { min-height: auto; }
  .hero-media { flex-basis: 100%; min-height: 320px; }
  .hero-text { flex-basis: 100%; padding: 56px 28px; }
  .split .col { flex-basis: 100%; }
}
