/*
Theme Name: SteinTec
Theme URI: https://www.stein-tec.com
Author: B&D Medien
Description: Custom theme for SteinTec Bamberg – Steinreinigung, Dachreinigung & Fassadenreinigung.
Version: 1.0
*/

/* ===== VARIABLES ===== */
:root {
  --c-bg:          #F4F0E8;
  --c-bg-warm:     #EAE5DA;
  --c-bg-section:  #EFEBE2;
  --c-dark:        #1B1814;
  --c-dark-mid:    #242019;
  --c-text:        #1B1814;
  --c-text-muted:  #7A6F63;
  --c-stone:       #9A9087;
  --c-stone-light: #C9C3BA;
  --c-accent:      #3980B0;
  --c-accent-dark: #2D6A95;
  --c-accent-pale: rgba(57, 128, 176, 0.09);
  --c-white:       #FAF8F4;
  --c-border:      rgba(90, 80, 70, 0.16);

  --font-display: 'Barlow Condensed', Impact, sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 6px rgba(27, 24, 20, 0.08);
  --shadow-md: 0 6px 24px rgba(27, 24, 20, 0.11);
  --shadow-lg: 0 16px 48px rgba(27, 24, 20, 0.14);
}
body {
	margin: 0px;
	padding: 0px !important;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(20, 16, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 244, 0.65);
  transition: color 0.18s;
}
.site-nav a:hover { color: var(--c-white); }
.site-nav .nav-cta {
  color: var(--c-accent);
  font-weight: 600;
  border: 1px solid rgba(57, 128, 176, 0.4);
  border-radius: var(--radius-sm);
  padding: 7px 18px;
  transition: background 0.18s, color 0.18s;
}
.site-nav .nav-cta:hover {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}

/* Burger Button */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(250, 248, 244, 0.8);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
/* X-Animation */
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-burger { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(20, 16, 11, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0 20px;
  }
  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 14px 28px;
    font-size: 1rem;
    color: rgba(250, 248, 244, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav .nav-cta {
    margin: 12px 28px 0;
    padding: 12px 18px;
    text-align: center;
    color: white;
    background: rgba(57, 128, 176, 1);
    border: 1px solid rgba(57, 128, 176, 0.4);
  }
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  line-height: 1.65;
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-header {
  margin-bottom: 52px;
}
.section-header.centered { text-align: center; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c-dark);
  margin-top: 8px;
  line-height: 1.1;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
}
.btn-primary:hover {
  background: var(--c-accent-dark);
  box-shadow: 0 6px 24px rgba(57, 128, 176, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.38);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.07);
}
.btn-full { width: 100%; }
.btn-dark {
  background: var(--c-dark);
  color: var(--c-white);
}
.btn-dark:hover { background: var(--c-dark-mid); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  background: var(--c-dark);
  background-image: url('/wp-content/uploads/steintec-bamberg-hausfront-einfahrt-wohnhaus.webp');
  background-size: cover;
  background-position: center 35%;
  overflow: hidden;
}

/* warm dark overlay, stronger on left where text sits */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 16, 11, 0.93) 0%,
    rgba(20, 16, 11, 0.78) 45%,
    rgba(20, 16, 11, 0.35) 100%
  );
  pointer-events: none;
}

