/* GraCon IT GmbH – Website-Stylesheet (Design "Klar & Corporate") */

:root {
  --bg: #f7f9fa;
  --text: #16232b;
  --muted: #45565f;
  --accent: #0e6b7d;
  --accent-dark: #0a5261;
  --border: #e3eaed;
  --card: #fbfdfd;
  --placeholder: #8a9ba3;
  --footer-bg: #10222a;
  --footer-text: #9fb3ba;
  --on-accent: #cfe4e9;
}

* { box-sizing: border-box; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand em { font-style: normal; color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }

/* Buttons */

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-dark); color: #ffffff; }

.btn-light { background: #ffffff; color: var(--accent); font-weight: 700; }
.btn-light:hover { background: var(--on-accent); color: var(--accent-dark); }

.site-nav .btn { font-size: 15px; padding: 10px 22px; }

/* Hero und Seitenköpfe */

.hero { padding: 100px 0 88px; }

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-inner > div { max-width: 720px; }

.hero-logo { width: 300px; height: 300px; flex-shrink: 0; }

@media (max-width: 960px) {
  .hero-logo { display: none; }
}
.page-head { padding: 72px 0 56px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  max-width: 780px;
}

.page-head h1 { font-size: clamp(30px, 4vw, 44px); }

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 28px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.actions .link { font-weight: 600; font-size: 16px; }

/* Abschnitte */

.section-white {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}

h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
}

/* Karten (Leistungen, Werte) */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text);
}

.card h3 { font-size: 19px; font-weight: 700; margin: 0; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }
.card .icon { color: var(--accent); }

a.card:hover { border-color: var(--accent); color: var(--text); }

.card h3.accent { color: var(--accent); }

/* Kundenlogos (Platzhalter) */

.logos-section { padding: 52px 0; }

.logos-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6b7d86;
  margin: 0 0 24px;
}

.logos { display: flex; gap: 24px; flex-wrap: wrap; }

.placeholder {
  border: 1px dashed #c3d2d8;
  border-radius: 8px;
  color: var(--placeholder);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.logos .placeholder { flex: 1 1 180px; padding: 20px; }

/* CTA-Band */

.cta-band { background: var(--accent); color: #ffffff; padding: 72px 0; }

.cta-band h2 { margin: 0 0 20px; font-size: clamp(26px, 3.5vw, 34px); }

.cta-band p { color: var(--on-accent); font-size: 17px; max-width: 620px; margin: 0 0 26px; }

.cta-band .contact-line { font-size: 15px; color: var(--on-accent); }

.cta-band .actions { gap: 24px; }

.cta-band.compact { padding: 64px 0; }

.cta-band.compact .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band.compact h2 { margin: 0; font-size: 28px; max-width: 640px; }

/* Leistungsseite */

.service {
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.service:last-of-type { border-bottom: 1px solid var(--border); }

.service .inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 48px;
  padding-top: 56px;
  padding-bottom: 56px;
  align-items: start;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service-title .icon { color: var(--accent); flex-shrink: 0; }

.service-title h2 { font-size: 26px; margin: 0; }

.service p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }
.service ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.service li + li { margin-top: 6px; }
.service li strong { color: var(--text, inherit); }

/* Über uns */

.team-section { padding: 64px 0; }

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.team .placeholder { height: 260px; border-radius: 10px; }

.team h3 { font-size: 17px; margin: 14px 0 2px; }
.team p { font-size: 14px; color: var(--muted); margin: 0; }

/* Kontakt */

.contact-section { padding: 0 0 72px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-info,
.contact-form {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info .row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
}

.contact-info .row .icon { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.contact-info address { font-style: normal; font-weight: 400; line-height: 1.5; }

.map-placeholder { height: 240px; border-radius: 10px; margin-top: 24px; }

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5dfe3;
  border-radius: 6px;
  background: var(--card);
  font: inherit;
  color: var(--text);
  padding: 12px 14px;
}

.contact-form input { height: 48px; }
.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

.form-note { font-size: 13px; color: var(--placeholder); margin: 0; }

/* Rechtliches */

.legal { max-width: 900px; }

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

.legal h2 { font-size: 20px; margin: 32px 0 8px; }

.legal p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 8px; }

.legal .firm { font-weight: 700; color: var(--text); }

.legal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
  font-size: 15px;
  color: var(--muted);
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.legal-facts b { color: var(--text); font-weight: 600; }

.legal-note { font-size: 14px; color: var(--placeholder); font-style: italic; }

.legal-section { padding: 64px 0; }

.legal-section.white { background: #ffffff; border-top: 1px solid var(--border); }

/* Footer */

.site-footer {
  margin-top: auto;
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-inner .col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }

.footer-inner .firm { font-size: 16px; font-weight: 700; color: #ffffff; }

.footer-inner .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6b7d86;
}

.footer-inner address { font-style: normal; line-height: 1.6; }

.footer-inner a { color: var(--footer-text); }
.footer-inner a:hover { color: #ffffff; }

.footer-links { display: flex; gap: 32px; }

/* Seitenlayout: Footer immer unten */

body { display: flex; flex-direction: column; min-height: 100vh; }

/* Responsive */

@media (max-width: 960px) {
  .cards, .team { grid-template-columns: 1fr; }
  .service .inner, .contact-grid { grid-template-columns: 1fr; }
  .legal-facts { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 24px; }
  .hero { padding: 64px 0 56px; }
  .page-head { padding: 48px 0 36px; }
  .section-white, .cta-band { padding: 52px 0; }
  .site-nav { gap: 20px; }
  .header-inner { justify-content: center; text-align: center; }
}
