/*
Theme Name: Introwerk 1.4
Theme URI: https://introwerk.de/
Author: OpenAI for Philip
Author URI: https://introwerk.de/
Description: Minimal dark WordPress theme for Introwerk with MP4 video hero, reactive canvas visuals, thin linework, restrained color accents, latest tracks, and editorial music pages.
Version: 1.4.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: #1a1a1a;
  --iw-bg-soft: #202020;
  --iw-panel: rgba(26, 26, 26, 0.72);
  --iw-panel-2: #242424;
  --iw-border: rgba(240, 240, 240, 0.12);
  --iw-border-strong: rgba(240, 240, 240, 0.24);
  --iw-text: #f0f0f0;
  --iw-text-soft: rgba(240, 240, 240, 0.66);
  --iw-accent: #004d61;
  --iw-accent-soft: #72c8f1;
  --iw-accent-warm: #822659;
  --iw-shadow: none;
  --iw-radius: 2px;
  --iw-content: 1240px;
  --iw-header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: 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-text);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--iw-accent-soft);
}

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(18px);
  background: rgba(26, 26, 26, 0.78);
  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 28px;
  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.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.custom-logo-link img {
  max-height: 40px;
  width: auto;
}

.custom-logo-svg {
  height: 40px;
  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: 24px;
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  color: var(--iw-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  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);
}

.language-switcher {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.language-switcher a {
  display: flex;
  align-items: center;
  opacity: 0.62;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.language-switcher a:hover,
.language-switcher .current-lang a {
  opacity: 1;
}

.language-switcher a:hover {
  transform: translateY(-1px);
}

.language-switcher img {
  display: block;
  width: 22px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--iw-border);
  background: transparent;
  color: #fff;
  border-radius: var(--iw-radius);
}

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--iw-border);
  background:
    radial-gradient(circle at 63% 44%, rgba(0, 77, 97, 0.16), transparent 30rem),
    radial-gradient(circle at 24% 62%, rgba(130, 38, 89, 0.08), transparent 28rem),
    #000000;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, transparent 0%, transparent 46%, rgba(0, 0, 0, 0.44) 78%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 34%, rgba(0, 0, 0, 0.58) 100%);
}

.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(90deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.36) 48%, rgba(26,26,26,0.78) 100%),
    linear-gradient(180deg, rgba(26,26,26,0.18) 0%, rgba(26,26,26,0.52) 54%, rgba(26,26,26,0.96) 100%);
}

.hero.has-video .hero-media::after {
  background:
    linear-gradient(90deg, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.34) 48%, rgba(26,26,26,0.76) 100%),
    linear-gradient(180deg, rgba(26,26,26,0.2) 0%, rgba(26,26,26,0.54) 56%, rgba(26,26,26,0.96) 100%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, var(--iw-border) 1px, transparent 1px),
    linear-gradient(180deg, var(--iw-border) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.045;
  pointer-events: none;
}

.hero-signal-canvas {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--iw-content);
  margin: 0 auto;
  padding: 150px 28px 76px;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.72);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--iw-text-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--iw-border-strong);
  display: block;
}

.hero-title {
  margin: 0 0 16px;
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-text {
  margin: 0;
  max-width: 660px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--iw-text-soft);
}

.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: 44px;
  padding: 0 18px;
  border-radius: var(--iw-radius);
  border: 1px solid var(--iw-border-strong);
  background: transparent;
  color: var(--iw-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover {
  background: rgba(114, 200, 241, 0.08);
  border-color: var(--iw-accent-soft);
  color: var(--iw-accent-soft);
}

.button-outline {
  background: transparent;
  border-color: var(--iw-border);
}

.button-outline:hover {
  border-color: var(--iw-accent-soft);
  color: var(--iw-accent-soft);
}

.site-main {
  display: block;
}

.section {
  max-width: var(--iw-content);
  margin: 0 auto;
  padding: 72px 28px;
}

.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;
  font-weight: 700;
}

.section-intro {
  margin: 0;
  max-width: 640px;
  color: var(--iw-text-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.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;
  width: 100%;
  margin: 0 auto;
  background: var(--iw-bg-soft);
  border-bottom: 1px solid var(--iw-border);
}

.track-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-content {
  padding: 14px;
}

.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.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.track-excerpt,
.entry-card-excerpt,
.news-item-excerpt,
.archive-card-excerpt,
.single-summary {
  color: var(--iw-text-soft);
}

.track-player {
  margin-top: 14px;
}

.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: 22px;
}

.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 var(--iw-border);
}

.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: var(--iw-radius);
}

.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: 1px solid var(--iw-border-strong);
  background: rgba(240,240,240,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: #1a1a1a;
}

.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: var(--iw-radius);
  background: transparent;
  color: var(--iw-text-soft);
  border: 1px solid var(--iw-border);
  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: var(--iw-radius);
  background: var(--iw-bg-soft);
  border: 1px solid var(--iw-border);
}

@media (max-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .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(26, 26, 26, 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;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .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: 92px;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-panel-copy p:last-child {
  margin-bottom: 0;
}

.about-panel-copy .button {
  margin-top: 16px;
}

.about-panel-meta {
  display: grid;
  gap: 14px;
}

.info-tile {
  padding: 18px 0;
  border-radius: 0;
  border: 1px solid var(--iw-border);
  border-width: 0 0 1px;
  background: transparent;
}

.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: var(--iw-radius);
  color: var(--iw-text-soft);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-socials a:hover,
.footer-socials a:focus {
  color: var(--iw-text);
  border-color: var(--iw-border-strong);
  background: rgba(240,240,240,0.04);
}

.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;
  }
}
