/* PSG Technik – Website Stylesheet */

:root {
  --accent: #C20616;
  --ink: #17171A;
  --ink-soft: #3D3A35;
  --ink-faint: #5E5750;
  --paper: #F3F1EE;
  --panel: #EAE5DD;
  --line: #DDD7D0;
  --line-strong: #D2CAC2;
  --bronze: #7A5746;
  --bronze-light: #B89A88;
  --bronze-pale: #D9B8A4;
  --cream-on-dark: #D8D2CC;
  --input-border: #BDB4AB;
  --ok: #2F6B4F;
  --radius: 6px;
  --max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 80px;
}

h1, h2, h3, blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  margin: 0;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: var(--cream-on-dark);
  font-size: 13px;
  padding: 10px 80px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #FFFFFF; }
.topbar-contacts { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Header ---------- */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand img { height: 62px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name span:first-child { font-family: 'Fraunces', Georgia, serif; font-size: 24px; font-weight: 600; }
.brand-tagline { font-size: 12px; letter-spacing: 0.14em; color: var(--bronze); font-weight: 700; }

nav.main-nav { display: flex; gap: 36px; font-size: 15px; font-weight: 500; align-items: center; }
.btn-accent {
  background: var(--accent); color: #FFFFFF; border-radius: 999px;
  padding: 13px 24px; font-weight: 700; display: inline-block; border: 0; cursor: pointer; font: inherit;
}
.btn-accent:hover { color: #FFFFFF; opacity: 0.92; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.menu-toggle svg { pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 80px 56px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: end;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--bronze);
  margin-bottom: 32px;
}
.hero-eyebrow .rule { width: 32px; height: 1px; background: var(--bronze); }
.hero-left { grid-column: span 8; }
.hero-left h1 {
  font-size: 112px; line-height: 0.98; letter-spacing: -0.03em;
}
.hero-left h1 em { color: var(--accent); font-style: italic; }
.hero-right { grid-column: span 4; display: flex; flex-direction: column; gap: 28px; padding-bottom: 12px; }
.hero-right p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink-soft); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-dark {
  background: var(--ink); color: #FFFFFF; border-radius: 999px;
  padding: 16px 28px; font-weight: 700; font-size: 16px; display: inline-block;
}
.btn-dark:hover { color: #FFFFFF; opacity: 0.9; }
.btn-outline {
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 16px 24px; font-weight: 700; font-size: 16px; display: inline-block;
}

.hero-photo { padding: 0 80px 0; }
.hero-photo img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

/* ---------- Für wen ---------- */
.section-fuerwen { padding: 160px 80px 24px; display: flex; flex-direction: column; gap: 40px; }
.section-fuerwen h2 { font-size: 56px; line-height: 1.05; }
.fuerwen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fuerwen-card { border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.fuerwen-card.dark { background: var(--ink); color: var(--paper); }
.fuerwen-card.light { background: var(--panel); }
.fuerwen-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }
.fuerwen-card.dark .fuerwen-eyebrow { color: var(--bronze-pale); }
.fuerwen-card.light .fuerwen-eyebrow { color: var(--bronze); }
.fuerwen-card h3 { font-size: 34px; font-weight: 600; }
.fuerwen-card p { margin: 0; font-size: 17px; line-height: 1.6; }
.fuerwen-card.dark p { color: var(--cream-on-dark); }
.fuerwen-card.light p { color: var(--ink-soft); }

/* ---------- Leistungen ---------- */
.section-leistungen { padding: 104px 80px 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.leistungen-intro { grid-column: span 4; display: flex; flex-direction: column; gap: 24px; }
.leistungen-intro h2 { font-size: 56px; line-height: 1.05; }
.leistungen-intro p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.leistungen-list { grid-column: 6 / span 7; display: flex; flex-direction: column; }
.leistung-row {
  display: flex; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line);
  align-items: baseline; color: var(--ink);
}
.leistung-no { font-family: 'Fraunces', Georgia, serif; font-size: 20px; color: var(--bronze); width: 40px; flex-shrink: 0; }
.leistung-body { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.leistung-body h3 { font-size: 32px; font-weight: 600; }
.leistung-body p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.leistung-brands { font-size: 13px; color: var(--ink-faint); width: 170px; text-align: right; flex-shrink: 0; }

/* ---------- Außerdem ---------- */
.section-extras {
  margin: 0 80px; padding: 40px 48px; background: var(--panel); border-radius: var(--radius);
  display: flex; gap: 48px; align-items: center; flex-wrap: wrap;
}
.extras-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--bronze); flex-shrink: 0; }
.extras-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.extras-tags span {
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 10px 18px; font-size: 15px; font-weight: 500;
}

/* ---------- Ablauf ---------- */
.section-ablauf { padding: 104px 80px 32px; display: flex; flex-direction: column; gap: 48px; }
.section-ablauf h2 { font-size: 56px; line-height: 1.05; }
.ablauf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ablauf-step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--ink); }
.ablauf-no { font-family: 'Fraunces', Georgia, serif; font-size: 44px; color: var(--bronze-light); }
.ablauf-step h3 { font-size: 21px; font-weight: 700; font-family: 'Manrope', sans-serif; }
.ablauf-step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Über uns ---------- */
.section-ueber {
  margin: 72px 80px 0; padding: 80px; background: var(--ink); color: var(--paper);
  border-radius: var(--radius); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px;
}
.section-ueber blockquote { font-size: 44px; line-height: 1.2; }
.ueber-right { display: flex; flex-direction: column; gap: 24px; justify-content: flex-end; }
.ueber-right p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--cream-on-dark); }
.ueber-rule { height: 1px; background: var(--bronze); }
.ueber-signature { font-size: 15px; color: var(--paper); }

