/* =================================================================
   Simonyak Ausbau & Sanierung — Stylesheet
   Palette: Petrol-Blau / Grau / Weiß · Lokale Schriften (DSGVO)
   ================================================================= */

/* ---------- Lokale Schriften (kein Google-CDN) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/sora-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/sora-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/sora-800.woff2') format('woff2');
}

/* ---------- Design Tokens ---------- */
:root {
  --navy: #241C16;
  --ink: #2A211A;
  --blue: #B5641E;
  --blue-700: #8F4E16;
  --blue-500: #C9772F;
  --accent: #E08A3C;
  --gray-50: #FAF5EC;
  --gray-100: #EFE7D8;
  --gray-200: #E0D3BE;
  --gray-400: #B3A28A;
  --gray-600: #6E5F4E;
  --white: #FFFFFF;
  --wa: #25D366;
  --wa-dark: #1EBE5B;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(36, 28, 22, .08), 0 1px 2px rgba(36, 28, 22, .06);
  --shadow: 0 10px 30px rgba(36, 28, 22, .10);
  --shadow-lg: 0 24px 60px rgba(36, 28, 22, .16);
  --ease: cubic-bezier(.16, .84, .44, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: #E7D9C2; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section--navy .eyebrow { color: var(--accent); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.7rem); }
.section-head p { margin-top: 16px; color: var(--gray-600); font-size: 1.08rem; }
.section--navy .section-head p { color: #D8C7AC; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .22s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(181, 100, 30, .28); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(181, 100, 30, .36); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--gray-200); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-700); transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-500) 100%);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; box-shadow: var(--shadow-sm);
}
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--navy); }
.brand .brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-600); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 500; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-size: .98rem;
}
.nav a:hover { background: var(--gray-50); color: var(--blue); }
.nav a.active { color: var(--blue); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.header-phone svg { width: 18px; height: 18px; color: var(--blue); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--gray-200); background: #fff;
  border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(-1px); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(36, 28, 22, .92) 0%, rgba(143, 78, 22, .82) 45%, rgba(36, 28, 22, .55) 100%);
}
.hero-inner { padding: 96px 0 104px; max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.5rem); font-weight: 800; }
.hero .lead { margin-top: 22px; font-size: 1.18rem; color: #EFE3CF; max-width: 600px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: .98rem; color: #E7D8BF; font-weight: 500; }
.hero-trust svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--white); border-bottom: 1px solid var(--gray-100); }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--blue); }
.trust-item .lbl { font-size: .92rem; color: var(--gray-600); line-height: 1.3; font-weight: 500; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gray-200); }
.service-card .ic {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gray-50); color: var(--blue); border: 1px solid var(--gray-100);
}
.service-card .ic svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service-card p { color: var(--gray-600); font-size: .98rem; }
.service-card .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.service-card .tags span { font-size: .78rem; font-weight: 600; color: var(--blue-700); background: var(--gray-50); border: 1px solid var(--gray-100); padding: 4px 10px; border-radius: 999px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.4rem); }
.checklist { margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 1px; }
.checklist b { color: var(--navy); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filters button {
  font-family: var(--font-body); font-weight: 600; font-size: .94rem; padding: 9px 18px;
  border-radius: 999px; border: 1px solid var(--gray-200); background: #fff; color: var(--gray-600); cursor: pointer;
  transition: all .2s var(--ease);
}
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3; background: var(--gray-100);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 28px 18px 16px;
  background: linear-gradient(to top, rgba(36, 28, 22, .88), transparent);
  color: #fff; font-weight: 600; font-size: .98rem; opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery figure.hide { display: none; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-700), var(--blue)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.5rem); }
.cta-band p { color: #EEE0C8; margin-top: 14px; font-size: 1.1rem; max-width: 560px; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.contact-card .ic { width: 46px; height: 46px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--gray-50); color: var(--blue); border: 1px solid var(--gray-100); }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 3px; }
.contact-card a, .contact-card p { color: var(--gray-600); font-size: 1rem; }
.contact-card a:hover { color: var(--blue); }

.form-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--gray-50);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(181, 100, 30, .12);
}
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--gray-600); margin-bottom: 18px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.form-note { font-size: .82rem; color: var(--gray-400); margin-top: 14px; }
.form-status { margin-top: 14px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #157347; }
.form-status.err { display: block; color: #b42318; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #D8C7AC; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer .brand .brand-name, .site-footer h4 { color: #fff; }
.site-footer .brand .brand-sub { color: var(--gray-400); }
.site-footer p { color: #CDB99E; margin-top: 14px; font-size: .96rem; }
.site-footer h4 { font-size: 1rem; margin-bottom: 16px; font-family: var(--font-head); }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #D8C7AC; font-size: .96rem; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; font-size: .96rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .88rem; color: var(--gray-400);
}
.footer-bottom a { color: var(--gray-400); }
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  z-index: -1; animation: wa-pulse 2.4s var(--ease) infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 138, 60, .35), transparent 70%); z-index: -1;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem); font-weight: 800; }
.page-hero p { color: #DBCAB0; margin-top: 14px; font-size: 1.1rem; max-width: 620px; }
.breadcrumb { font-size: .9rem; color: var(--accent); margin-bottom: 16px; }
.breadcrumb a { color: #DBCAB0; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 90px; }
.legal-wrap { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; padding-top: 8px; }
.legal h3 { font-size: 1.15rem; margin: 26px 0 8px; color: var(--blue-700); }
.legal p, .legal li { color: var(--gray-600); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal strong { color: var(--navy); }
.legal .meta-box { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 24px 26px; margin: 18px 0; }
.legal .todo { background: #FFF7E6; border: 1px solid #F2D98C; border-radius: var(--radius-sm); padding: 14px 18px; color: #8a6400; font-size: .92rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split .media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open {
    display: flex; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--gray-100); padding: 12px 18px 18px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 13px 12px; border-radius: 8px; }
  .header-cta .btn { display: none; }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0 72px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
}


/* ===================================================================
   Logo-Bild (ersetzt das Text-Lockup) + Titel im Logo-Stil
   =================================================================== */
.brand-logo { display: block; width: auto; height: 58px; }
.site-header .brand { gap: 0; }
.site-header .brand-logo { height: 58px; }
.site-footer .brand-logo {
  height: 76px; background: #F6ECD6; padding: 8px 14px; border-radius: 12px;
}
@media (max-width: 560px) { .site-header .brand-logo { height: 52px; } }

/* Kräftige Versalien-Titel, angelehnt an das Logo */
.hero h1,
.page-hero h1,
.section-head h2,
.split h2,
.cta-band h2 {
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 800;
}
