/*
Theme Name: Introwerk
Theme URI: https://introwerk.de/
Author: OpenAI for Philip
Author URI: https://introwerk.de/
Description: Dark editorial WordPress theme for Introwerk with optional MP4 video hero, strong orange accents, latest tracks, and three-column news overview.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: introwerk
*/

/* Inter — lokal gehostet, DSGVO-konform */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/inter-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/inter-900.woff2') format('woff2');
}



:root {
  --iw-bg: #080808;
  --iw-bg-soft: #111111;
  --iw-panel: #151515;
  --iw-panel-2: #1b1b1b;
  --iw-border: rgba(255, 255, 255, 0.08);
  --iw-text: #f2f2f2;
  --iw-text-soft: #b8b8b8;
  --iw-accent: #ef6c1f;
  --iw-accent-soft: #ff934f;
  --iw-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --iw-radius: 18px;
  --iw-content: 1240px;
  --iw-header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(239, 108, 31, 0.08), transparent 28%), var(--iw-bg);
  color: var(--iw-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: var(--iw-accent-soft);
  text-decoration: none;
}

a:hover,
a:focus {
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
textarea,
select,
button {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 8, 0.82);
  border-bottom: 1px solid var(--iw-border);
}

.header-inner {
  max-width: var(--iw-content);
  margin: 0 auto;
  min-height: var(--iw-header-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-branding a {
  color: #ffffff;
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.site-description {
  margin: 0;
  color: var(--iw-text-soft);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.custom-logo-link img {
  max-height: 46px;
  width: auto;
}

.custom-logo-svg {
  height: 46px;
  width: auto;
  display: block;
}

.primary-navigation {
  display: flex;
  align-items: center;
}

.primary-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  color: var(--iw-text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  color: var(--iw-accent-soft);
}

.primary-navigation .lang-item.current_page_item > a,
.primary-navigation .lang-item.current_page_item > a:hover {
  color: var(--iw-text);
}

.primary-navigation .lang-item.current-lang > a,
.primary-navigation .lang-item.current-lang > a:hover {
  color: var(--iw-accent-soft);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--iw-border);
  background: rgba(255,255,255,0.02);
  color: #fff;
  border-radius: 12px;
}

.hero {
  position: relative;
  min-height: min(84vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--iw-border);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-video {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-media-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.24) 0%, rgba(0,0,0,0.45) 38%, rgba(8,8,8,0.92) 100%);
}

.hero.has-video .hero-media::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.54) 38%, rgba(8,8,8,0.92) 100%);
}

.hero-overlay {
  background:
    radial-gradient(circle at 10% 15%, rgba(239,108,31,0.15), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,0.02), transparent 35%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--iw-content);
  margin: 0 auto;
  padding: 140px 24px 72px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--iw-accent-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 48px;
  height: 2px;
  background: var(--iw-accent);
  display: block;
}

.hero-title {
  margin: 0 0 16px;
  max-width: 900px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-text {
  margin: 0;
  max-width: 660px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #dfdfdf;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.wp-element-button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--iw-accent);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover {
  background: var(--iw-accent-soft);
  color: #0a0a0a;
}

.button-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.16);
}

.button-outline:hover {
  border-color: var(--iw-accent-soft);
  color: #fff;
}

.site-main {
  display: block;
}

.section {
  max-width: var(--iw-content);
  margin: 0 auto;
  padding: 76px 24px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 28px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0;
  max-width: 640px;
  color: var(--iw-text-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card,
.track-card,
.news-column,
.entry-card,
.single-panel,
.archive-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--iw-border);
  border-radius: var(--iw-radius);
  box-shadow: var(--iw-shadow);
}

.track-card {
  overflow: hidden;
}

.track-cover {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(239,108,31,0.22), rgba(255,255,255,0.04));
}

.track-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-content {
  padding: 22px;
}

.track-title,
.entry-card-title,
.news-item-title,
.archive-card-title,
.single-title {
  margin: 0 0 10px;
  line-height: 1.1;
}

.track-title a,
.entry-card-title a,
.news-item-title a,
.archive-card-title a,
.single-title a {
  color: #ffffff;
}