/* subtle warm vignette at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(20, 16, 11, 0.6), transparent);
  pointer-events: none;
}

.hero-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-accent);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 144px 28px 96px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 26px;
  padding-left: 2px;
  border-left: 3px solid var(--c-accent);
  padding-left: 10px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1.0;
  margin-bottom: 6px;
  max-width: 820px;
}

.hero h1 span {
  color: var(--c-accent);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(250, 248, 244, 0.55);
  font-weight: 400;
  margin-top: 18px;
  margin-bottom: 42px;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--c-dark-mid);
  border-bottom: 2px solid var(--c-accent);
  padding: 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 244, 0.78);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1;
  min-width: 160px;
  transition: background 0.2s;
}
.trust-item:hover {
  background: rgba(57, 128, 176, 0.1);
}
.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
  flex-shrink: 0;
  opacity: 0.85;
}
.trust-icon svg { width: 100%; height: 100%; }

/* ===== GALERIE ===== */
.gallery-section {
  padding: 100px 0;
  background: var(--c-bg-section);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  cursor: pointer;
}
.gallery-item--tall {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 24, 20, 0.6) 0%, transparent 55%);
  transition: opacity 0.3s;
}
.gallery-item:hover::after {
  opacity: 0.7;
}
.gallery-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-white);
  background: var(--c-accent);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--c-bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--c-white);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  position: relative;
}
.service-card:hover {
  border-bottom-color: var(--c-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-icon {
  width: 40px;
  height: 40px;
  color: var(--c-accent);
  margin-bottom: 22px;
  opacity: 0.85;
}
.service-card-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-dark);
  margin-bottom: 18px;
  line-height: 1.2;
}
.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-card li {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 1.5px;
  background: var(--c-accent);
  opacity: 0.7;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--c-dark);
  color: var(--c-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-label { color: var(--c-accent); }
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 10px 0 22px;
  line-height: 1.1;
  color: var(--c-white);
}
.about-text p {
  color: rgba(250, 248, 244, 0.58);
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.72;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat {
  padding: 24px 16px 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  margin-right: 24px;
}
.stat:last-child {
  border-right: none;
  margin-right: 0;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(250, 248, 244, 0.38);
  letter-spacing: 0.06em;
  margin-top: 5px;
  line-height: 1.4;
}

.about-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.about-card {
  background: rgba(250, 248, 244, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.about-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  color: var(--c-white);
}
.about-card p {
  font-size: 0.87rem;
  color: rgba(250, 248, 244, 0.5);
  margin-top: 16px;
  line-height: 1.7;
}
.ratio-bar {
  display: flex;
  overflow: hidden;
}
.ratio-air {
  flex: 4;
  background: var(--c-accent);
  color: var(--c-white);
  padding: 15px 18px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.ratio-water {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(250, 248, 244, 0.6);
  padding: 15px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ===== PROCESS ===== */
.process {
  padding: 100px 0;
  background: var(--c-bg-section);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.step {
  background: transparent;
  padding: 0;
  position: relative;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--c-accent);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 12px;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-dark);
  margin-bottom: 8px;
  padding-top: 10px;
  border-top: 2px solid var(--c-accent);
}
.step p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.58;
}

/* ===== GUARANTEES ===== */
.guarantees {
  padding: 100px 0;
  background: var(--c-bg);
}
.guarantee-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.guarantee-card {
  background: var(--c-white);
  padding: 52px 36px 44px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
}
.guarantee-card:hover {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--c-accent);
  transform: translateY(-2px);
}
.guarantee-card--highlight {
  background: var(--c-dark);
  color: var(--c-white);
  border-bottom-color: var(--c-accent);
}
.guarantee-card--highlight:hover {
  background: var(--c-dark-mid);
}
.guarantee-years {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent);
}
.guarantee-unit {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-stone);
  margin-top: 4px;
}
.guarantee-card--highlight .guarantee-unit {
  color: rgba(250, 248, 244, 0.38);
}
.guarantee-desc {
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.guarantee-card--highlight .guarantee-desc {
  color: rgba(250, 248, 244, 0.55);
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--c-dark);
  color: var(--c-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact .section-label { color: var(--c-accent); }
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c-white);
  margin: 10px 0 18px;
  line-height: 1.1;
}
.contact-info > p {
  color: rgba(250, 248, 244, 0.52);
  margin-bottom: 36px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(57, 128, 176, 0.3);
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding-left 0.2s;
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail:hover { padding-left: 28px; }
.contact-detail svg {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.8;
}
.contact-detail strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 248, 244, 0.3);
  margin-bottom: 3px;
}
.contact-detail a,
.contact-detail span {
  font-size: 0.93rem;
  color: rgba(250, 248, 244, 0.82);
}
.contact-detail a:hover { color: var(--c-accent); }

