/* INTEGRA GmbH – statische Website (Nachbau des bisherigen Divi-Designs) */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira Extra Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/saira-extra-condensed-latin-600-normal.woff2") format("woff2"); }

:root {
  --blue: #2252cc;
  --navy: #102045;
  --gold: #edbb5f;
  --text: #555;
  --heading: #1a1a1a;
  --bg-soft: #f5f7fc;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --cond: "Saira Extra Condensed", "Arial Narrow", sans-serif;
  --container: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; color: var(--heading); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

/* Kicker + Überschrift (Divi: h3 Poppins klein/versal, h2 Playfair) */
.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 2em;
  text-transform: uppercase;
  color: var(--blue);
}
.title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: 1px;
  line-height: 1.4;
}
.divider { width: 60px; height: 0; border: 0; border-top: 2px solid var(--gold); margin: 22px 0 26px; }
.center { text-align: center; }
.center .divider { margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 52px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav a {
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: rgba(0,0,0,.6); transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--blue); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 6px 18px rgba(0,0,0,.12); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 12px 24px; }
  .nav li a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .nav li:last-child a { border-bottom: 0; }
}

/* Hero (Divi Fullwidth Header mit Parallax-Bild und blauem Overlay) */
.hero {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(34,82,204,.34); }
.hero .container { position: relative; display: flex; justify-content: flex-end; }
.hero-content { max-width: 550px; text-align: right; padding: 8vw 0 220px; }
.hero--sub .hero-content { text-align: left; padding: 6vw 0 12vw; }
/* Unterseiten: Bild am Abschnitt ausrichten (kein Parallax), Person im unteren Drittel */
.hero--sub { background-attachment: scroll; background-position: 55% 50%; }
@media (max-width: 800px) { .hero--sub { background-size: auto 140%; background-position: 30% 30%; } }
.hero-label {
  display: block;
  font-size: 14px; font-weight: 700; letter-spacing: 2px; line-height: 1.8;
  text-transform: uppercase; color: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 56px);
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  margin: 6px 0 10px;
}
.hero--sub h1 { font-weight: 700; font-size: clamp(32px, 4.6vw, 48px); letter-spacing: 3px; text-transform: uppercase; }
.hero p { font-size: 16px; letter-spacing: 1px; line-height: 2; color: #fff; }
@media (hover: none), (max-width: 980px) { .hero { background-attachment: scroll; } }
@media (max-width: 800px) {
  .hero-content, .hero--sub .hero-content { text-align: left; padding: 70px 0 90px; }
}

/* Zitat-Kasten (Divi Call-to-Action), ragt in den Hero hinein */
.cta-wrap { position: relative; z-index: 2; margin-top: -150px; }
.cta {
  max-width: 540px;
  background: rgba(16,32,69,.92);
  color: #fff;
  padding: 50px 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.cta blockquote { margin: 0; }
.cta blockquote p { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.45; color: #fff; }
.cta cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; letter-spacing: 1px; color: rgba(255,255,255,.7); }
@media (max-width: 800px) { .cta-wrap { margin-top: -50px; } .cta { padding: 36px 28px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px;
  padding: 8px 22px;
  font-family: var(--cond);
  font-weight: 600; font-size: 20px; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  transition: border-color .2s, color .2s;
}
.btn::after { content: "›"; color: var(--gold); font-size: 24px; line-height: 1; }
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn--solid { background: var(--blue); border-color: var(--blue); }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--solid::after { color: #fff; }

/* Feature-Abschnitte: Bild + Text */
.section { padding: 90px 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature--reverse .feature-media { order: 2; }
.feature-media img { width: 100%; box-shadow: 0 30px 70px rgba(0,0,0,.18); }
@media (max-width: 800px) {
  .section { padding: 60px 0; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature--reverse .feature-media { order: 0; }
}

/* Leistungen (dunkler Abschnitt mit Icon-Kacheln) */
.services { background: var(--navy); color: rgba(255,255,255,.8); }
.services .kicker { color: var(--gold); }
.services .title { color: #fff; }
.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service { text-align: center; padding: 34px 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.service h3 { font-size: 17px; color: #fff; line-height: 1.4; margin: 18px 0 12px; }
.service p { font-size: 14px; line-height: 1.8; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; }
.icon svg { width: 28px; height: 28px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .services-intro { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* Expertise: Merkmale + Lifecycle-Grafik */
.traits { display: grid; grid-template-columns: 5fr 6fr; gap: 60px; align-items: center; margin-top: 50px; }
.trait-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.trait { display: flex; gap: 18px; align-items: flex-start; }
.trait .icon { flex: 0 0 52px; width: 52px; height: 52px; }
.trait .icon svg { width: 22px; height: 22px; }
.trait h3 { font-size: 17px; line-height: 1.4; margin: 2px 0 2px; }
.trait p { font-size: 14px; line-height: 1.7; }
@media (max-width: 860px) { .traits { grid-template-columns: 1fr; } }

/* Leistungsmatrix (früher Grafik „Leistungen-01.jpg“) */
.matrix-section { position: relative; background-size: cover; background-position: center; }
.matrix-section::before { content: ""; position: absolute; inset: 0; background: rgba(245,247,252,.9); }
.matrix-section .container { position: relative; }
.matrix { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.quad { background: #fff; padding: 30px 34px; box-shadow: 0 10px 30px rgba(16,32,69,.08); border-top: 3px solid var(--blue); }
.quad h3 { font-size: 17px; color: var(--navy); line-height: 1.4; margin-bottom: 14px; }
.quad ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.65; }
.quad li { margin-bottom: 8px; }
.quad li::marker { color: var(--gold); }
.quad:nth-child(2), .quad:nth-child(4) { padding-left: 110px; }
.quad:nth-child(1), .quad:nth-child(3) { padding-right: 110px; }
.matrix-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 236px; height: 236px; border-radius: 50%; padding: 20px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 15px; line-height: 1.5;
  border: 6px solid #fff; box-shadow: 0 10px 30px rgba(16,32,69,.25);
}
@media (max-width: 900px) {
  .matrix { grid-template-columns: 1fr; }
  .quad:nth-child(n) { padding: 26px 26px; }
  .matrix-core { position: static; transform: none; margin: 0 auto 8px; order: -1; width: 190px; height: 190px; }
}

/* Kontakt */
.contact { background-color: #f4f4f4; background-size: cover; background-position: center top; padding: 90px 0; }
.contact--plain { background: #eceef2; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 15px 80px rgba(0,0,0,.2); }
.contact-main { padding: 60px; text-align: center; }
.contact-main .kicker { color: var(--gold); }
.contact-actions { display: grid; gap: 14px; margin-top: 30px; }
.contact-actions .btn { margin: 0; justify-content: center; }
.contact-info { font-style: normal; background: var(--navy); color: rgba(255,255,255,.85); padding: 60px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.contact-info strong { color: #fff; font-size: 17px; }
.contact-info a { color: #fff; text-decoration: none; }
.contact-info a:hover { color: var(--gold); }
.contact-info .row { display: block; }
.contact-info .lbl { color: var(--gold); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-right: 6px; }
@media (max-width: 800px) {
  .contact { padding: 50px 0; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-main, .contact-info { padding: 40px 28px; }
}

/* Textseiten (Impressum, Datenschutz) */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-size: 26px; margin: 44px 0 14px; color: var(--navy); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16px; margin: 26px 0 8px; }
.legal address { font-style: normal; }
.legal .draft { background: #fff7e3; border-left: 4px solid var(--gold); padding: 14px 18px; font-size: 14px; margin-bottom: 36px; }

/* Footer */
.site-footer { background: #1f1f1f; color: rgba(255,255,255,.6); font-size: 13px; padding: 18px 0; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; margin-left: 18px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero { background-attachment: scroll; } }
