/* ==========================================================
   Tischlerei Serk & Co. – Stylesheet
   Farben und Schrift wie bei bestattungen-fehmarn.de (gemeinsames Erscheinungsbild)
   ========================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }

:root {
  --sand: #a68c74;
  --sand-dark: #98795f;
  --cream: #f6f1ea;
  --ink: #252525;
  --dark: #171717;
  --red: #7d1416;
  --white: #fff;
  --radius: 36px;
  --header-h: 72px;
  --wrap: 1080px;
  --font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--font); font-weight: 500;
  font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.4rem); line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--red); }
h1, h2, h3 { font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.125rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cream); padding: .5em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.container { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 234, .97); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.header-inner { height: var(--header-h); width: min(1280px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 1rem; }
.brand { text-decoration: none; line-height: 1.05; }
.brand-name { display: block; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); font-weight: 600; color: var(--red); }
.brand-sub { display: block; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.call {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45em;
  background: var(--red); color: var(--white); text-decoration: none;
  padding: .45em .95em; border-radius: 999px; font-weight: 600; font-size: 1.1rem; white-space: nowrap;
}
.call:hover { color: var(--white); background: #5f0f10; }
.call svg { width: 1.05em; height: 1.05em; fill: currentColor; }
@media (max-width: 480px) { .call span { display: none; } .call { padding: .6em; } .call svg { width: 1.35em; height: 1.35em; } }

/* Kopfbild */
.hero {
  position: relative; min-height: clamp(300px, 38vw, 480px); display: grid; align-items: center;
  background: #cdbba3 url("../img/holzherz-900.webp") left center / cover no-repeat;
}
@media (min-width: 901px) { .hero { background-image: url("../img/holzherz-1920.webp"); } }
.hero-text { width: min(var(--wrap), 100% - 32px); margin-inline: auto; display: flex; justify-content: flex-end; }
.hero-box { max-width: 30rem; text-align: center; background: rgba(246, 241, 234, .82); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.hero-box h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); margin-bottom: .2em; }
.hero-box p { margin: 0; font-size: 1.15em; font-weight: 600; letter-spacing: .04em; }
@media (max-width: 700px) {
  /* Handy: Holzherz oben frei sichtbar, Kasten darunter */
  .hero { min-height: 0; padding: 56vw 0 0; background-size: auto 62vw; background-position: 8% top; background-color: var(--sand); align-items: end; }
  .hero-text { justify-content: center; }
  .hero-box { width: 100%; max-width: none; background: var(--cream); }
}

/* Abschnitte */
section { padding: clamp(48px, 7vw, 72px) 0; }
.panel { background: rgba(246, 241, 234, .55); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.intro .panel { max-width: 860px; margin-inline: auto; text-align: center; }
.services { list-style: none; padding: 0; margin: 1.2rem auto 0; max-width: 760px; columns: 3 140px; column-gap: 40px; text-align: left; }
.services li { break-inside: avoid; padding: .35em 0 .35em 1.4em; position: relative; }
.services li::before { content: ""; position: absolute; left: 0; top: calc(.35em + .74em); width: .7em; height: 2px; background: var(--red); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.split .photo { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.kontakt .panel { max-width: 760px; margin-inline: auto; text-align: center; }
address { font-style: normal; margin-bottom: 1.2em; }
.phone { font-size: 1.5em; font-weight: 600; color: var(--red); text-decoration: none; white-space: nowrap; }
.note { font-size: .92em; }

/* Fußzeile */
.site-footer { background: var(--dark); color: #e9e4de; padding: 40px 0 24px; font-size: 1.05rem; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.footer-name { font-size: 1.3em; font-weight: 600; margin-bottom: .2em; }
.copyright { text-align: center; font-size: .9rem; opacity: .7; margin: 28px 16px 0; }
@media (max-width: 700px) { .footer-grid { flex-direction: column; text-align: center; } }

/* Unterseiten */
.page .container { max-width: 860px; }
.page h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.125rem); margin-bottom: .6em; }
.page h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); margin-top: 1.4em; }
.page h3 { font-size: 1.25em; margin-top: 1.2em; }
.page h4 { font-size: 1.05em; margin: 1em 0 .3em; }
.page p, .page li { font-size: .95em; overflow-wrap: anywhere; }

@media (max-width: 700px) { .services { columns: 2; column-gap: 20px; } .services li { font-size: .95em; } }