.track-meta,
.entry-meta,
.archive-card-meta,
.single-meta {
  color: var(--iw-text-soft);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.track-excerpt,
.entry-card-excerpt,
.news-item-excerpt,
.archive-card-excerpt,
.single-summary {
  color: var(--iw-text-soft);
}

.track-player {
  margin-top: 18px;
}

.track-player audio {
  width: 100%;
  filter: saturate(0.7) brightness(0.92);
}

.news-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-column {
  padding: 24px;
}

.news-column-title {
  margin: 0 0 20px;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-item {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.news-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-item-date {
  color: var(--iw-accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.news-item-title {
  font-size: 1.05rem;
}

.news-item-excerpt {
  margin: 0;
  font-size: 0.95rem;
}

.news-column-footer {
  margin-top: 22px;
}

.entry-header,
.archive-header,
.page-header {
  max-width: var(--iw-content);
  margin: 0 auto;
  padding: 56px 24px 12px;
}

.entry-shell,
.archive-shell,
.page-shell {
  max-width: var(--iw-content);
  margin: 0 auto;
  padding: 24px;
}

.entry-card,
.archive-card,
.page-panel,
.single-panel {
  padding: 28px;
}

.entry-card {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.entry-featured,
.single-featured {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: calc(var(--iw-radius) - 4px);
}

.entry-featured img,
.single-featured img {
  width: 100%;
  height: auto;
}

.archive-grid {
  display: grid;
  gap: 24px;
}

.single-layout {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px;
}

.single-panel {
  padding: 34px;
}

.single-content {
  color: #e6e6e6;
}

.single-content h2,
.single-content h3,
.page-content h2,
.page-content h3,
.entry-card h2,
.entry-card h3 {
  line-height: 1.15;
  margin-top: 1.8em;
}

.single-content ul,
.single-content ol,
.page-content ul,
.page-content ol {
  padding-left: 1.2em;
}

.single-content blockquote,
.page-content blockquote {
  margin: 2em 0;
  padding: 1.1em 1.3em;
  border-left: 4px solid var(--iw-accent);
  background: rgba(255,255,255,0.03);
}

.pagination,
.navigation.posts-navigation,
.navigation.post-navigation {
  max-width: var(--iw-content);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.pagination .nav-links,
.navigation.posts-navigation .nav-links,
.navigation.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--iw-border);
  background: #050505;
}

.footer-inner {
  max-width: var(--iw-content);
  margin: 0 auto;
  padding: 34px 24px 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-title {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-copy,
.footer-meta {
  margin: 0;
  color: var(--iw-text-soft);
  font-size: 0.92rem;
}

.archive-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(239,108,31,0.14);
  color: var(--iw-accent-soft);
  border: 1px solid rgba(239,108,31,0.22);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wp-block-image,
.wp-block-gallery,
figure {
  margin: 0 0 1.6em;
}

.wp-caption-text,
figcaption {
  color: var(--iw-text-soft);
  font-size: 0.9rem;
}

.screen-reader-text {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.not-found-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px;
  text-align: center;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 16px;
  background: #0e0e0e;
  border: 1px solid var(--iw-border);
}

@media (max-width: 1100px) {
  .card-grid,
  .news-columns {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 120px;
  }
}

@media (max-width: 880px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--iw-border);
    padding: 0 24px 24px;
    display: none;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 16px;
  }

  .hero {
    min-height: 72vh;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .hero-content,
  .section,
  .entry-header,
  .archive-header,
  .page-header,
  .entry-shell,
  .archive-shell,
  .page-shell,
  .single-layout,
  .pagination,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 14vw, 4rem);
  }

  .single-panel,
  .entry-card,
  .page-panel,
  .news-column,
  .track-content {
    padding: 22px;
  }
}


.about-strip {
  padding-top: 0;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--iw-border);
  border-radius: var(--iw-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: var(--iw-shadow);
}

.about-panel-copy p:last-child {
  margin-bottom: 0;
}

.about-panel-meta {
  display: grid;
  gap: 14px;
}

.info-tile {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--iw-border);
  background: rgba(255,255,255,0.025);
}

.info-tile-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--iw-text-soft);
}

.info-tile-value {
  display: block;
  font-weight: 700;
  color: var(--iw-text);
}

.archive-filters {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-filters .badge {
  display: inline-flex;
}

.news-item-lead {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--iw-border);
}

.news-item-lead .news-item-title {
  font-size: 1.15rem;
}

.news-item-title a {
  color: var(--iw-text);
}

.news-item-title a:hover,
.news-item-title a:focus {
  color: var(--iw-accent-soft);
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.site-footer-nav a {
  color: var(--iw-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
}

.site-footer-nav a:hover,
.site-footer-nav a:focus {
  color: var(--iw-accent-soft);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-socials a {
  padding: 10px 14px;
  border: 1px solid var(--iw-border);
  border-radius: 999px;
  color: var(--iw-text-soft);
  background: rgba(255,255,255,0.02);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-socials a:hover,
.footer-socials a:focus {
  color: #fff;
  border-color: rgba(239,108,31,0.45);
  background: rgba(239,108,31,0.12);
}

.footer-right {
  display: grid;
  gap: 18px;
  justify-items: end;
}

@media (max-width: 960px) {
  .about-panel {
    grid-template-columns: 1fr;
  }

  .footer-right {
    justify-items: start;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}


@media (prefers-reduced-motion: reduce) {
  .hero-media-video {
    display: block;
  }
}
