:root {
  --navy: #344d68;
  --teal: #079b83;
  --teal-dark: #067d70;
  --text: #172233;
  --muted: #5f6b7a;
  --bg: #ffffff;
  --soft: #f4f7f9;
  --border: #dfe8ee;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(23, 34, 51, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  color: #263649;
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: var(--soft);
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 22px;
}

/* HERO */
.hero {
  padding: 105px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
}

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -.04em;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  max-width: 780px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 52px);
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.lead {
  font-size: 21px;
  color: var(--muted);
  max-width: 680px;
  margin: 24px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--teal);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn.full {
  width: 100%;
  margin-top: 10px;
}

.hero-card {
  display: grid;
  place-items: center;
  min-height: 430px;
  background: radial-gradient(circle at 50% 40%, #f7fafb 0, #fff 62%);
  border: 1px solid var(--border);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: min(72%, 430px);
  height: auto;
}

.hero-image {
  background-image: url("../img/31.png");
  background-size: cover;
  background-position: center;
  border-radius: 40px;
  min-height: 430px;
}

/* SECTIONS */
.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--soft);
}

.trust h2 {
  text-align: center;
}

/* CARDS — 4 cards in a row on desktop */
.cards,
.service-grid {
  display: grid;
  gap: 22px;
}

.cards {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
}

.card,
.service,
.service-detail,
.process,
.contact-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 36px rgba(23, 34, 51, .05);
}

.card-number {
  display: inline-flex;
  color: var(--teal-dark);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: .08em;
}

.card p,
.service p,
.service-detail p,
.section-intro,
.about-grid p,
.contact-box p {
  color: var(--muted);
}

.section-intro {
  max-width: 780px;
  font-size: 19px;
  margin-bottom: 34px;
}

/* SERVICES */
.service-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.service {
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: transform .18s ease, border-color .18s ease;
}

.service:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 155, 131, .35);
}

.service span {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.service-detail {
  display: none;
  grid-column: span 3;
  border-left: 5px solid var(--teal);
}

.service-detail.open {
  display: block;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 56px;
  align-items: start;
}

.process div {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 18px;
}

/* CONTACT */
.contact-box {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #fff, #f7fbfa);
}

.contact-data a {
  color: var(--teal-dark);
}

/* FOOTER */
.footer {
  padding: 42px 0;
  background: #0f1b2a;
  color: #fff;
}

.footer p {
  color: rgba(255, 255, 255, .7);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
}

/* LEGAL PAGES */
.legal {
  padding: 80px 0;
}

.legal h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

.legal h2 {
  font-size: 30px;
  margin-top: 44px;
}

/* RESPONSIVE — Tablet */
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE — Mobile */
@media (max-width: 880px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 20px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: min(320px, calc(100vw - 40px));
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-card {
    min-height: 300px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-column: span 1;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer a {
    margin-left: 0;
    margin-right: 18px;
  }
}

/* RESPONSIVE — Small Mobile */
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}


/* ===================================
   COOKIE BANNER
   =================================== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(23, 34, 51, .18);
  padding: 26px;
  z-index: 9999;
  display: none;
  animation: cookieSlide .4s ease;
}

.cookie-banner.visible {
  display: block;
}

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

.cookie-banner h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--text);
}

.cookie-banner h3::before {
  content: "🍪";
  font-size: 22px;
}

.cookie-banner p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.cookie-banner p a {
  color: var(--teal-dark);
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  min-width: 120px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: all .18s ease;
}

.cookie-btn.accept {
  background: var(--teal);
  color: #fff;
}

.cookie-btn.accept:hover {
  background: var(--teal-dark);
}

.cookie-btn.reject {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.cookie-btn.reject:hover {
  border-color: var(--muted);
}

.cookie-settings-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(23, 34, 51, .08);
  z-index: 100;
  display: none;
  font-family: inherit;
}

.cookie-settings-link.visible {
  display: inline-flex;
}

.cookie-settings-link:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 20px;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
  }
}
.social-links{
  display:flex;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}

.social-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  background:#f4f7f9;
  border:1px solid var(--border);
  font-weight:700;
  text-decoration:none;
  color:var(--text);
  transition:.2s;
}

.social-btn:hover{
  background:var(--teal);
  color:#fff;
  border-color:var(--teal);
}

.footer-links{
  display:flex;
  align-items:center;
  gap:20px;
}

.footer-social{
  display:flex;
  gap:14px;
  margin-left:10px;
}

.footer-social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:8px;
  background:rgba(255,255,255,0.08);
  transition:.2s;
}

.footer-social svg{
  width:18px;
  height:18px;
  fill:#fff;
}

.footer-social a:hover{
  background:var(--teal);
}
/* ===================================
   SERVICES CARD (Hero rechts)
   =================================== */
.hero-card.services-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  background: #fff !important;
  background-image: none !important;
  padding: 36px 32px;
  text-align: left;
}
.services-card-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--muted);
  margin: 0 0 24px;
  text-transform: uppercase;
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(7, 155, 131, 0.1);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.service-text strong {
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
}
@media (max-width: 880px) {
  .hero-card.services-card { padding: 28px 24px; }
}


/* Social Icons als Links: Cursor + Hover */
.footer-social a.social-icon {
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
}
.footer-social a.social-icon:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}
