/*
Theme Name: Gutachter Gasch
Theme URI: https://gutachter-gasch.de
Author: Martin Gasch
Author URI: https://gutachter-gasch.de
Description: Custom WordPress Theme für Kfz-Sachverständiger Martin Gasch
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: gutachter-gasch
*/

/* ═══════════════════ RESET & VARIABLES ═══════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1a6bc4;
  --blue-dark: #0f4a8a;
  --blue-deeper: #0a3366;
  --blue-light: #2a7fd8;
  --blue-glow: #3d8fe6;
  --blue-subtle: rgba(26, 107, 196, 0.08);
  --blue-border: rgba(26, 107, 196, 0.15);
  --black: #111318;
  --black-card: #16181d;
  --black-elevated: #1c1f26;
  --white: #f5f6f8;
  --white-soft: #e0e3e8;
  --gray: #7c8290;
  --border: rgba(26, 107, 196, 0.12);
  --border-light: rgba(255, 255, 255, 0.06);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }

/* Prevent horizontal overflow globally */
html {
  overflow-x: hidden;
}

/* ═══════════════════ NAVIGATION ═══════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 19, 24, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.site-nav.scrolled {
  padding: 0.7rem 3rem;
  background: rgba(17, 19, 24, 0.96);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 52px !important;
  max-height: 52px !important;
  max-width: 240px !important;
  width: auto;
  padding: 4px 8px;
  background: white;
  border-radius: 5px;
  transition: all 0.3s;
  object-fit: contain;
}

.nav-brand:hover .nav-logo-img {
  box-shadow: 0 2px 12px rgba(26,107,196,0.2);
}

.site-nav.scrolled .nav-logo-img {
  height: 42px !important;
  max-height: 42px !important;
}

.nav-links { display: flex; gap: 2.2rem; list-style: none; }

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--blue-light); }
.nav-links a:hover::after { width: 100%; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  transition: all 0.3s;
  background: var(--blue-subtle);
}

.nav-phone:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17,19,24,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--blue-light); }

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(17,19,24,0.95) 0%, rgba(17,19,24,0.7) 40%, rgba(10,51,102,0.4) 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(26,107,196,0.1) 0%, transparent 55%);
}

/* Two-column hero layout */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

/* Left column - text */
.hero-left {
  animation: fadeUp 0.8s ease 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--blue-border);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  background: var(--blue-subtle);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--white);
  font-weight: 900;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
}

.hero-slogan {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 0.45rem 1.3rem;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
  transform: skewX(-3deg);
  box-shadow: 3px 3px 0 var(--blue-dark);
}

.hero-slogan span { display: inline-block; transform: skewX(3deg); }

.hero p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 480px;
  margin-bottom: 1.8rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--blue);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26, 107, 196, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-light);
}

/* Right column - partner logos */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.8s ease 0.6s both;
}

.hero-partners {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.hero-partner-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.8rem;
}

.hero-partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.partner-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
}

.partner-logo img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(1.1);
  transition: all 0.3s;
}

.partner-logo:hover img {
  filter: brightness(1.3);
  transform: scale(1.05);
}

.partner-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
  flex-shrink: 0;
}

.hero-stripe {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 100px;
  background: var(--blue);
  border-radius: 3px 0 0 3px;
}

/* ═══════════════════ BLUE BAR ═══════════════════ */
.blue-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--blue-light), var(--blue));
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════ SECTIONS SHARED ═══════════════════ */
section { padding: 6rem 3rem; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--blue-dark);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  margin-bottom: 1rem;
  font-weight: 900;
}