/* FORM */
.contact-form-wrap {
  background: rgba(250, 248, 244, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 44px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 248, 244, 0.38);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.93rem;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(250, 248, 244, 0.2);
}
.form-group select option { background: var(--c-dark); color: var(--c-white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: rgba(57, 128, 176, 0.06);
}
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--c-dark);
  color: var(--c-white);
  border-top: 3px solid var(--c-accent);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 52px;
}
.footer-brand .site-logo img {
  height: 54px;
  width: auto;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 0.87rem;
  color: rgba(250, 248, 244, 0.45);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.35);
  margin-bottom: 18px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(250, 248, 244, 0.62);
  transition: color 0.18s;
}
.footer-col ul li a:hover { color: var(--c-white); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact svg {
  width: 15px;
  height: 15px;
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.8;
}
.footer-contact a,
.footer-contact span {
  font-size: 0.88rem;
  color: rgba(250, 248, 244, 0.62);
  line-height: 1.5;
}
.footer-contact a:hover { color: var(--c-white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.8rem;
  color: rgba(250, 248, 244, 0.28);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  color: rgba(250, 248, 244, 0.28);
  transition: color 0.18s;
}
.footer-legal a:hover { color: rgba(250, 248, 244, 0.7); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge   { animation: fadeUp 0.55s ease both; animation-delay: 0.1s; }
.hero h1      { animation: fadeUp 0.55s ease both; animation-delay: 0.22s; }
.hero-tagline { animation: fadeUp 0.55s ease both; animation-delay: 0.36s; }
.hero-actions { animation: fadeUp 0.55s ease both; animation-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .guarantee-cards { grid-template-columns: 1fr; max-width: 360px; }
}
@media (max-width: 680px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: 80vh; }
  .hero-actions { flex-direction: column; }
  .trust-item { min-width: 50%; flex: 1 0 50%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 26px; }
  .guarantee-cards { max-width: 100%; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stats .stat:last-child { grid-column: 1 / -1; border-right: none; }
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--c-dark);
  padding: 140px 0 72px;
  border-bottom: 3px solid var(--c-accent);
}
.page-hero-inner { max-width: 760px; }
.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1.0;
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 1rem;
  color: rgba(250, 248, 244, 0.52);
  line-height: 1.7;
  max-width: 580px;
}

/* ===== PAGE SECTIONS ===== */
.page-section {
  padding: 96px 0;
  background: var(--c-bg);
}
.page-section--dark {
  background: var(--c-dark);
  color: var(--c-white);
}
.page-section--dark .section-header h2 { color: var(--c-white); }
.page-section--dark .section-label { color: var(--c-accent); }
.page-section--alt { background: var(--c-bg-section); }

/* ===== CONTENT GRID ===== */
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: start;
}
.content-main .section-label { margin-bottom: 10px; }
.content-main h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--c-dark);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.content-main p {
  font-size: 0.93rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Aside Box */
.aside-box {
  background: var(--c-dark);
  color: var(--c-white);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 36px;
  position: sticky;
  top: 88px;
}
.aside-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  color: var(--c-white);
}
.aside-box--light {
  background: var(--c-white);
  color: var(--c-dark);
  box-shadow: var(--shadow-sm);
}
.aside-box--light h4 { color: var(--c-dark); }

.aside-stat {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.aside-stat:last-child { border-bottom: none; }
.aside-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}
.aside-stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(250, 248, 244, 0.4);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* Check-Listen */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  font-size: 0.88rem;
  color: black;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1.5px;
  background: var(--c-accent);
}
.check-list--dark li { color: var(--c-text-muted); }

/* ===== LEISTUNGEN SEITE ===== */
.leistung-section {
  padding: 96px 0;
  background: var(--c-bg);
}
.leistung-section--alt { background: var(--c-bg-section); }
.leistung-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}
.leistung-grid--reverse { direction: rtl; }
.leistung-grid--reverse > * { direction: ltr; }
.leistung-text .section-label { margin-bottom: 10px; }
.leistung-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--c-dark);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.leistung-text > p {
  font-size: 0.93rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.leistung-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}
.leistung-list li {
  font-size: 0.9rem;
  color: var(--c-text);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.leistung-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1.5px;
  background: var(--c-accent);
}
.leistung-garantie {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--c-accent-pale);
  border-left: 3px solid var(--c-accent);
}
.garantie-zahl {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}
.leistung-garantie strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 2px;
}
.leistung-garantie span {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}
.leistung-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.leistung-info-box {
  background: var(--c-dark);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 36px 36px 40px;
  color: var(--c-white);
  position: sticky;
  top: 88px;
}
.leistung-info-box h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  color: var(--c-white);
}
.leistung-info-box p {
  font-size: 0.87rem;
  color: rgba(250, 248, 244, 0.5);
  margin-top: 16px;
  line-height: 1.7;
}
.leistung-fakten {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.leistung-fakten li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(250, 248, 244, 0.72);
  line-height: 1.4;
}
.leistung-fakten svg {
  width: 17px;
  height: 17px;
  color: var(--c-accent);
  flex-shrink: 0;
  opacity: 0.85;
}
.leistung-cta {
  background: var(--c-dark);
  padding: 72px 0;
  border-top: 3px solid var(--c-accent);
}
.leistung-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.leistung-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.leistung-cta p {
  font-size: 0.92rem;
  color: rgba(250, 248, 244, 0.5);
  line-height: 1.6;
}