/* ---------- Partnermarken ---------- */
.section-marken {
  margin: 64px 80px 0; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.marken-label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--bronze); }
.marken-list { display: flex; gap: 64px; font-family: 'Fraunces', Georgia, serif; font-size: 28px; color: var(--ink-soft); flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.section-kontakt { padding: 104px 80px 96px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.kontakt-left { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; }
.kontakt-left h2 { font-size: 60px; line-height: 1.05; }
.kontakt-info { display: flex; flex-direction: column; gap: 16px; }
.kontakt-person { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.kontakt-person-name { font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 600; }
.kontakt-person-role { font-size: 14px; color: var(--ink-faint); }
.kontakt-person-phone { font-size: 18px; font-weight: 700; align-self: center; }
.kontakt-office { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.kontakt-office a { font-weight: 700; }

.kontakt-form {
  grid-column: 7 / span 6; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: flex; flex-direction: column; gap: 22px;
}
.kontakt-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kontakt-form legend { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.kind-options { display: flex; gap: 10px; flex-wrap: wrap; }
.kind-btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; border: 1.5px solid var(--ink); background: #FFFFFF; color: var(--ink);
}
.kind-btn[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.field input[type="text"], .field textarea {
  height: 48px; border: 1px solid var(--input-border); border-radius: var(--radius);
  padding: 0 14px; font: inherit; font-weight: 400; background: #fff; color: var(--ink);
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.consent-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.submit-btn {
  height: 56px; border: 0; border-radius: 999px; background: var(--accent); color: #FFFFFF;
  font: inherit; font-weight: 700; font-size: 17px; cursor: pointer;
}
.submit-btn[disabled] { opacity: 0.6; cursor: default; }
.form-status { min-height: 20px; font-size: 14px; font-weight: 700; color: var(--accent); }
.form-status.ok { color: var(--ok); }

/* ---------- Footer ---------- */
footer.site-footer {
  margin-top: auto; padding: 48px 80px; background: var(--ink); color: var(--cream-on-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  font-size: 14px; line-height: 1.6; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { height: 48px; width: auto; }
.footer-legal { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-legal a { color: #FFFFFF; }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--ink); color: var(--cream-on-dark);
  padding: 20px 80px; display: none; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--bronze);
}
#cookie-banner p { margin: 0; font-size: 14px; line-height: 1.5; max-width: 640px; }
#cookie-banner a { color: #FFFFFF; text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions button {
  border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 14px; cursor: pointer; font: inherit;
}
#cookie-accept-all { background: var(--accent); color: #fff; border: 0; }
#cookie-reject-all { background: transparent; color: #fff; border: 1.5px solid #fff; }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 900px; margin: 0 auto; padding: 64px 80px 96px; display: flex; flex-direction: column; gap: 28px; }
.legal-back { font-size: 14px; font-weight: 700; color: var(--bronze); align-self: flex-start; }
.legal-page h1 { font-size: 56px; }
.legal-page .stand { margin: 0; font-size: 14px; color: var(--ink-faint); }
.legal-section { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.7; }
.legal-section h2 { font-size: 26px; font-weight: 600; margin-top: 24px; }
.legal-section p, .legal-section div { margin: 0; }
.legal-section ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Cookie settings page ---------- */
.cookie-cat {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap;
}
.cookie-cat-text { display: flex; flex-direction: column; gap: 8px; max-width: 700px; }
.cookie-cat-text h3 { font-size: 22px; font-weight: 600; }
.cookie-cat-text p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.cookie-toggle {
  min-width: 120px; height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 700;
  font-size: 14px; cursor: pointer; border: 1.5px solid #8A8378; background: #FFFFFF; color: var(--ink-soft);
}
.cookie-toggle[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.cookie-toggle[disabled] { cursor: default; }
.cookie-page-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .container, .topbar, header.site-header, .hero, .hero-photo, .section-fuerwen,
  .section-leistungen, .section-extras, .section-ablauf, .section-ueber,
  .section-marken, .section-kontakt, footer.site-footer, #cookie-banner {
    padding-left: 40px; padding-right: 40px;
  }
  .section-extras, .section-ueber, .section-marken { margin-left: 40px; margin-right: 40px; }
  .hero-left h1 { font-size: 80px; }
}

@media (max-width: 900px) {
  .topbar { padding: 10px 20px; font-size: 12px; }
  header.site-header { padding: 14px 20px; }
  .brand img { height: 46px; }
  .brand-name span:first-child { font-size: 19px; }
  .brand-tagline { font-size: 9px; }
  nav.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px; display: none; }
  nav.main-nav.open { display: flex; }
  nav.main-nav a:not(.btn-accent) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  nav.main-nav .btn-accent { margin-top: 14px; text-align: center; }
  .menu-toggle { display: flex; }

  .hero { padding: 40px 20px 28px; grid-template-columns: 1fr; gap: 20px; }
  .hero-eyebrow { margin-bottom: 0; font-size: 11px; }
  .hero-left, .hero-right { grid-column: 1 / -1; }
  .hero-left h1 { font-size: 48px; line-height: 1; }
  .hero-right { padding-bottom: 0; gap: 16px; }
  .hero-right p { font-size: 17px; }
  .hero-cta { flex-direction: column; }
  .hero-cta a { text-align: center; }

  .hero-photo { padding: 0 20px; }
  .hero-photo img { max-height: 320px; }

  .section-fuerwen { padding: 64px 20px 8px; gap: 16px; }
  .section-fuerwen h2 { font-size: 34px; }
  .fuerwen-grid { grid-template-columns: 1fr; }
  .fuerwen-card { padding: 24px; }
  .fuerwen-card h3 { font-size: 26px; }

  .section-leistungen { padding: 56px 20px 8px; grid-template-columns: 1fr; gap: 8px; }
  .leistungen-intro, .leistungen-list { grid-column: 1 / -1; }
  .leistungen-intro h2 { font-size: 34px; margin-bottom: 8px; }
  .leistung-no { display: none; }
  .leistung-body h3 { font-size: 24px; }
  .leistung-brands { width: auto; text-align: left; font-size: 12px; }
  .leistung-row { flex-wrap: wrap; }

  .section-extras { margin: 8px 20px 0; padding: 20px; gap: 12px; flex-direction: column; align-items: flex-start; }

  .section-ablauf { padding: 56px 20px 8px; gap: 20px; }
  .section-ablauf h2 { font-size: 34px; }
  .ablauf-grid { grid-template-columns: 1fr; gap: 20px; }

  .section-ueber { margin: 48px 20px 0; padding: 32px 24px; grid-template-columns: 1fr; gap: 20px; }
  .section-ueber blockquote { font-size: 26px; }

  .section-marken { margin: 32px 20px 0; padding: 20px 0; flex-direction: column; align-items: flex-start; gap: 16px; }
  .marken-list { gap: 24px; font-size: 20px; }

  .section-kontakt { padding: 56px 20px 48px; grid-template-columns: 1fr; gap: 18px; }
  .kontakt-left, .kontakt-form { grid-column: 1 / -1; }
  .kontakt-left h2 { font-size: 34px; }
  .kontakt-form { padding: 22px; }
  .form-row-2 { grid-template-columns: 1fr; }

  footer.site-footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; gap: 18px; }

  #cookie-banner { padding: 16px 20px; flex-direction: column; align-items: stretch; text-align: left; }

  .legal-page { padding: 40px 20px 64px; }
  .legal-page h1 { font-size: 36px; }
}
