/* ===== ARNEMANN BAUSTOFFE – MAIN STYLESHEET ===== */
/* Keine externen Verbindungen, keine Google Fonts, DSGVO-konform */

:root {
  --red: #9c3222;
  --red-light: #b8432f;
  --red-dark: #7a2819;
  --gray-dark: #2D2D2D;
  --gray-mid: #5a6060;
  --gray-light: #A0A0A0;
  --gray-bg: #F4F3F1;
  --white: #FFFFFF;
  --font-display: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

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

.nav-logo svg,
.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-mid);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
  position: relative;
  padding-bottom: 4px;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--gray-bg) 0%, var(--white) 50%, #f9f0ee 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(156,50,34,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-watermark {
  display: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-ab {
  flex: 0 0 auto;
  width: 420px;
  opacity: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-ab img {
  width: 100%;
  height: auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

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

.hero-text {
  font-size: 1.15rem;
  color: var(--gray-mid);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(156,50,34,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--gray-dark);
  border: 2px solid rgba(0,0,0,0.12);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-mid);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--gray-bg);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(156,50,34,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gray-dark);
}

.card p {
  color: var(--gray-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== VORTEILE (dark section) ===== */
.vorteile-section {
  background: var(--gray-dark);
  color: var(--white);
}

.vorteile-section .section-label {
  color: var(--red-light);
}

.vorteile-section .section-title {
  color: var(--white);
}

.vorteile-section .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.vorteil-item {
  display: flex;
  gap: 1.25rem;
  padding: 2rem;
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.vorteil-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(156,50,34,0.3);
}

.vorteil-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(156,50,34,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vorteil-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--red-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vorteil-text h4 {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.vorteil-text p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== PAGE SECTIONS (Privat / Gewerbe / Kontakt) ===== */
.page-hero {
  padding: 8rem 2rem 3rem;
  background: linear-gradient(160deg, var(--gray-bg) 0%, var(--white) 100%);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-section {
  padding: 5rem 2rem;
}

.page-section.bg-light {
  background: var(--gray-bg);
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.page-content-text h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.page-content-text p {
  color: var(--gray-mid);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.highlight-box {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.bg-light .highlight-box {
  background: var(--white);
}

.highlight-box-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.highlight-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
}

.highlight-box p {
  color: var(--gray-mid);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* ===== KONTAKT ===== */
.kontakt-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.kontakt-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--gray-dark);
}

.kontakt-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kontakt-detail-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(156,50,34,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontakt-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kontakt-detail-text {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.kontakt-detail-text strong {
  display: block;
  color: var(--gray-dark);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.kontakt-detail-text a {
  color: var(--red);
  text-decoration: none;
}

.kontakt-detail-text a:hover {
  text-decoration: underline;
}

.callback-notice {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(156,50,34,0.06);
  border-radius: 12px;
  border-left: 3px solid var(--red);
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.kontakt-cta {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}

.kontakt-cta h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.kontakt-cta p {
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.kontakt-cta .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ===== LEGAL PAGES (Impressum / Datenschutz) ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin: 2.5rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin: 2rem 0 0.5rem;
}

.legal-content p {
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-content ul {
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.legal-content a {
  color: var(--red);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-dark);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 2rem;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .vorteile-grid {
    grid-template-columns: 1fr;
  }
  .page-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .kontakt-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .hero-inner {
    padding: 7rem 1.5rem 3rem;
    flex-direction: column;
  }
  .hero-ab {
    width: 200px;
  }
  .section {
    padding: 4rem 1.5rem;
  }
  .page-hero {
    padding: 7rem 1.5rem 2.5rem;
  }
  .page-section {
    padding: 3.5rem 1.5rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
