:root{
  --blue:#005aaa;
  --blue-2:#0a68c6;
  --navy:#07233d;
  --deep:#041a2c;
  --text:#08233f;
  --muted:#42627f;
  --line:#d6e7f7;
  --soft:#f4f8fc;
  --white:#ffffff;
  --shadow:0 22px 55px rgba(6,32,57,.12);
  --radius:26px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1220px,calc(100% - 48px));margin:0 auto}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
  transition:box-shadow .25s ease, min-height .25s ease;
}
.site-header.is-scrolled{box-shadow:0 12px 30px rgba(4,31,55,.08)}
.header-inner{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.brand img{
  width:190px;
  height:auto;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:28px;
  font-size:15px;
  font-weight:800;
}
.main-nav a{white-space:nowrap}
.main-nav a:hover{color:var(--blue)}
.nav-contact{
  background:var(--blue);
  color:#fff!important;
  padding:13px 20px;
  border-radius:12px;
  box-shadow:0 12px 24px rgba(0,90,170,.22);
}
.menu-toggle{
  display:none;
  width:46px;
  height:42px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:var(--navy);
  border-radius:999px;
}

.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:var(--deep);
  color:#fff;
}
.hero-slider{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:1;
  transform:scale(1.02);
  transition:opacity 1s ease, transform 8s ease;
}
.hero-slider.is-changing{opacity:.35;transform:scale(1.04)}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(2,18,32,.92) 0%,rgba(2,18,32,.76) 42%,rgba(2,18,32,.30) 72%,rgba(2,18,32,.08) 100%),
    linear-gradient(0deg,rgba(2,18,32,.30),rgba(2,18,32,.05));
}
.hero-content{
  position:relative;
  z-index:2;
  padding:110px 0;
  max-width:880px;
  margin-left:max(24px,calc((100% - 1220px)/2));
}
.hero h1{
  font-size:clamp(42px,5.4vw,82px);
  line-height:1;
  letter-spacing:-.055em;
  margin:0 0 28px;
  max-width:900px;
}
.hero p{
  margin:0 0 36px;
  max-width:720px;
  color:#dceaf7;
  font-size:clamp(18px,1.55vw,22px);
}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 24px;
  border-radius:14px;
  font-weight:900;
  border:1px solid transparent;
}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 16px 30px rgba(0,90,170,.25)}
.btn-primary:hover{background:var(--blue-2)}
.btn-secondary{border-color:rgba(255,255,255,.5);color:#fff;background:rgba(255,255,255,.08)}
.btn-secondary:hover{background:rgba(255,255,255,.14)}

.section{padding:88px 0}
.eyebrow{
  margin:0 0 12px;
  color:var(--blue);
  font-size:13px;
  font-weight:950;
  letter-spacing:.24em;
  text-transform:uppercase;
}
.section h2,.intro h2,.reverse h2,.food h2,.final-cta h2{
  font-size:clamp(34px,4.2vw,58px);
  line-height:1.04;
  letter-spacing:-.05em;
  margin:0 0 22px;
}
.section-lead{
  margin:0 auto 42px;
  max-width:850px;
  text-align:center;
  color:var(--muted);
  font-size:20px;
}

.intro{background:linear-gradient(180deg,#f7fbff,#fff)}
.intro-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:46px;
  align-items:center;
}
.intro-text{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:52px;
}
.intro-text p{
  color:var(--muted);
  font-size:21px;
  margin:0;
}
.intro-points{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.point-card{
  display:block;
  min-height:178px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:28px;
  box-shadow:0 18px 40px rgba(6,32,57,.06);
  transition:transform .2s ease, box-shadow .2s ease;
}
.point-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.point-card h3{font-size:22px;line-height:1.18;margin:0 0 10px}
.point-card p{margin:0;color:var(--muted)}

.quick h2{margin-bottom:34px}
.nav-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:24px;
}
.nav-card{
  position:relative;
  min-height:260px;
  border-radius:22px;
  overflow:hidden;
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  color:#fff;
  box-shadow:var(--shadow);
  transition:transform .22s ease;
}
.nav-card:hover{transform:translateY(-5px)}
.nav-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(2,18,32,.78),rgba(2,18,32,.08));
}
.nav-card strong,.nav-card small{position:relative;z-index:2}
.nav-card strong{
  font-size:clamp(24px,1.7vw,28px);
  line-height:1.12;
  margin-bottom:10px;
  overflow-wrap:anywhere;
  hyphens:auto;
}
.nav-card small{font-size:16px;color:#eef7ff}

.services{background:var(--soft)}
.services h2{text-align:center}
.service-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:22px;
}
.service-grid-core{
  grid-template-columns:repeat(3,1fr);
  max-width:1120px;
  margin:0 auto;
}
.service-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 42px rgba(6,32,57,.07);
  display:flex;
  flex-direction:column;
  min-height:470px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.service-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  background:#dfeaf4;
}
.service-card div{
  padding:24px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.service-card h3{
  font-size:24px;
  line-height:1.12;
  letter-spacing:-.025em;
  margin:0 0 14px;
}
.service-card p{
  margin:0;
  color:var(--muted);
}
.service-card span{
  margin-top:auto;
  color:var(--blue);
  font-weight:900;
  padding-top:22px;
}

.reverse{
  background:#fff;
}
.reverse-panel{
  background:linear-gradient(135deg,var(--navy),var(--deep));
  color:#fff;
  border-radius:28px;
  padding:64px;
  box-shadow:var(--shadow);
}
.reverse-panel p:not(.eyebrow){
  max-width:920px;
  color:#d8e7f5;
  font-size:20px;
  margin:0 0 30px;
}

.food{
  background:#fff;
}
.food-grid{
  display:grid;
  grid-template-columns:1fr .85fr;
  gap:28px;
  align-items:stretch;
}
.food-grid > div{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:44px;
  background:#fff;
  box-shadow:0 18px 42px rgba(6,32,57,.06);
}
.food-grid p{color:var(--muted);font-size:19px}
.food-note{
  background:linear-gradient(180deg,#f4f9fe,#fff)!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.food-note h3{font-size:30px;line-height:1.1;margin:0 0 16px}

.final-cta{
  background:var(--deep);
  color:#fff;
  padding:76px 0;
}
.final-cta-inner{
  display:grid;
  grid-template-columns:1fr auto;
  gap:32px;
  align-items:center;
}
.final-cta h2{margin:0}
.final-cta p{color:#d8e7f5;font-size:20px;max-width:760px;margin:14px 0 0}

.site-footer{
  background:#061d31;
  color:#cfe0ef;
  padding:42px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:30px;
}
.site-footer strong{color:#fff;display:block;margin-bottom:8px}
.site-footer a{display:block;margin:7px 0;color:#dceaf7}

@media (max-width:1100px){
  .main-nav{gap:16px;font-size:14px}
  .brand img{width:165px}
  .intro-grid,.food-grid{grid-template-columns:1fr}
  .nav-cards{grid-template-columns:repeat(2,1fr)}
  .service-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:760px){
  .container{width:min(100% - 28px,1220px)}
  .header-inner{min-height:74px}
  .brand img{width:145px}
  .menu-toggle{display:flex}
  .main-nav{
    position:absolute;
    top:74px;
    left:14px;
    right:14px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow);
    padding:10px;
  }
  .main-nav.is-open{display:flex}
  .main-nav a{padding:13px 14px;border-radius:12px}
  .nav-contact{text-align:center;margin-top:6px}
  .hero{min-height:82vh}
  .hero-content{padding:72px 0;margin-left:14px;max-width:calc(100% - 28px)}
  .hero h1{font-size:42px}
  .hero p{font-size:18px}
  .hero-actions{flex-direction:column}
  .btn{width:100%}
  .section{padding:58px 0}
  .intro-text{padding:30px}
  .intro-text p{font-size:18px}
  .intro-points{grid-template-columns:1fr}
  .nav-cards{grid-template-columns:1fr}
  .service-grid{grid-template-columns:1fr}
  .service-card{min-height:auto}
  .final-cta-inner{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .reverse-panel{padding:34px}
}


@media (max-width:1100px){
  .service-grid-core{
    grid-template-columns:repeat(2,1fr);
    max-width:760px;
  }
}

@media (max-width:760px){
  .service-grid-core{
    grid-template-columns:1fr;
    max-width:420px;
  }
}


.language-switch{
  display:flex;
  align-items:center;
  gap:4px;
  margin-left:4px;
  padding:4px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.language-switch a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:34px;
  padding:0 10px;
  border-radius:10px;
  font-size:13px;
  font-weight:900;
  color:var(--navy);
}
.language-switch a:hover{
  background:#eef6ff;
  color:var(--blue);
}
.language-switch a.active{
  background:var(--blue);
  color:#fff;
}

@media (max-width:760px){
  .language-switch{
    margin:8px 0 0;
    width:100%;
    justify-content:center;
  }
  .language-switch a{
    flex:1;
  }
}

/* Sprach- und Layout-Feinschliff für längere Begriffe */
.service-card h3,
.point-card h3{
  overflow-wrap:anywhere;
  hyphens:auto;
}

.hero-actions .btn,
.final-cta .btn{
  white-space:normal;
  text-align:center;
}

/* ES / PL: lange Hero-Überschriften etwas ruhiger skalieren */
html[lang="es"] .hero h1,
html[lang="pl"] .hero h1{
  font-size:clamp(40px,5vw,76px);
  max-width:980px;
}

html[lang="es"] .hero p,
html[lang="pl"] .hero p{
  max-width:780px;
}

@media (max-width:760px){
  .nav-cards{
    grid-template-columns:1fr;
  }

  html[lang="es"] .hero h1,
  html[lang="pl"] .hero h1{
    font-size:clamp(36px,10vw,48px);
    line-height:1.04;
  }
}


/* TOBEY GROUP quality pass: calmer typography, no awkward headline hyphenation */
h1, h2, h3, .point-card h3, .service-card h3 {
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
@supports (text-wrap: balance) {
  h1, h2, h3, .point-card h3, .service-card h3 { text-wrap: balance; }
}
.service-card img,
.service-card video,
.media-card img {
  width: 100%;
  object-fit: cover;
  background: #eaf3fb;
}
.placeholder-media {
  border: 1px solid #d6e7f7;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 30, 60, .08);
}
.placeholder-media img { width: 100%; display: block; object-fit: cover; }
.placeholder-note { color: #2d5680; font-size: .95rem; }

/* ---------------------------------------------------------
   Kontaktformular
   --------------------------------------------------------- */
.contact-form .form-wrap { max-width: 860px; }
.contact-form .section-lead { margin-bottom: 28px; }

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-top: 8px;
}
.contact-form-grid .field { display: flex; flex-direction: column; }
.contact-form-grid .field-full { grid-column: 1 / -1; }

.contact-form-grid label {
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 8px;
  color: #0d2b47;
}
.contact-form-grid input[type="text"],
.contact-form-grid input[type="email"],
.contact-form-grid input[type="tel"],
.contact-form-grid textarea {
  width: 100%;
  font: inherit;
  color: #0d2b47;
  padding: 13px 15px;
  border: 1px solid #cfe0f0;
  border-radius: 12px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form-grid textarea { resize: vertical; min-height: 150px; }
.contact-form-grid input:focus,
.contact-form-grid textarea:focus {
  outline: none;
  border-color: #005aaa;
  box-shadow: 0 0 0 3px rgba(0, 90, 170, .15);
}

.field-consent label {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: .9rem;
  line-height: 1.5;
  color: #33506c;
}
.field-consent input[type="checkbox"] { margin-top: 3px; flex: 0 0 auto; }
.field-consent a { color: #005aaa; text-decoration: underline; }

.contact-form-grid .form-note {
  margin: 10px 0 0;
  font-size: .82rem;
  color: #6a819a;
}
.contact-form-grid button[type="submit"] { align-self: flex-start; }

/* Honeypot – für Menschen unsichtbar */
.field-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Status-Banner nach dem Absenden */
.form-status {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: .98rem;
  line-height: 1.5;
}
.form-status-ok    { background: #e7f6ec; border: 1px solid #b6e0c4; color: #1c5c34; }
.form-status-error { background: #fdecec; border: 1px solid #f2c4c4; color: #8a2b2b; }
.form-status a { color: inherit; text-decoration: underline; }

@media (max-width: 640px) {
  .contact-form-grid { grid-template-columns: 1fr; }
}
