/* ==========================================================================
   Der Mechaniker AZ — site styles
   Mobile-first. Brand palette from logo: near-black, German red, white.
   ========================================================================== */

:root {
  --ink: #111111;
  --ink-2: #1c1c1c;
  --red: #cc0000;
  --red-deep: #bc1d1d;
  --paper: #ffffff;
  --paper-2: #f4f4f5;
  --line: #e4e4e7;
  --text: #1a1a1a;
  --muted: #5b5b63;
  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
}

/* ----- reset-ish ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--red-deep); }

h1, h2, h3, .display {
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: .02em; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #f1f1f1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  font-family: "Oswald", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--red-deep);
  margin: 0 0 .6rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ----- buttons ----- */
.btn {
  display: inline-block;
  font-family: "Oswald", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .06s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: #b00000; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--lg { padding: 16px 34px; font-size: 1.1rem; }

/* ----- header / nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand .brand-text { display: none; }
.nav-toggle {
  background: none; border: 0; padding: 8px; cursor: pointer;
  display: inline-flex; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }
.nav-links {
  position: absolute; left: 0; right: 0; top: 68px;
  background: #fff; border-bottom: 1px solid var(--line);
  display: none; flex-direction: column; padding: 8px 20px 18px;
}
.nav-links.open { display: flex; }
.nav-links a {
  font-family: "Oswald", system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: .05em; font-weight: 500;
  color: var(--ink); text-decoration: none; padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.nav-links a[aria-current="page"] { color: var(--red-deep); }
.nav-links .btn { margin-top: 12px; text-align: center; }

/* ----- hero ----- */
.hero {
  background:
    linear-gradient(rgba(10,10,10,.78), rgba(10,10,10,.88)),
    repeating-linear-gradient(135deg, #161616 0 22px, #121212 22px 44px);
  color: #fff; text-align: center;
  padding: 64px 0 72px;
}
.hero img.hero-logo { height: 235px; width: auto; margin: 0 auto 22px; }
.hero h1 { color: #fff; }
.hero .lead { color: #d7d7d9; margin: 0 auto 26px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .92rem; color: #b9b9bd; }

/* ----- grids / cards ----- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red-deep);
  background: #fde8e8; padding: 3px 8px; border-radius: 999px; margin-bottom: 10px;
}
.icon-bar { height: 4px; width: 44px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

/* ----- split / feature ----- */
.split { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }

/* ----- service area ----- */
.zones { display: grid; gap: 16px; grid-template-columns: 1fr; }
.zone {
  border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px;
  padding: 16px 18px; background: #fff;
}
.zone h3 { margin: 0 0 4px; }
.zone .meta { font-size: .9rem; color: var(--muted); }
.badge {
  display: inline-block; font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: .08em; font-size: .72rem; font-weight: 600;
  background: var(--ink); color: #fff; padding: 3px 9px; border-radius: 999px; margin-left: 8px;
}
.badge--red { background: var(--red); }

/* ----- placeholder token ----- */
.ph {
  background: #fff4d6; border-bottom: 2px dashed #d9a400; padding: 0 3px;
  font-style: normal; white-space: nowrap;
}

/* ----- form ----- */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
label { font-weight: 600; display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  border: 1px solid #cfcfd4; border-radius: 8px; background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); }

/* form result banners — revealed via :target after the PHP redirect (no JS needed) */
.notice { display: none; border-radius: 10px; padding: 16px 18px; margin-bottom: 22px; border: 1px solid; line-height: 1.5; }
.notice:target { display: block; }
.notice--ok  { background: #e9f9ee; border-color: #9bdcab; color: #14532d; }
.notice--err { background: #fdeaea; border-color: #f0aeae; color: #7f1d1d; }

/* honeypot field — visually removed but not display:none (some bots skip hidden) */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ----- contact list ----- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 16px; }
.contact-list .k {
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em;
  font-size: .78rem; color: var(--muted); display: block;
}
.contact-list .v { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.contact-list a { color: var(--ink); text-decoration: none; }

/* ----- CTA strip ----- */
.cta-strip { text-align: center; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #d7d7d9; max-width: 56ch; margin: 0 auto 22px; }

/* ----- footer ----- */
.site-footer { background: #0c0c0c; color: #c7c7cc; padding: 44px 0 28px; font-size: .95rem; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.site-footer img { height: 54px; width: auto; margin-bottom: 12px; }
.site-footer h4 {
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em;
  font-size: .85rem; color: #fff; margin: 0 0 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #232323; margin-top: 28px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
  font-size: .85rem; color: #8a8a90;
}

/* ----- breadcrumb / page head ----- */
.page-head { background: var(--ink); color: #fff; padding: 48px 0; }
.page-head h1 { color: #fff; margin-bottom: .2em; }
.page-head p { color: #cfcfd4; margin: 0; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .zones  { grid-template-columns: 1fr 1fr; }
  .split  { grid-template-columns: 1fr 1fr; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .brand .brand-text {
    display: block; font-family: "Oswald", sans-serif; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em; color: var(--ink); font-size: 1.05rem;
  }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 26px;
    background: none; border: 0; padding: 0;
  }
  .nav-links a { border: 0; padding: 6px 0; }
  .nav-links .btn { margin: 0 0 0 8px; padding: 10px 20px; color: #fff; }
  .nav-links .btn:hover { color: #fff; }
}