/* ===== ÜBER UNS SEITE ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: rgba(250, 248, 244, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background 0.2s, border-color 0.2s;
}
.value-card:hover {
  background: rgba(250, 248, 244, 0.07);
  border-color: rgba(57, 128, 176, 0.3);
}
.value-icon {
  width: 36px;
  height: 36px;
  color: var(--c-accent);
  margin-bottom: 18px;
  opacity: 0.8;
}
.value-icon svg { width: 100%; height: 100%; }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.value-card p {
  font-size: 0.86rem;
  color: rgba(250, 248, 244, 0.5);
  line-height: 1.68;
}

/* ===== GARANTIEN SEITE ===== */
.garantien-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.garantie-block {
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--c-accent);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.garantie-block--accent { background: var(--c-bg-warm); }
.garantie-block--dark {
  background: var(--c-dark);
  color: var(--c-white);
}
.garantie-block-years {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  padding: 32px 36px 0;
  opacity: 0.9;
}
.garantie-block-body { padding: 16px 36px 40px; flex: 1; }
.garantie-block-body .section-label { margin-bottom: 8px; }
.garantie-block-body h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--c-dark);
}
.garantie-block--dark .garantie-block-body h2 { color: var(--c-white); }
.garantie-block-body p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.72;
  margin-bottom: 20px;
}
.garantie-block--dark .garantie-block-body p { color: rgba(250, 248, 244, 0.52); }

/* ===== KONTAKT SEITE ===== */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.kontakt-info .section-label { margin-bottom: 10px; }
.kontakt-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--c-dark);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.kontakt-info > p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.kontakt-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--c-white);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--c-text);
}
.kontakt-detail:hover {
  border-left-color: var(--c-accent);
  box-shadow: var(--shadow-md);
}
.kontakt-detail-icon {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.kontakt-detail-icon svg { width: 100%; height: 100%; }
.kontakt-detail strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-stone);
  margin-bottom: 3px;
}
.kontakt-detail span {
  font-size: 0.92rem;
  color: var(--c-text);
  line-height: 1.5;
}
.kontakt-hinweis {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--c-accent-pale);
  border-left: 3px solid var(--c-accent);
}
.kontakt-hinweis svg {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.kontakt-hinweis p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}
.kontakt-form-wrap {
  background: var(--c-dark);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 44px;
}
.kontakt-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
/* ===== CF7 FORMULAR STYLES ===== */
.kontakt-form-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.kontakt-form-wrap .cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.kontakt-form-wrap .cf7-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kontakt-form-wrap .cf7-group label {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 248, 244, 0.38);
}
.kontakt-form-wrap .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.93rem;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.kontakt-form-wrap .wpcf7-form-control::placeholder {
  color: rgba(250, 248, 244, 0.20);
}
.kontakt-form-wrap .wpcf7-form-control:focus {
  border-color: var(--c-accent);
  background: rgba(57, 128, 176, 0.06);
}
.kontakt-form-wrap select.wpcf7-form-control option {
  background: var(--c-dark);
  color: var(--c-white);
}
.kontakt-form-wrap textarea.wpcf7-form-control {
  resize: vertical;
  min-height: 120px;
}
.kontakt-form-wrap .wpcf7-submit {
  width: 100%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 28px;
  background: var(--c-accent);
  color: var(--c-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.kontakt-form-wrap .wpcf7-submit:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
}
.kontakt-form-wrap .wpcf7-not-valid-tip {
  font-size: 0.76rem;
  color: #e07070;
  margin-top: 4px;
}
.kontakt-form-wrap .wpcf7-validation-errors,
.kontakt-form-wrap .wpcf7-acceptance-missing {
  border: 1px solid rgba(224, 112, 112, 0.35);
  background: rgba(224, 112, 112, 0.08);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #e07070;
}
.kontakt-form-wrap .wpcf7-mail-sent-ok {
  border: 1px solid rgba(57, 128, 176, 0.35);
  background: rgba(57, 128, 176, 0.08);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--c-accent);
}
@media (max-width: 560px) {
  .kontakt-form-wrap .cf7-row { grid-template-columns: 1fr; }
}

