/* Local Fonts – DSGVO-konform, kein Google-Server-Kontakt */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/pjs-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/pjs-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  /* OP-Teal Palette */
  --primary: #0D7377;
  --primary-dark: #065A5E;
  --primary-light: #E0F5F5;
  --secondary: #1B4F72;

  /* Neutrals */
  --ink: #1A2332;
  --ink-muted: #5A6B7B;
  --ink-faint: #8E9BAA;
  --bg: #F4F7F9;
  --bg-card: #ffffff;
  --rule: #DCE3E8;

  /* Typography */
  --heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --max: 1440px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-teal: 0 4px 20px rgba(13,115,119,0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 3rem;
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
  border: none;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ============================================
   HERO – Full-bleed with image background
   ============================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(244,247,249,0.97) 0%, rgba(244,247,249,0.92) 45%, rgba(244,247,249,0.4) 70%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 3rem;
  width: 100%;
}

.hero-inner {
  max-width: 560px;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--heading);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

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

.hero-text {
  font-size: 17px;
  color: var(--ink-muted);
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-secondary {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1.5px solid var(--rule);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.btn-secondary:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ============================================
   TRUST BAR – Full-width teal band
   ============================================ */
.trust-bar-wrap {
  background: var(--primary);
}

.trust-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  padding: 1.75rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.trust-item:last-child { border-right: none; }

.trust-num {
  font-family: var(--heading);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}


.section-title {
  font-family: var(--heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: var(--ink-muted);
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.section-signature {
  font-size: 15px;
  color: var(--ink);
  margin-top: 1rem;
  font-weight: 600;
  font-style: italic;
}

/* ============================================
   SERVICES – Wide 3-col cards
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}


.service-card h3 {
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.service-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ============================================
   DURIA – Full-bleed dark section
   ============================================ */
.duria-wrap {
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

.duria-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.duria-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.duria-section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 4rem;
}

.duria-heading {
  grid-column: 1;
}

.duria-body {
  grid-column: 1;
}

.duria-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.duria-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.duria-section h2 {
  font-family: var(--heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.duria-section p:not(.duria-tag) {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.duria-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: var(--primary);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.duria-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.duria-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.duria-pill:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}


/* ============================================
   CONTACT – Wide layout
   ============================================ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 4rem;
}

.contact-heading {
  grid-column: 1;
}

.contact-body {
  grid-column: 1;
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.contact-section h2 {
  font-family: var(--heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.contact-intro {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.75;
  font-weight: 400;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.contact-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}

.contact-item-icon {
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.contact-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.contact-item-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.contact-item-value a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-item-value a:hover {
  color: var(--primary-dark);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  margin-top: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

/* ============================================
   PROSE PAGES
   ============================================ */
.prose-page {
  padding: 4rem 0 5rem;
}

.prose-page h1 {
  font-family: var(--heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  color: var(--ink);
}

.prose-page h2 {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 0.5rem;
}

.prose-page p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.prose-page a {
  color: var(--primary);
  text-decoration: none;
}

.prose-page a:hover { text-decoration: underline; }

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}

/* ============================================
   SPACING SECTIONS
   ============================================ */
.section-pad {
  padding: 5rem 0;
}

/* ============================================
   RESPONSIVE: TABLET
   ============================================ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }

  .nav-links a {
    font-size: 16px;
    display: block;
    padding: 4px 0;
  }

  .nav-cta {
    text-align: center;
    display: block !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
  }

  .container { padding: 0 2rem; }
  .nav-inner { padding: 0 2rem; }
  .hero-content { padding: 4rem 2rem; }
  .trust-bar { padding: 0 2rem; }
  .duria-section { padding: 4rem 2rem; }
  .footer-inner { padding: 2rem; }

  .hero { min-height: 420px; }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(244,247,249,0.95) 0%, rgba(244,247,249,0.85) 60%, rgba(244,247,249,0.5) 100%);
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item { border-right: none; }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .duria-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2.5rem;
  }

  .duria-heading,
  .duria-body,
  .duria-pills {
    grid-column: 1;
    grid-row: auto;
  }

  .duria-pills {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
  }

  .contact-heading,
  .contact-body,
  .contact-items {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-items {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ============================================
   RESPONSIVE: MOBILE
   ============================================ */
@media (max-width: 540px) {
  .container { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }
  .hero-content { padding: 3rem 1.25rem; }
  .trust-bar { padding: 0; }
  .duria-section { padding: 3rem 1.25rem; }
  .footer-inner { padding: 1.5rem 1.25rem; }

  .section-pad { padding: 3.5rem 0; }

  .hero { min-height: 380px; }
  .hero h1 { font-size: 1.75rem; }

  .trust-num { font-size: 24px; }
  .trust-item { padding: 1.25rem 1rem; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card { padding: 1.75rem; }

  .contact-items {
    grid-template-columns: 1fr;
  }

  .prose-page h1 { font-size: 1.75rem; }
}
