
:root{
  --navy:#173a54;
  --navy2:#244e6b;
  --blue:#5389a7;
  --sand:#c7b59a;
  --green:#8cb858;
  --text:#445158;
  --muted:#738087;
  --paper:#f5f6f5;
  --line:#e1e6e5;
  --white:#fff;
  --shadow:0 13px 35px rgba(34,61,74,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1160px,calc(100% - 42px));margin:auto}
h1,h2,h3{margin:0 0 16px;color:#35444c;line-height:1.25;font-weight:500}
h1{font-size:clamp(2rem,3.6vw,3.6rem)}
h2{font-size:clamp(1.8rem,3vw,2.8rem)}
h3{font-size:1.3rem}
p{margin:0 0 18px}
.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:.73rem;color:var(--blue);font-weight:700;margin-bottom:11px}
.topbar{height:35px;background:var(--navy);color:#dce7ed;font-size:.78rem}
.topbar-inner{height:35px;display:flex;justify-content:space-between;align-items:center}
.topbar-phones{display:flex;gap:8px}
.site-header{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line)}
.nav{height:104px;display:flex;align-items:center;justify-content:space-between;gap:40px}
.brand{width:245px;flex:0 0 auto}
.brand img{width:100%;height:auto}
.nav-links{display:flex;align-items:center;gap:27px;font-size:.91rem;color:#52616a}
.nav-links a{padding:39px 0 35px;border-bottom:3px solid transparent}
.nav-links a:hover{color:var(--navy2);border-color:var(--sand)}
.menu-btn{display:none;border:0;background:none;font-size:1.55rem;color:var(--navy)}
.hero-image-wrap{width:100%;background:#e9edef;display:flex;justify-content:center;overflow:hidden}
.hero-image-wrap img{display:block;width:100%;height:auto;object-fit:contain;object-position:center}
.hero-slogan-strip{background:var(--navy2);color:#fff;padding:17px 0}
.hero-slogan-strip p{text-align:center;margin:0;font-size:clamp(1.05rem,2vw,1.55rem);font-weight:300;letter-spacing:.035em}
.hero-slogan-strip span{color:var(--sand);padding:0 16px}
.hero-intro{padding:48px 0 58px;background:#fff}
.hero-intro-inner{text-align:center;max-width:900px}
.hero-intro p{max-width:790px;margin:0 auto;color:#6b777e;font-size:1.06rem}
section{padding:86px 0}
.section-heading{max-width:770px;margin-bottom:40px}
.section-heading.centered{text-align:center;margin-left:auto;margin-right:auto}
.section-heading p{color:var(--muted)}
.principles{background:#fff}
.principle-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.principle{padding:38px 34px;position:relative}
.principle+.principle{border-left:1px solid var(--line)}
.principle-number{font-size:.75rem;color:var(--sand);letter-spacing:.12em}
.principle h3{margin-top:11px;font-size:1.65rem}
.principle p{color:#707b82}
.locations-section{background:var(--paper)}
.location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.location-card{background:#fff;border:1px solid var(--line);box-shadow:0 7px 20px rgba(40,70,82,.04)}
.location-photo{height:235px;background-size:cover;background-position:center}
.location-card:nth-child(1) .location-photo{background-image:url('https://images.unsplash.com/photo-1516550893923-42d28e5677af?auto=format&fit=crop&w=1000&q=80')}
.location-card:nth-child(2) .location-photo{background-image:url('https://images.unsplash.com/photo-1467269204594-9661b134dd2b?auto=format&fit=crop&w=1000&q=80')}
.location-card:nth-child(3) .location-photo{background-image:url('./images/valencia-ciudad-artes.jpeg')}
.location-text{padding:23px}
.location-text p{color:#748087;font-size:.93rem}
.project-section{background:#fff}
.project-card{display:grid;grid-template-columns:1.12fr .88fr;background:var(--paper);border:1px solid var(--line)}
.project-image{min-height:450px;background:url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1500&q=85') center/cover}
.project-copy{padding:48px;display:flex;flex-direction:column;justify-content:center}
.project-copy p{color:#6f7b82}
.project-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:21px 0 27px}
.project-meta div{border-top:1px solid #d9dfde;padding-top:12px}
.project-meta strong{display:block;color:var(--navy2);font-size:1.05rem}
.project-meta span{font-size:.82rem;color:#79848a}
.text-link{color:var(--navy2);font-weight:700}
.group-section{background:var(--paper)}
.group-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.company{background:#fff;border:1px solid var(--line);padding:28px;min-height:305px}
.company-logo{height:105px;display:flex;align-items:center;margin-bottom:21px}
.company-logo img{max-height:83px;max-width:215px}
.company p{color:#707b82}
.contact-section{background:#fff}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px}
.contact-copy>p{color:#707b82}
.contact-details{margin-top:26px;padding-top:25px;border-top:1px solid var(--line)}
.contact-form{display:grid;gap:13px}
input,textarea{width:100%;padding:14px;border:1px solid #dbe2e1;font:inherit;background:#fff}
textarea{min-height:140px;resize:vertical}
.notice{font-size:.78rem;color:#778289}
.notice input{width:auto}
.btn{display:inline-block;border:1px solid var(--navy2);padding:12px 20px;font-weight:700;font-size:.9rem;cursor:pointer}
.btn-primary{background:var(--navy2);color:#fff}
footer{background:#edf1f0;color:#66737a;padding:52px 0 23px}
.footer-grid{display:grid;grid-template-columns:1.05fr 1fr .65fr 1fr;gap:40px}
.footer-logo{width:155px;margin-bottom:17px}
footer h3{font-family:Arial,sans-serif;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em}
footer p{font-size:.88rem}
.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #d7dfdd;margin-top:31px;padding-top:20px;font-size:.79rem}
.reveal{opacity:0;transform:translateY(14px);transition:.6s}
.reveal.visible{opacity:1;transform:none}
.legal{padding-top:120px;min-height:100vh;background:var(--paper)}
.legal article{background:#fff;border:1px solid var(--line);padding:44px}
@media(max-width:900px){
  .nav{height:85px}.brand{width:210px}
  .menu-btn{display:block}
  .nav-links{display:none;position:absolute;top:120px;left:0;right:0;background:#fff;padding:18px 24px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}
  .nav-links.open{display:flex}
  .nav-links a{padding:7px 0;border:0}
  .principle-grid,.location-grid,.group-grid{grid-template-columns:1fr}
  .principle+.principle{border-left:0;border-top:1px solid var(--line)}
  .project-card,.contact-grid{grid-template-columns:1fr}
  .project-image{min-height:340px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .container{width:min(100% - 24px,1160px)}
  .topbar{height:auto;padding:7px 0}
  .topbar-inner{height:auto;display:block;text-align:center}
  .topbar-phones{justify-content:center}
  .nav{height:76px}.brand{width:185px}
  .nav-links{top:111px}
  .hero-slogan-strip p{line-height:1.55;font-size:.98rem}
  .hero-slogan-strip span{padding:0 6px}
  section{padding:64px 0}
  .project-copy{padding:28px}
  .project-meta{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{display:block}
}

.hero-intro h1{
  white-space:nowrap;
  font-size:clamp(1.5rem,2.8vw,3rem);
}
@media(max-width:700px){
  .hero-intro h1{
    white-space:normal;
  }
}

.principle-number{
  display:none !important;
}

.hero-intro{
  padding:38px 0 34px !important;
}
.principles{
  padding-top:42px !important;
}

.project-image-molkerei{
  min-height:450px;
  background:url('./images/alte-molkerei-markoldendorf.jpg') center/cover no-repeat;
}


/* Projekte vereinheitlichen */
.project-section .project-card{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  width:100%;
  margin-bottom:20px; /* ca. 5 mm Abstand */
  align-items:stretch;
}

.project-section .project-card:last-child{
  margin-bottom:0;
}

.project-image,
.project-image-molkerei{
  min-height:450px;
  height:100%;
}

@media(max-width:900px){
  .project-section .project-card{
    grid-template-columns:1fr;
    margin-bottom:20px;
  }
}


/* Feinjustierung Projektbereich */
.project-section .project-card{
  grid-template-columns: 52% 48%;
  min-height: 460px;
  overflow: hidden;
  border:1px solid var(--line);
  box-shadow:0 6px 18px rgba(40,70,82,.05);
}

.project-section .project-card + .project-card{
  margin-top: 20px;
}

.project-image,
.project-image-molkerei{
  min-height:460px !important;
  height:460px !important;
  display:block;
}

.project-copy{
  min-height:460px;
  padding:42px 44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.project-copy h3{
  margin-bottom:14px;
}

.project-copy p:last-child{
  margin-bottom:0;
}

@media(max-width:900px){
  .project-section .project-card{
    min-height:auto;
  }
  .project-image,
  .project-image-molkerei{
    height:320px !important;
    min-height:320px !important;
  }
  .project-copy{
    min-height:auto;
    padding:30px;
  }
}


/* Einheitliche Projektkarten – beide Projekte exakt gleich */
.project-section{
  display:block;
}
.project-section .container{
  display:block;
}
.project-section .project-card{
  width:100% !important;
  max-width:none !important;
  display:grid !important;
  grid-template-columns:52% 48% !important;
  min-height:460px !important;
  margin:0 0 20px 0 !important;
}

.project-section .project-card:last-of-type{
  margin-bottom:0 !important;
}

.project-section .project-image,
.project-section .project-image-molkerei{
  width:100% !important;
  height:460px !important;
  min-height:460px !important;
}

.project-section .project-copy{
  width:100% !important;
  min-height:460px !important;
}

@media(max-width:900px){
  .project-section .project-card{
    grid-template-columns:1fr !important;
  }
}


/* Projektbereich vollständig vereinheitlicht */
.projects-list{
  display:flex;
  flex-direction:column;
  gap:20px;
  width:100%;
}

.projects-list .project-card{
  width:100% !important;
  max-width:none !important;
  min-height:460px !important;
  display:grid !important;
  grid-template-columns:52% 48% !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden;
  background:var(--paper);
  border:1px solid var(--line);
  box-shadow:0 6px 18px rgba(40,70,82,.05);
}

.projects-list .project-image{
  width:100% !important;
  height:460px !important;
  min-height:460px !important;
  background-position:center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}

.project-image-belair{
  background-image:url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1500&q=85') !important;
}

.project-image-molkerei{
  background-image:url('./images/alte-molkerei-markoldendorf.jpg') !important;
}

.projects-list .project-copy{
  width:100% !important;
  min-height:460px !important;
  padding:42px 44px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

.projects-list .project-copy h3{
  margin:0 0 14px !important;
  font-size:1.65rem;
}

.projects-list .project-meta{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:12px !important;
  margin:22px 0 25px !important;
}

.projects-list .project-meta div{
  border-top:1px solid #d9dfde;
  padding-top:12px;
}

.projects-list .project-meta strong{
  display:block;
  color:var(--navy2);
  font-size:1.03rem;
}

.projects-list .project-meta span{
  display:block;
  font-size:.82rem;
  color:#79848a;
}

@media(max-width:900px){
  .projects-list .project-card{
    grid-template-columns:1fr !important;
    min-height:auto !important;
  }

  .projects-list .project-image{
    height:320px !important;
    min-height:320px !important;
  }

  .projects-list .project-copy{
    min-height:auto !important;
    padding:30px !important;
  }
}

@media(max-width:600px){
  .projects-list .project-meta{
    grid-template-columns:1fr !important;
  }
}


/* Technisch angebundenes Kontaktformular */
.contact-form .consent-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.contact-form .consent-row input{
  width:auto;
  margin-top:4px;
  flex:0 0 auto;
}
.contact-form .consent-row a{
  color:var(--navy2);
  text-decoration:underline;
}
.form-honeypot{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.form-submit[disabled]{
  opacity:.65;
  cursor:wait;
}
.form-status{
  min-height:1.4em;
  margin:0;
}
.form-status.success{
  color:#2f6b3b;
  font-weight:700;
}
.form-status.error{
  color:#a22d2d;
  font-weight:700;
}
.cf-turnstile{
  min-height:65px;
}