.kontakt-map-section {
  width: 99vw;
  padding: 0 0 0;
  background: var(--c-bg);
}
.kontakt-map-wrap {
  width: 100%;
  border-top: 3px solid var(--c-accent);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: -7px;
}

/* ===== PAGE CTA BANNER ===== */
.page-cta {
  background: var(--c-dark);
  padding: 72px 0;
  border-top: 3px solid var(--c-accent);
}
.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.page-cta p {
  font-size: 0.92rem;
  color: rgba(250, 248, 244, 0.5);
  line-height: 1.6;
}

/* ===== RESPONSIVE (Unterseiten) ===== */
@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery-item--tall { grid-row: span 1; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .aside-box { position: static; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .garantien-grid { grid-template-columns: 1fr; max-width: 480px; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 48px; }
  .page-cta-inner { flex-direction: column; align-items: flex-start; }
  .page-cta .btn { width: 100%; text-align: center; }
  .leistung-grid,
  .leistung-grid--reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .leistung-info-box { position: static; }
  .leistung-cta-inner { flex-direction: column; align-items: flex-start; }
  .leistung-cta .btn { width: 100%; text-align: center; }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item { height: 200px; }
  .page-hero { padding: 120px 0 52px; }
  .page-section { padding: 64px 0; }
  .leistung-section { padding: 64px 0; }
  .leistung-info-box { padding: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .garantien-grid { max-width: 100%; }
  .garantie-block-years { font-size: 4.5rem; padding: 24px 24px 0; }
  .garantie-block-body { padding: 12px 24px 32px; }
  .kontakt-form-wrap { padding: 26px; }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--c-accent);
  padding: 0;
}
.stats-bar-inner {
  display: flex;
  align-items: stretch;
}
.stat-counter {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 32px;
  text-align: center;
}
.stat-counter-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 10px;
}
.stat-counter-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.stat-counter-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  align-self: stretch;
  margin: 20px 0;
}
@media (max-width: 680px) {
  .stats-bar-inner {
    flex-direction: column;
  }
  .stat-counter-divider {
    width: 60px;
    height: 1px;
    margin: 0 auto;
    align-self: auto;
  }
  .stat-counter { padding: 36px 24px; }
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 8px;
}

.blog-card {
  background: var(--c-dark-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--c-accent); }

.blog-card-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }

.blog-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.blog-card-date {
  font-size: 0.78rem;
  color: rgba(250,248,244,0.45);
  letter-spacing: 0.04em;
}
.blog-card-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(196,154,72,0.12);
  padding: 2px 8px;
  border-radius: 3px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 12px;
}
.blog-card-title a {
  color: var(--c-white);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card-title a:hover { color: var(--c-accent); }

.blog-card-excerpt {
  font-size: 0.9rem;
  color: rgba(250,248,244,0.55);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.blog-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.blog-card-link:hover { opacity: 0.75; }

.blog-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.blog-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: rgba(250,248,244,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next { width: auto; padding: 0 16px; }

.blog-empty {
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.blog-empty h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 16px;
}
.blog-empty p {
  color: rgba(250,248,244,0.55);
  line-height: 1.7;
}

/* ===== 404 ===== */
.error-404 {
  max-width: 600px;
  margin: 0 auto;
  padding: 56px 0 80px;
  text-align: center;
}

.error-404-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent);
  opacity: 0.18;
  margin-bottom: -24px;
  letter-spacing: -0.02em;
}

.error-404-msg {
  font-size: 1rem;
  color: rgba(250,248,244,0.55);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 36px;
}

.error-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.error-404-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.error-404-links a {
  color: rgba(250,248,244,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.error-404-links a:hover { color: var(--c-accent); }

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .error-404-actions { flex-direction: column; align-items: center; }
}
