/* consolt – Website-Stylesheet (Nachbau des IONOS-Designs) */
/* Schriften lokal eingebunden (keine Verbindung zu Google) */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #99700a;
  --gold-dark: #886308;
  --brown: #453102;
  --text: #4d5656;
  --text-dark: #343434;
  --grey: #efefef;
  --teal: 13, 196, 194;
  --white: #fff;
  --radius: 12px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 .6em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Header ---------- */
.site-header { background: var(--white); position: relative; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 110px; }
.logo {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 2.9rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .01em;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.nav a { color: var(--text); text-decoration: none; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 980px) {
  .nav-toggle-label {
    display: block; cursor: pointer; width: 40px; height: 32px; position: relative;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    content: ""; position: absolute; left: 0; width: 38px; height: 4px; background: var(--text); border-radius: 2px;
  }
  .nav-toggle-label span { top: 14px; }
  .nav-toggle-label span::before { top: -12px; }
  .nav-toggle-label span::after { top: 12px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); box-shadow: 0 10px 24px rgba(0,0,0,.08);
  }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid #eee; }
  .nav-toggle:checked ~ .nav { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  color: var(--brown);
  clip-path: polygon(0 4%, 6% 0, 100% 16%, 100% 100%, 0 100%);
  border-radius: 0 60px 0 0;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(var(--teal), .5); }
.hero .container { position: relative; padding-top: 140px; padding-bottom: 70px; }
.hero h1 { color: var(--brown); font-weight: 400; margin-bottom: .3em; }
.hero h2 { color: var(--brown); font-weight: 400; font-size: clamp(1.2rem, 2.4vw, 1.9rem); max-width: 900px; }
.hero p { color: var(--text-dark); max-width: 620px; font-size: 1.05rem; }
.hero--sub { min-height: 420px; clip-path: none; border-radius: 0; }
.hero--sub::before { background: rgba(var(--teal), .7); }
.hero--sub .container { padding-top: 90px; padding-bottom: 60px; }
.hero--small { min-height: 260px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--grey { background: var(--grey); }
.section--tight { padding: 50px 0; }
.eyebrow { color: var(--gold); }
.gold { color: var(--gold); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.img-pair img:nth-child(2) { margin-top: 60px; }
.rounded { border-radius: var(--radius); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: center; }
.stats h3 { color: var(--gold-dark); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .2em; }
.stats h4 { color: var(--gold-dark); font-weight: 400; }

.banner {
  position: relative; background-size: cover; background-position: center;
  padding: 110px 0;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(var(--teal), .7); }
.banner--60::before { background: rgba(var(--teal), .6); }
.banner .container { position: relative; }
.banner h2 { color: var(--brown); font-weight: 400; max-width: 900px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 22px; }
.steps h3, .section-title { color: var(--gold); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.team img { width: 148px; height: 148px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.team .name { font-weight: bold; color: var(--text); margin-bottom: .3em; }
.team p { margin-bottom: .3em; }

/* ---------- Projekte ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.facts--3 { grid-template-columns: repeat(3, 1fr); }
.facts .label { color: var(--gold); font-weight: bold; margin-bottom: .2em; }
.facts p { margin: 0; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.project img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.project .title { font-weight: bold; color: var(--gold); margin-bottom: .25em; }
.project p { margin-bottom: .25em; }

/* ---------- Kontakt ---------- */
.contact-wrap {
  background-repeat: no-repeat; background-position: right bottom; background-size: 420px auto;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; margin-top: 8px; }
.form label { display: block; font-size: .95rem; margin: 16px 0 6px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  border: 1px solid #c9cfcf; border-radius: 6px; background: #fff;
}
.form textarea { min-height: 150px; resize: vertical; }
.form small { display: block; margin-top: 10px; color: #7a8484; }
.btn {
  display: inline-block; margin-top: 18px; padding: 13px 34px; border: 0; border-radius: 6px;
  background: var(--gold); color: #fff; font: 600 1rem 'Montserrat', Arial, sans-serif; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--gold-dark); }

/* ---------- Rechtliches ---------- */
.legal { max-width: 860px; }
.legal h3 { color: var(--gold); font-size: 1.2rem; margin-top: 1.8em; }
.legal .credits { columns: 3; column-gap: 24px; padding: 0; list-style: none; }
.legal .credits a { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--grey); padding: 34px 0; font-size: .95rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--text); text-decoration: none; margin-left: 20px; }
.site-footer a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps, .team, .projects { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .hero { min-height: 460px; }
  .legal .credits { columns: 2; }
}
@media (max-width: 560px) {
  .steps, .team, .projects, .stats, .facts, .facts--3 { grid-template-columns: 1fr; }
  .logo { font-size: 2.3rem; }
  .site-footer a { margin: 0 16px 0 0; }
  .contact-wrap { background-size: 240px auto; }
}
