/* pv-hip.de - statische Landingpage (Farben wie das bisherige Kadence-Theme) */
:root {
  --accent: #e47b02;
  --accent-dark: #b86200;
  --text: #1f2933;
  --muted: #52606d;
  --line: #e4e7eb;
  --soft: #f3f4f7;
  --bg: #ffffff;
  --radius: 6px;
  --wrap: 1100px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Kopf */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img { display: block; width: 220px; height: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: var(--accent); }

/* Abschnitte */
.section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.section:nth-of-type(even) { background: var(--soft); }
.section:last-of-type { border-bottom: 0; }
h1, h2, h3, h4 { line-height: 1.25; margin: 1.2em 0 0.5em; }
h1 { font-size: 2.1rem; margin-top: 0; }
h2 { font-size: 1.65rem; }
.section > .wrap > h2:first-child { margin-top: 0; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }

/* WordPress-Bloecke */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0; }
.wp-block-column { flex: 1 1 260px; min-width: 0; }
.has-gray-background-color,
.has-background { background: var(--soft); padding: 16px 20px !important; border-radius: var(--radius); }
.section:nth-of-type(even) .has-background { background: var(--bg); }
.wp-block-image { margin: 16px 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-image figcaption { color: var(--muted); font-size: 0.9rem; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.wp-block-button__width-100 { width: 100%; }
.wp-block-button__link {
  display: inline-block;
  padding: 10px 22px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.wp-block-button__width-100 .wp-block-button__link { display: block; }
.wp-block-button__link:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--accent-dark); }
.is-style-outline .wp-block-button__link:hover { background: var(--accent); color: #fff; }
/* lange Adressen (z. B. in Zitaten) duerfen umbrechen */
main p, main li, main cite, main td { overflow-wrap: anywhere; }
.wp-block-quote,
blockquote {
  margin: 24px 0;
  padding: 8px 20px;
  border-left: 4px solid var(--accent);
  color: var(--muted);
}
.wp-block-separator,
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
figure { margin: 16px 0; }
.wp-block-table { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
@media (max-width: 640px) { th, td { padding: 6px; overflow-wrap: anywhere; } }

/* Rechtstexte */
.legal h1 { font-size: 1.8rem; }
.legal { overflow-wrap: anywhere; }

/* Fuss */
.site-footer { background: var(--text); color: #e4e7eb; padding: 28px 0; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-contact { margin: 0 0 12px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.legal-nav a { color: #cbd2d9; text-decoration: none; }
.legal-nav a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo img { width: 170px; }
  .main-nav { gap: 2px 14px; font-size: 0.95rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  .section { padding: 32px 0; }
  html { scroll-padding-top: 130px; }
}
