/*
Theme Name: SVH Simple
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Einfaches WordPress-Theme mit Header und Footer im Stil der bereitgestellten Referenz.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: svh-simple
*/

:root {
  --svh-red: #b01616;
  --svh-red-dark: #a51212;
  --svh-light-gray: #dddddd;
  --svh-mid-gray: #cfcfcf;
  --svh-dark: #2f2f31;
  --svh-dark-overlay: rgba(35, 35, 37, 0.84);
  --svh-text: #202020;
  --svh-white: #ffffff;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--svh-text);
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.svh-header {
  background: var(--svh-light-gray);
}

.svh-header-topline {
  height: 28px;
  background: var(--svh-red-dark);
}

.svh-header-band {
  height: 78px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1.7fr);
  align-items: stretch;
}

.svh-header-left {
  background: var(--svh-red);
}

.svh-header-badge-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.svh-header-badge {
  width: 96px;
  min-width: 96px;
  background: transparent;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
}

.svh-badge-logo {
  width: 96px;
  height: auto;
  display: block;
}


.svh-header-ribbon {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--svh-red);
  color: var(--svh-white);
  padding: 0 48px 0 28px;
  min-width: 220px;
  font-size: 22px;
}

.svh-header-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  right: -72px;
  width: 72px;
  height: 100%;
  background: var(--svh-red);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.svh-header-title {
  position: relative;
  z-index: 2;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
}

.svh-header-right {
  background: var(--svh-light-gray);
}

.svh-header-shadow {
  height: 42px;
  background: #e7e7e7;
  border-top: 1px solid rgba(0,0,0,.07);
}

/* Main content */
.main-content {
  padding: 3rem 0 4rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 2rem;
}

.card,
.widget,
.post-card,
.page-card {
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.post-card + .post-card { margin-top: 1.5rem; }
.entry-title,
.widget-title,
.page-title {
  margin-top: 0;
  line-height: 1.2;
}

.entry-meta {
  color: #666;
  font-size: .95rem;
  margin-bottom: .75rem;
}

.button,
.wp-block-button__link,
input[type="submit"],
button {
  appearance: none;
  border: 0;
  border-radius: 4px;
  padding: .85rem 1.2rem;
  background: var(--svh-red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
}

/* Footer */
.svh-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.95);
  background:
    radial-gradient(circle at 52% 55%, rgba(255,255,255,.09) 0, rgba(255,255,255,.09) 12%, transparent 12.4%),
    radial-gradient(circle at 52% 55%, transparent 0, transparent 17%, rgba(255,255,255,.08) 17.4%, rgba(255,255,255,.08) 18.2%, transparent 18.6%),
    radial-gradient(circle at 52% 55%, transparent 0, transparent 24%, rgba(255,255,255,.07) 24.5%, rgba(255,255,255,.07) 25.2%, transparent 25.7%),
    linear-gradient(var(--svh-dark-overlay), var(--svh-dark-overlay)),
    linear-gradient(180deg, #424244 0%, #353537 100%);
}

.svh-footer-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 52%, rgba(255,255,255,.06), transparent 28%),
    radial-gradient(circle at 86% 54%, rgba(255,255,255,.04), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.14));
  pointer-events: none;
}

.svh-footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 18px;
  padding-bottom: 34px;
}

.svh-footer-social {
  display: flex;
  gap: 26px;
  color: rgba(255,255,255,.78);
  font-size: 20px;
  margin-left: 0;
  padding-left: 0;
  height: 34px;
  align-items: center;
}

.svh-footer-divider {
  height: 1px;
  background: rgba(255,255,255,.22);
  margin: 16px auto 28px;
}

.svh-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.svh-footer-col h3 {
  margin: 0 0 12px;
  color: var(--svh-white);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0;
}

.svh-footer-col h3 span {
  color: #cf1f1f;
}

.svh-footer-col p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,.96);
}

.svh-footer-col strong {
  font-weight: 700;
}

.svh-footer-divider-bottom {
  margin-top: 8px;
  margin-bottom: 24px;
}

.svh-footer-bottom {
  text-align: right;
  font-size: 14px;
  color: rgba(255,255,255,.92);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 980px) {
  .content-grid,
  .svh-footer-grid {
    grid-template-columns: 1fr;
  }

  .svh-header-band {
    grid-template-columns: 1fr;
    height: auto;
  }

  .svh-header-left,
  .svh-header-right {
    display: none;
  }

  .svh-header-badge-wrap {
    min-height: 92px;
  }

  .svh-header-ribbon {
    flex: 1;
  }

  .svh-footer-bottom {
    text-align: left;
  }
}
