/* Autohaus Broglin – statische Website */
:root {
  --text: #1b1b1d;
  --yellow: #fbff00;
  --white: #ffffff;
  --cut: 56px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  color: var(--text);
  background-color: #111;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.4;
}
/* Hintergrundbild mit dunkler Überlagerung, wie im Original */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(45deg, rgba(0,0,0,.9) 25%, rgba(0,0,0,.7) 75%),
    url("images/opel-hintergrund.jpg") center / cover no-repeat,
    #111;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

header { padding: 50px 0 30px; text-align: center; }
header img { width: 100%; max-width: 1100px; height: auto; display: block; margin: 0 auto; }
header .fallback { color: #ddd; font-size: 64px; font-weight: 800; letter-spacing: .08em; margin: 0; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card {
  padding: 36px 40px 70px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.card.white { background: var(--white); }
.card.yellow { background: var(--yellow); }
.card.full { grid-column: 1 / -1; }

h1 { font-size: 28px; font-weight: 400; margin: 0 0 24px; }
h2 { font-size: 21px; font-weight: 700; margin: 28px 0 6px; }
h3 { font-size: 18px; font-weight: 700; margin: 20px 0 6px; }
p { margin: 0 0 28px; }
.legal p { margin-bottom: 14px; font-size: 18px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; font-size: 18px; }
.legal li { margin-bottom: 4px; }
a { color: inherit; }

.contact { display: flex; align-items: center; gap: 16px; margin: 12px 0 34px;
           font-size: 26px; font-weight: 700; text-decoration: none; word-break: break-word; }
.contact .icon { flex: 0 0 auto; width: 38px; height: 38px; background: var(--text);
                 display: inline-flex; align-items: center; justify-content: center; }
.contact .icon svg { width: 20px; height: 20px; fill: var(--yellow); }
.small { margin-bottom: 8px; }

footer { margin-top: 30px; border-top: 1px solid rgba(255,255,255,.5);
         padding: 22px 0 40px; text-align: right; }
footer a { color: #fff; text-decoration: none; text-transform: uppercase;
           font-size: 15px; letter-spacing: .03em; margin-left: 18px; }
footer a.active, footer a:hover { color: var(--yellow); }

/* Handy und schmale Bildschirme */
@media (max-width: 760px) {
  body { font-size: 17px; }
  header { padding: 28px 0 20px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 26px 22px 56px; --cut: 40px; }
  h1 { font-size: 24px; }
  p { margin-bottom: 20px; }
  .contact { font-size: 18px; gap: 12px; }
  footer { text-align: center; }
  footer a { display: inline-block; margin: 6px 10px; }
}
