/* -----------------------------------------------------
   style.css – statische Kopie von komnik.de (Startseite)
   Nachbildung des WordPress-Themes "Twenty Seventeen"
   ----------------------------------------------------- */

:root {
  --color-text: #333;
  --color-text-light: #767676;
  --color-white: #fff;
  --color-dark-overlay: rgba(0, 0, 0, 0.5);
  --color-link: #c0392b;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-white);
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Skip-Link (Barrierefreiheit) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

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

/* ---------- Header / Hero ---------- */
.site-header {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-dark-overlay);
}

.site-header-inner {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  max-width: 700px;
  margin: 0 auto;
}

.site-logo-link {
  display: inline-block;
  margin-bottom: 24px;
}

.site-logo {
  max-width: 120px;
  margin: 0 auto;
  border-radius: 4px;
}

.site-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}

.site-title a {
  color: var(--color-white);
}

.site-title a:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-description {
  font-size: 1.1rem;
  font-weight: 300;
  margin: 0;
  opacity: 0.9;
}

.scroll-down-link {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  z-index: 1;
}

.scroll-down-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

.scroll-down-icon {
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ---------- Content ---------- */
.site-content {
  padding: 60px 0;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.page-header .page-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.page-content p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* Suchformular */
.search-form {
  display: flex;
  max-width: 420px;
  gap: 8px;
}

.search-field {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 1rem;
}

.search-submit {
  padding: 10px 20px;
  background: var(--color-link);
  color: var(--color-white);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1rem;
}

.search-submit:hover {
  background: #a53125;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .site-header {
    min-height: 50vh;
  }

  .site-content {
    padding: 40px 0;
  }

  .search-form {
    flex-direction: column;
  }
}
