/* ═══════════════════════════════════════════════════
   OFFICINA SANS STD – Lokale Schriftarten
   Pfad: /fonts/ (relativ zur Domain)
═══════════════════════════════════════════════════ */

/* ── Book (Regular 400) ─────────────────────────── */
@font-face {
  font-family: 'OfficinaSans';
  src: url('/fonts/subset-OfficinaSansStd-Book.woff2') format('woff2'),
       url('/fonts/subset-OfficinaSansStd-Book.woff')  format('woff'),
       url('/fonts/OfficinaSansStd-Book.otf')          format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Book Italic (Regular Italic 400) ───────────── */
@font-face {
  font-family: 'OfficinaSans';
  src: url('/fonts/subset-OfficinaSansStd-BookItalic.woff2') format('woff2'),
       url('/fonts/subset-OfficinaSansStd-BookItalic.woff')  format('woff'),
       url('/fonts/OfficinaSansStd-BookItalic.otf')          format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ── Bold (700) ─────────────────────────────────── */
@font-face {
  font-family: 'OfficinaSans';
  src: url('/fonts/subset-OfficinaSansStd-Bold.woff2') format('woff2'),
       url('/fonts/subset-OfficinaSansStd-Bold.woff')  format('woff'),
       url('/fonts/OfficinaSansStd-Bold.otf')          format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Bold Italic (700) ──────────────────────────── */
@font-face {
  font-family: 'OfficinaSans';
  src: url('/fonts/subset-OfficinaSansStd-BoldItalic.woff2') format('woff2'),
       url('/fonts/subset-OfficinaSansStd-BoldItalic.woff')  format('woff'),
       url('/fonts/OfficinaSansStd-BoldItalic.otf')          format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* =====================
   VARIABLES
   ===================== */
:root {
    --primary: #6c6c6c;
    --primary-dark: #444;
    --secondary: #bfbfbf;
    --accent: #ded7cd;
    --light: #f9f8f6;
    --dark: #2a2a2a;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}
/* =====================
   BASE
   ===================== */
body {
    font-family: 'OfficinaSans', 'Open Sans', sans-serif;
    font-weight: 400;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 0 !important;
}

.bg-light {
    background-color: var(--light) !important;
}


/* =====================
   HERO
   ===================== */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), var(--hero-bg);
}

.hero-title {
    font-family: 'OfficinaSans', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    background-color: rgba(222, 215, 205, 0.5);
    padding: 1rem 2rem;
    border-radius: 15px;
}


/* =====================
   ANIMATIONS
   ===================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}


/* =====================
   RESPONSIVE
   ===================== */

/* iPad landscape / small laptops */
@media (max-width: 1200px) {
    .hero { height: 70vh; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 991px) {
    .hero { height: 70vh; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .hero { height: 60vh; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 1.8rem; }
    .feature-card h3 { font-size: 1.3rem; }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        padding: 0.8rem 1.5rem;
    }
    #leben-carousel-inner .carousel-item img {
        height: 180px;
    }
}