.section-header p {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

/* ═══════════════════ ÜBER MICH ═══════════════════ */
#ueber-mich {
  background: var(--black-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content p {
  color: var(--gray);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.about-content p:last-child { margin-bottom: 0; }

.about-content strong {
  color: var(--blue-light);
  font-weight: 700;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-stat {
  background: var(--black);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  text-align: center;
  transition: all 0.4s;
}

.about-stat:hover {
  border-color: var(--blue-border);
  transform: translateX(4px);
}

.about-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
}

/* ═══════════════════ LEISTUNGEN ═══════════════════ */
#leistungen { background: var(--black); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--black-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-light));
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(26,107,196,0.05);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.service-card p {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

.service-vehicles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.service-vehicles span {
  padding: 0.3rem 0.7rem;
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.02em;
}

/* ═══════════════════ GALERIE ═══════════════════ */
#galerie {
  background: var(--black-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--black-elevated);
  border: 1px solid var(--border-light);
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,19,24,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  gap: 0.8rem;
  font-size: 0.8rem;
  font-weight: 400;
  background: linear-gradient(145deg, var(--black-elevated) 0%, var(--black-card) 100%);
}

.gallery-placeholder .icon { font-size: 2rem; opacity: 0.3; }

/* ═══════════════════ AKTUELLES / NEWS ═══════════════════ */
#aktuelles { background: var(--black); }

.news-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: var(--black-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border-color: var(--blue-border);
}

.news-card a { text-decoration: none; color: inherit; }

.news-image {
  width: 100%;
  height: 200px;
  background: var(--black-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body { padding: 1.8rem; }

.news-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--white);
}

.news-card .news-excerpt {
  color: var(--gray);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.news-link {
  color: var(--blue-light);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}

.news-link:hover { gap: 0.8rem; }

/* ═══════════════════ AKTUELLES – INSTAGRAM STYLE ═══════════════════ */
.insta-style-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insta-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--black-card);
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--white);
  display: block;
  transition: all 0.4s;
}

.insta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: var(--blue-border);
}

.insta-card-image {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  background: var(--black-elevated);
}

.insta-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.insta-card:hover .insta-card-image img {
  transform: scale(1.08);
}

.insta-card-noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.2;
  background: linear-gradient(145deg, var(--black-elevated), var(--black-card));
}

.insta-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(17,19,24,0.95) 0%, rgba(17,19,24,0.7) 50%, transparent 100%);
  transform: translateY(30%);
  transition: transform 0.4s ease;
}

.insta-card:hover .insta-card-overlay {
  transform: translateY(0);
}

.insta-card-date {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.insta-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.insta-card-overlay p {
  color: var(--gray);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.insta-card:hover .insta-card-overlay p {
  opacity: 1;
}

/* Instagram follow button */
.insta-follow {
  text-align: center;
  margin-top: 2.5rem;
}

.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #833AB4, #C13584, #E1306C, #F77737, #FCAF45);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(193, 53, 132, 0.25);
}

.insta-follow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(193, 53, 132, 0.4);
}

.insta-follow-btn svg {
  stroke: white;
}

