/* diekorffs.de – Wym Korff, Herstellung & Produktion */

@font-face { font-family: "Gudea"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/gudea-400.woff2") format("woff2"); }
@font-face { font-family: "Gudea"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/gudea-400i.woff2") format("woff2"); }
@font-face { font-family: "Gudea"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/gudea-700.woff2") format("woff2"); }

:root {
  --bg: #000;
  --bg-soft: #111;
  --bg-card: #161616;
  --text: #f2f2f2;
  --muted: #b5b5b5;
  --green: #22e322;
  --green-dark: #17a817;
  --line: #2a2a2a;
  --wide: 1080px;
  --narrow: 760px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Gudea", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: #000; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: min(100% - 32px, var(--wide)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 32px, var(--narrow)); margin-inline: auto; }

/* Kopf */
.site-header { padding: 28px 0 0; }
.logo { display: block; width: min(100%, 620px); margin: 0 auto; }
.logo img { width: 100%; }
.nav { margin: 18px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; }
.nav a {
  display: inline-block; padding: 12px 0; color: var(--text); text-decoration: none;
  font-size: 16px; letter-spacing: .03em; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }

/* Startseite: Bühne mit Porträt */
.hero {
  position: relative;
  background: #000 url("../img/portrait.jpg") no-repeat;
  background-size: auto 175%;
  background-position: 24% 42%;
  min-height: 580px;
  display: flex; align-items: center;
  margin-top: 32px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
.hero .wrap { position: relative; display: flex; justify-content: flex-end; padding: 48px 0; }

.frame {
  border: 8px solid var(--green);
  background: rgba(0,0,0,.62);
  padding: 32px 36px;
}
.hero .frame { max-width: 520px; backdrop-filter: blur(2px); }

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 46px); }
h2 { font-size: clamp(26px, 3.6vw, 34px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.lead { font-size: 20px; }
.kicker { color: var(--green); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6em; }

/* Kacheln */
.section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 28px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tile {
  display: flex; flex-direction: column;
  background: var(--bg-card); border-top: 5px solid var(--green);
  padding: 26px 24px; color: var(--text); text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.tile:hover { transform: translateY(-3px); background: #1d1d1d; color: var(--text); }
.tile h3 { color: var(--green); }
.tile p { color: var(--muted); font-size: 17px; flex: 1; }
.tile .more { color: var(--green); font-size: 16px; }

/* Textseiten */
.page { padding: 48px 0 64px; }
.page .frame { background: #000; }
.page h1 { margin-bottom: .6em; }
.list { columns: 2 220px; padding-left: 1.1em; margin: 0 0 1em; }

.buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.btn {
  display: inline-block; padding: 12px 26px; border: 2px solid var(--green);
  color: var(--green); text-decoration: none; font-weight: 700; letter-spacing: .03em;
  background: transparent; font: inherit; font-weight: 700; cursor: pointer;
}
.btn:hover { background: var(--green); color: #000; }
.btn-solid { background: var(--green); color: #000; }
.btn-solid:hover { background: #fff; border-color: #fff; color: #000; }

/* Printproduktion: Druckmaschinen-Video im Hintergrund */
.video-bg { position: relative; overflow: hidden; background: #000 url("../img/druckmaschine.jpg") center / cover no-repeat; }
.video-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); z-index: 1; }
.video-bg > .wrap-narrow { position: relative; z-index: 2; }
.video-bg .frame { background: rgba(0,0,0,.8); }
@media (prefers-reduced-motion: reduce) { .video-bg video { display: none; } }

/* Verlagsservice */
.books {
  background: #000 url("../img/buecher.jpg") center / cover no-repeat;
  position: relative; padding: 56px 0;
}
.books::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.books .wrap { position: relative; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.two .frame { background: rgba(0,0,0,.78); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; }
.facts li { padding: 14px 0; border-top: 1px solid var(--line); }
.facts strong { display: block; color: var(--green); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.form { background: var(--bg-card); padding: 28px; border-top: 5px solid var(--green); }
.form label { display: block; font-size: 15px; margin: 0 0 6px; color: var(--muted); }
.form .field { margin-bottom: 16px; }
.form input, .form textarea {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 17px;
  color: var(--text); background: #000; border: 1px solid #444; border-radius: 0;
}
.form input:focus, .form textarea:focus { border-color: var(--green); outline: none; }
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rechtstexte */
.legal h2 { font-size: 24px; margin-top: 1.6em; }
.legal h3 { font-size: 19px; margin-top: 1.2em; }
.legal p, .legal li { color: #ddd; font-size: 17px; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 28px; margin-top: 0; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 32px; }
.site-footer p { margin: 0; }
.site-footer .accent { color: var(--green); font-weight: 700; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.social { display: inline-flex; align-items: center; gap: 10px; }
.social svg { width: 34px; height: 34px; }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer-bottom a { color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { min-height: 0; background-size: 150% auto; background-position: 50% 22%; margin-top: 20px; }
  .hero .wrap { justify-content: center; padding: 78vw 0 24px; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,.2) 40%, rgba(0,0,0,.85) 100%); }
  .frame { padding: 24px 20px; border-width: 6px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav ul { gap: 0 18px; }
  .nav a { font-size: 15px; padding: 10px 0; }
}
