/* Wolfgang Kraemer Malerbetrieb – Startseite */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2"); }

:root {
  --red: #c62e1a;
  --red-dark: #a82514;
  --red-deep: #b21916;
  --orange: #d9560f;
  --ink: #1d1d1b;
  --ink-soft: #3b3b39;
  --muted: #4f4f4d;
  --warm: #f7f1ec;
  --line: #e3d9d1;
  --pad: 80px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.5; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.site-footer a:focus-visible { outline-color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; background: var(--red); color: #fff; border-radius: 6px; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .15s; }
.btn:hover { background: var(--red-dark); }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 17px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #ece4dd; }
.header-inner { min-height: 104px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 88px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav ul { display: flex; align-items: center; gap: 24px; }
.main-nav ul a { display: flex; align-items: center; min-height: 48px; padding: 0 8px; font-size: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.main-nav ul a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; font: 600 16px var(--body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.menu-toggle[hidden] { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px); min-height: 760px; background: var(--warm); }
.hero-text { padding: 64px var(--pad); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; }
.eyebrow { font-size: 16px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: #4a4a48; }
.hero h1 { font-family: var(--display); font-size: clamp(72px, 8.4vw, 120px); font-weight: 700; line-height: .92; text-transform: uppercase; }
.hero h1 .dot { color: var(--orange); }
.hero-name { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; }
.hero-lead { max-width: 520px; font-size: 20px; line-height: 1.6; color: var(--ink-soft); }
.hero-image { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 42%; display: block; }

/* Leistungen */
.services { padding: 0 var(--pad); background: #fff; }
.services-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 220px; align-items: center; }
.services-list li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 16px; text-align: center; }
.services-list li + li { border-left: 1px solid var(--line); }
.icon { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: #f6efea; color: var(--red); }
.services-list h3 { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.services-list p { font-size: 18px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--red-deep); color: #fff; }
.footer-inner { padding: 56px var(--pad); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.7fr) auto; align-items: center; column-gap: 40px; row-gap: 28px; }
.footer-name h2 { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1.05; margin-bottom: 8px; }
.footer-name p { font-size: 20px; line-height: 1.35; }
.footer-block { display: flex; align-items: flex-start; gap: 14px; padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .4); font-size: 19px; line-height: 1.45; font-style: normal; }
.footer-block svg { flex: none; margin-top: 2px; }
.footer-links { flex-direction: column; gap: 6px; }
.footer-links a { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.footer-links a svg { margin-top: 0; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links span { overflow-wrap: break-word; }
.slogan { justify-self: end; font-family: "Caveat", cursive; font-size: 38px; font-weight: 600; line-height: 1.15; text-align: right; transform: rotate(-5deg); }

/* Tablet */
@media (max-width: 1100px) {
  :root { --pad: 40px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { border-left: 0; padding-left: 0; }
  .slogan { justify-self: start; text-align: left; transform: rotate(-3deg); transform-origin: left center; }
}

/* Mobil: Navigation einklappen (nur mit JavaScript, sonst bleibt sie sichtbar) */
@media (max-width: 960px) {
  .header-inner { min-height: 72px; padding: 0 16px; flex-wrap: wrap; }
  .brand img { width: 60px; }
  .js .menu-toggle { display: inline-flex; }
  .main-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 4px 0 16px; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav ul a { min-height: 56px; padding: 0; border-bottom: 1px solid #ece4dd; font-size: 18px; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .btn-nav { width: 100%; }

  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-text { padding: 36px 24px 40px; gap: 18px; }
  .eyebrow { font-size: 14px; letter-spacing: .26em; }
  .hero-lead { font-size: 18px; }
  .hero-text .btn { width: 100%; min-height: 56px; font-size: 16px; }
  .hero-text p:last-child { width: 100%; }
  .hero-image { height: 440px; min-height: 0; object-position: 50% 45%; }

  .services { padding: 36px 16px; }
  .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-height: 0; align-items: stretch; }
  .services-list li { padding: 22px 10px; gap: 10px; border: 1px solid var(--line); border-radius: 12px; }
  .services-list li + li { border-left: 1px solid var(--line); }
  .icon { width: 64px; height: 64px; }
  .icon svg { width: 32px; height: 32px; }
  .services-list h3 { font-size: 17px; letter-spacing: .02em; }
  .services-list p { font-size: 16px; line-height: 1.35; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); padding: 40px 24px 48px; row-gap: 20px; }
  .footer-name h2 { font-size: 40px; }
  .footer-name p { font-size: 18px; }
  .footer-block, .footer-links { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .4); font-size: 18px; }
  .footer-links { padding-top: 16px; }
  .footer-links a { min-height: 48px; }
  .slogan { font-size: 36px; transform: rotate(-4deg); }
  .slogan br { display: none; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 64px; }
  .services-list h3 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Über uns */
.about { background: var(--warm); padding: 80px var(--pad); }
.about-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: start; max-width: 1280px; margin: 0 auto; }
.about h2 { font-family: var(--display); font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; line-height: 1; text-transform: uppercase; margin-bottom: 24px; }
.about p { font-size: 19px; line-height: 1.7; color: var(--ink-soft); max-width: 62ch; }
.about p + p { margin-top: 16px; }
.about h3 { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.about-list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.4; }
.about-list li:first-child { border-top: 1px solid var(--line); }
.about-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); }
.about-contact a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Footer: rechtliche Links */
.footer-legal { padding: 12px var(--pad) 20px; border-top: 1px solid rgba(255, 255, 255, .3); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; font-size: 16px; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal a:hover { text-decoration-thickness: 2px; }

/* Rechtstexte */
.legal-main { max-width: 860px; margin: 0 auto; padding: 64px 24px 96px; }
.legal-main h1 { font-family: var(--display); font-size: clamp(48px, 7vw, 72px); font-weight: 700; line-height: 1; text-transform: uppercase; margin-bottom: 32px; }
.legal-main h2 { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; margin: 44px 0 12px; }
.legal-main p, .legal-main li, .legal-main address { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.legal-main address { font-style: normal; margin-bottom: 14px; }
.legal-main p { margin-bottom: 14px; }
.legal-main ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; }
.legal-main a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal-main a:hover { color: var(--red-dark); }
.site-header .btn-nav svg { flex: none; }

@media (max-width: 960px) {
  .about { padding: 48px 24px; }
  .about-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .about p, .about-list li { font-size: 18px; }
  .footer-legal { padding: 12px 24px 24px; }
  .legal-main { padding: 40px 20px 64px; }
  .legal-main h2 { font-size: 26px; margin-top: 36px; }
  .legal-main p, .legal-main li, .legal-main address { font-size: 17px; }
  .site-header .header-inner > .btn-nav { min-height: 48px; padding: 0 18px; font-size: 15px; width: auto; }
}