@media (max-width: 700px) {
  .insta-style-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ═══════════════════ ZERTIFIKATE ═══════════════════ */
#zertifikate {
  background: var(--black-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.certs-container {
  max-width: 1100px;
  margin: 0 auto;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: var(--black);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-border);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.cert-image {
  width: 100%;
  height: 280px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.cert-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.cert-placeholder {
  color: var(--gray);
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.6;
  opacity: 0.5;
}

.cert-placeholder span { font-size: 0.72rem; }

.cert-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 1.2rem 1.5rem 0.3rem;
  font-weight: 700;
}

.cert-card p {
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.5;
  padding: 0 1.5rem;
}

.cert-card .cert-reg {
  padding: 0.6rem 1.5rem 1.2rem;
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ═══════════════════ KONTAKT ═══════════════════ */
#kontakt { background: var(--black); }

.contact-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.8rem; }

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.contact-item p {
  color: var(--gray);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
}

.contact-item a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover { color: var(--blue-glow); }

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  background: var(--black-card);
  border: 1px solid var(--border-light);
  min-height: 350px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

.vor-ort-badge {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
}

.vor-ort-badge .badge-icon { font-size: 1.8rem; }

.vor-ort-badge h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: white;
}

.vor-ort-badge p {
  font-size: 0.82rem;
  font-weight: 300;
  opacity: 0.85;
  color: white;
}

/* ═══════════════════ FOOTER ═══════════════════ */
.site-footer {
  padding: 3.5rem 3rem 0;
  border-top: 1px solid var(--border-light);
  background: var(--black-card);
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--blue-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  color: white;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
}

.footer-desc {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: translateY(-2px);
}

.footer-col-center { text-align: center; }

.footer-whatsapp-qr {
  width: 140px;
  height: 140px;
  margin: 0 auto 0.8rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  padding: 6px;
}

.footer-whatsapp-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-qr-text {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 400;
  line-height: 1.5;
}

.footer-col-right p {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.footer-col-right a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col-right a:hover { color: var(--blue-glow); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.78rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--blue-light); }

/* ═══════════════════ SCROLL ANIMATIONS ═══════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════ WORDPRESS SPECIFIC ═══════════════════ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Single post */
.single-post-content {
  max-width: 800px;
  margin: 8rem auto 4rem;
  padding: 0 3rem;
}

.single-post-content h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.single-post-content .post-meta {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.single-post-content .post-body {
  color: var(--gray);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
}

.single-post-content .post-body p { margin-bottom: 1.5rem; }

.single-post-content .post-body img {
  border-radius: 8px;
  margin: 2rem 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  transition: gap 0.3s;
}

.back-link:hover { gap: 0.8rem; }

/* ═══════════════════ MOBILE ═══════════════════ */
@media (max-width: 960px) {
  .site-nav { padding: 0.8rem 1rem; }
  .nav-logo-img { height: 40px !important; max-height: 40px !important; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }

  section { padding: 3rem 1rem; }
  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero-inner { grid-template-columns: 1fr; padding: 0 1rem; gap: 1.5rem; }
  .hero-right { max-width: 280px; margin: 0 auto; }
  .hero-stripe { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.9rem; margin-bottom: 1.2rem; }
  .hero-badge { font-size: 0.62rem; padding: 0.35rem 0.8rem; margin-bottom: 1rem; }
  .hero-slogan { font-size: 0.78rem; padding: 0.35rem 1rem; margin-bottom: 1rem; }
  .hero-actions { gap: 0.6rem; }
  .btn-primary, .btn-outline { padding: 0.7rem 1.2rem; font-size: 0.82rem; }
  .hero-logo-main { max-width: 260px; }
  .hero-partner-logos { padding: 0.8rem 1rem; gap: 0.8rem; }
  .partner-logo img { max-height: 35px; }

  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: 1.6rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }

  .insta-style-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-brand { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-wrapper { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-content p { font-size: 0.92rem; }
  .about-stats { flex-direction: row; gap: 0.6rem; }
  .about-stat { flex: 1; padding: 1rem 0.5rem; }
  .about-stat-number { font-size: 1.4rem; }
  .about-stat-label { font-size: 0.62rem; letter-spacing: 0.04em; }

  .cert-image { height: 200px; }
  .cert-card h4 { font-size: 0.88rem; padding: 0.8rem 0.8rem 0.2rem; }
  .cert-card p { font-size: 0.72rem; padding: 0 0.8rem; }
  .cert-card .cert-reg { padding: 0.4rem 0.8rem 0.8rem; font-size: 0.65rem; }
}

@media (max-width: 500px) {
  section { padding: 2.5rem 0.8rem; }
  .hero-inner { padding: 0 0.8rem; }
  .hero h1 { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .certs-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 0.5rem; }
  .about-stat { padding: 1rem; }
  .about-stat-number { font-size: 1.6rem; }
  .hero-slogan { font-size: 0.75rem; padding: 0.3rem 0.8rem; }
  .service-card { padding: 1.5rem 1.2rem; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.82rem; }
  .contact-item h4 { font-size: 0.82rem; }
  .contact-item p { font-size: 0.82rem; }
}

/* ═══════════════════ COOKIE BANNER ═══════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--black-card);
  border-top: 2px solid var(--blue);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--white);
  font-weight: 700;
}

.cookie-text p {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--blue-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.cookie-btn-accept {
  background: var(--blue);
  color: white;
}

.cookie-btn-accept:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--border-light);
}

.cookie-btn-decline:hover {
  border-color: var(--blue-border);
  color: var(--white);
}

@media (max-width: 700px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem 1.5rem;
    gap: 1rem;
  }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* ═══════════════════ BARRIEREFREIHEIT / A11Y ═══════════════════ */

/* Focus-Styles für Tastaturnavigation */
*:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip-to-content Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --gray: #b0b3ba;
    --border-light: rgba(255, 255, 255, 0.15);
    --blue-border: rgba(26, 107, 196, 0.3);
  }
  .service-card, .news-card, .cert-card {
    border-width: 2px;
  }
}
