﻿/* =============================================
   Alexander Schäble – Custom WordPress Theme
   ============================================= */

:root {
  --color-primary:   #0057C2;
  --color-secondary: #3E78B2;
  --color-dark:      #2E3238;
  --color-mid:       #6B97C5;
  --color-bg:        #F4F6F8;
  --color-light:     #EEF5FF;
  --color-white:     #FFFFFF;
  --font-base:       'Inter', sans-serif;
  --radius:          8px;
  --radius-lg:       16px;
  --shadow-sm:       0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow:          0 4px 20px rgba(0, 87, 194, 0.10);
  --shadow-lg:       0 12px 40px rgba(0, 87, 194, 0.15);
  --transition:      0.22s ease;
  --border:          1px solid #dde6f0;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-secondary); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--color-dark); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: #4a5563; }

/* Layout */
.container { width: 90%; max-width: 1100px; margin-inline: auto; }
section { padding: 90px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1.9rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.925rem; letter-spacing: 0.01em;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); box-shadow: 0 2px 8px rgba(0,87,194,0.3); }
.btn-primary:hover { background: #004dae; color: var(--color-white); box-shadow: 0 4px 16px rgba(0,87,194,0.4); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-light); color: var(--color-primary); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--border); box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.site-logo a { font-size: 1.2rem; font-weight: 800; color: var(--color-dark); letter-spacing: -0.03em; }
.site-logo span { color: var(--color-primary); }
.site-nav ul { list-style: none; display: flex; gap: 2.25rem; }
.site-nav a { font-weight: 500; font-size: 0.9rem; color: #4a5563; position: relative; padding-bottom: 2px; }
.site-nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--color-primary); border-radius: 2px; transition: width var(--transition); }
.site-nav a:hover { color: var(--color-primary); }
.site-nav a:hover::after, .site-nav .current-menu-item a::after { width: 100%; }
.site-nav .current-menu-item a { color: var(--color-primary); font-weight: 600; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; border-radius: var(--radius); }
.nav-toggle:hover { background: var(--color-bg); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-dark); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--color-light) 0%, var(--color-bg) 60%, #fff 100%); padding: 110px 0 90px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(0,87,194,0.07) 0%, transparent 70%); pointer-events: none; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--color-white); color: var(--color-primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 999px; border: var(--border); margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.hero h1 { margin-bottom: 1.25rem; max-width: 760px; margin-inline: auto; }
.hero__subtitle { font-size: 1.15rem; color: #64748b; max-width: 560px; margin: 0 auto 2.25rem; line-height: 1.7; }
.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.card { background: var(--color-white); border: var(--border); border-radius: var(--radius-lg); padding: 2rem 2rem 1.75rem; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #b8d0ea; }
.card__icon { width: 52px; height: 52px; background: var(--color-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; border: var(--border); }
.card h3 { margin-bottom: 0.5rem; color: var(--color-dark); }
.card p { color: #64748b; font-size: 0.95rem; margin-bottom: 0; line-height: 1.6; }

/* About Focus Cards */
.focus-flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.focus-flip-card {
  position: relative;
  min-height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.focus-flip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #b8d0ea;
}

.focus-flip-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.06) 6%, rgba(15,23,42,0.54) 100%);
  z-index: 1;
}

.focus-flip-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 22%, rgba(255,255,255,0.16) 0 6%, transparent 7%), radial-gradient(circle at 82% 68%, rgba(255,255,255,0.10) 0 7%, transparent 8%), linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  z-index: 2;
  pointer-events: none;
}

.focus-flip-card > * {
  position: relative;
  z-index: 3;
}

.focus-flip-card__content {
  display: flex;
  flex-direction: column;
}

.focus-flip-card--ideas {
  background:
    linear-gradient(140deg, rgba(26, 33, 53, 0.36), rgba(9, 43, 102, 0.42)),
    url("../images/focus-ideas-bg.svg") center/cover no-repeat;
}

.focus-flip-card--tech {
  background:
    linear-gradient(140deg, rgba(15, 23, 42, 0.34), rgba(8, 47, 73, 0.42)),
    url("../images/focus-tech-bg.svg") center/cover no-repeat;
}

.focus-flip-card--security {
  background:
    linear-gradient(140deg, rgba(30, 41, 59, 0.34), rgba(37, 99, 235, 0.38)),
    url("../images/focus-security-bg.svg") center/cover no-repeat;
}

.focus-flip-card__title {
  color: #f8fafc;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.65rem;
  min-height: 3.3rem;
  display: block;
}

.focus-flip-card__text {
  color: #dbe7f6;
  font-size: 0.94rem;
  line-height: 1.58;
  margin: 0;
}

/* Section Title */
.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-title h2 { margin-bottom: 0.85rem; }
.section-title p { color: #64748b; font-size: 1.05rem; max-width: 540px; margin-inline: auto; margin-bottom: 0; line-height: 1.7; }

/* About */
.about-section { background: var(--color-bg); }
.about-section--skyline {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.about-section--skyline .container {
  position: relative;
  z-index: 1;
}
.about-section__skyline {
  position: absolute;
  right: 1cm;
  bottom: 1cm;
  width: min(1120px, 78vw);
  aspect-ratio: 4 / 3;
  background: url("../images/regensburg-skyline.png") right bottom / contain no-repeat;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(1) brightness(0.38) contrast(1.06);
}
.about-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: linear-gradient(135deg, var(--color-light), #d8e9f8); display: flex; align-items: center; justify-content: center; color: var(--color-mid); font-size: 5rem; border: var(--border); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text > * {
  position: relative;
  z-index: 1;
}
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { color: #4a5563; margin-bottom: 1rem; }
.about-text .btn { margin-top: 0.5rem; }

.about-focus-section {
  position: relative;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, rgba(248, 251, 255, 0.98) 46%, rgba(255, 255, 255, 0.98) 100%);
  border-top: var(--border);
  border-bottom: var(--border);
}

/* Tools marquee */
.tools-marquee-section {
  padding-top: 12px;
}

.tools-marquee {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: var(--border);
  background: linear-gradient(160deg, #f8fbff 0%, #edf4fc 100%);
  box-shadow: var(--shadow-sm);
  padding: 0.9rem 0;
}

.tools-marquee::before,
.tools-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tools-marquee::before {
  left: 0;
  background: linear-gradient(to right, rgba(248,251,255,1), rgba(248,251,255,0));
}

.tools-marquee::after {
  right: 0;
  background: linear-gradient(to left, rgba(248,251,255,1), rgba(248,251,255,0));
}

.tools-marquee__track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  padding-inline: 1rem;
  animation: tools-marquee-scroll 22s linear infinite;
}

.tools-marquee:hover .tools-marquee__track {
  animation-play-state: paused;
}

.tool-logo {
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid #d4e2f3;
  border-radius: 12px;
  background: rgba(255,255,255,0.86);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.tool-logo:hover {
  transform: translateY(-2px);
  border-color: #bfd4eb;
  box-shadow: 0 6px 16px rgba(0,87,194,0.12);
  background: rgba(255,255,255,0.95);
}

.tool-logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.tool-logo__mark--blender { background: linear-gradient(135deg, #ea7600, #fca52f); }
.tool-logo__mark--unity   { background: linear-gradient(135deg, #111827, #334155); }
.tool-logo__mark--vs      { background: linear-gradient(135deg, #5b21b6, #7c3aed); }
.tool-logo__mark--vscode  { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.tool-logo__mark--pycharm { background: linear-gradient(135deg, #22c55e, #0ea5e9); }
.tool-logo__mark--gimp    { background: linear-gradient(135deg, #7c5a43, #a07a5e); }
.tool-logo__mark--copilot { background: linear-gradient(135deg, #7c3aed, #ec4899); }

.tool-logo__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

@keyframes tools-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, #004dae 0%, var(--color-primary) 40%, var(--color-secondary) 100%); color: var(--color-white); text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.05); pointer-events: none; }
.cta-banner h2 { color: var(--color-white); margin-bottom: 0.85rem; }
.cta-banner p  { color: rgba(255,255,255,0.82); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner .btn-primary { background: var(--color-white); color: var(--color-primary); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.cta-banner .btn-primary:hover { background: var(--color-light); box-shadow: 0 6px 28px rgba(0,0,0,0.25); }

/* Page Header */
.page-header { background: linear-gradient(160deg, var(--color-light) 0%, var(--color-bg) 100%); padding: 70px 0 50px; border-bottom: var(--border); }
.page-header h1 { margin-bottom: 0.5rem; }
.page-header .hero__eyebrow { margin-bottom: 1rem; }
.page-header__intro {
  color: #64748b;
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  max-width: 760px;
}

.page-header__tools {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 520px;
}

.legal-language-panel[hidden] {
  display: none !important;
}

.legal-language-switch__label {
  display: block;
  margin-bottom: 0.55rem;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
}

.legal-language-switch__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legal-language-switch__button {
  appearance: none;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: var(--color-white);
  color: #4a5563;
  padding: 0.62rem 0.95rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.legal-language-switch__button:hover {
  border-color: #b8d0ea;
  color: var(--color-primary);
}

.legal-language-switch__button.is-active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(0, 87, 194, 0.18);
}

.legal-language-switch__button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.privacy-switcher {
  max-width: 520px;
}

.privacy-switcher__label {
  display: block;
  margin-bottom: 0.55rem;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
}

.privacy-switcher__control {
  position: relative;
}

.privacy-switcher__select {
  width: 100%;
  appearance: none;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-dark);
  padding: 0.95rem 3.1rem 0.95rem 1rem;
  font: inherit;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.privacy-switcher__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

/* Page Content */
.page-content { padding: 70px 0; }
.page-content h2 { margin-top: 2.5rem; margin-bottom: 0.9rem; font-size: 1.5rem; }
.page-content h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; font-size: 1.1rem; color: var(--color-dark); }
.page-content p { color: #4a5563; }
.page-content ul, .page-content ol { margin: 0.5rem 0 1.25rem 1.5rem; color: #4a5563; }
.page-content li { margin-bottom: 0.35rem; }
.page-content a { font-weight: 500; }

/* Contact */
.contact-section {
  background:
    radial-gradient(circle at top left, rgba(0, 87, 194, 0.06), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--color-white) 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1.25rem;
}

.contact-card,
.contact-form-card {
  background: var(--color-white);
  border: var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.contact-card {
  padding: 1.6rem;
}

.contact-card--highlight {
  background: linear-gradient(160deg, rgba(238, 245, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
}

.contact-card__eyebrow {
  display: inline-flex;
  margin-bottom: 0.9rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.contact-card h2,
.contact-form-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.contact-card p,
.contact-form-card p {
  color: #5a6472;
}

.contact-card__actions {
  margin-top: 1.3rem;
}

.contact-card__email {
  display: inline-flex;
  margin-top: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-card__note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.contact-form-card {
  padding: 1.9rem;
}

.contact-form-card__header {
  margin-bottom: 1.4rem;
}

.contact-form-card__header p {
  margin-bottom: 0;
}

.page-template-page-login .page-header {
  padding: 46px 0 28px;
}

.page-template-page-login .page-header .hero__eyebrow {
  margin-bottom: 0.7rem;
}

.page-template-page-login .page-header h1 {
  margin-bottom: 0.3rem;
}

.page-template-page-login .page-header__intro {
  max-width: 560px;
}

.form-message {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
}

.form-message p {
  margin-bottom: 0;
}

.form-message--success {
  background: #effcf4;
  border-color: #b7ebc9;
}

.form-message--success p {
  color: #166534;
}

.form-message--error {
  background: #fff4f4;
  border-color: #f2c7c7;
}

.form-message--error p,
.form-message--error li {
  color: #b42318;
}

.form-message__list {
  margin: 0.65rem 0 0 1.25rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-dark);
}

.form-field label span {
  font-weight: 500;
  color: #64748b;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: var(--color-dark);
  padding: 0.92rem 1rem;
  font: inherit;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-field textarea {
  resize: vertical;
  min-height: 190px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 87, 194, 0.12);
}

.contact-form__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
}

.contact-form__privacy {
  margin-bottom: 0;
  max-width: 620px;
  font-size: 0.9rem;
}

/* Login */
.login-section {
  background:
    radial-gradient(circle at top right, rgba(0, 87, 194, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, var(--color-white) 100%);
  padding-top: 42px;
  padding-bottom: 72px;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.login-form-card {
  min-height: 100%;
}

.login-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: -0.1rem;
}

.login-form__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a5563;
}

.login-form__remember input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.login-form__help {
  font-size: 0.92rem;
  font-weight: 600;
}

.login-form__actions {
  margin-top: 0.2rem;
}

.login-form__actions--compact {
  justify-content: flex-end;
  margin-top: 0.45rem;
}

.login-state {
  display: grid;
  gap: 1.35rem;
  padding: 1.2rem;
  border-radius: 18px;
  border: var(--border);
  background: linear-gradient(160deg, rgba(238, 245, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.login-state__meta {
  display: grid;
  gap: 0.25rem;
}

.login-state__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.login-state__meta strong {
  font-size: 1.05rem;
  color: var(--color-dark);
}

.login-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Products */
.product-card { background: var(--color-white); border: var(--border); border-radius: var(--radius-lg); padding: 2rem 2.25rem; box-shadow: var(--shadow-sm); display: flex; gap: 1.75rem; align-items: flex-start; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #b8d0ea; }
.product-icon { flex-shrink: 0; width: 72px; height: 72px; background: var(--color-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; border: var(--border); }
.product-info h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.product-info p  { color: #64748b; font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.6; }
.product-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.product-badge { display: inline-block; background: var(--color-light); color: var(--color-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; padding: 0.22rem 0.7rem; border-radius: 999px; border: var(--border); margin-bottom: 0.6rem; text-transform: uppercase; }

/* Footer */
.site-footer { background: #1a2028; color: #94a3b8; padding: 60px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid #2d3748; }
.footer-brand .logo { font-size: 1.15rem; font-weight: 800; color: var(--color-white); letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: #64748b; }
.footer-col h4 { color: var(--color-white); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a { color: #94a3b8; font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--color-white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.83rem; color: #475569; }
.footer-bottom a { color: #64748b; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--color-white); }

/* Responsive */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { aspect-ratio: 16/9; font-size: 3rem; }
  .about-section__skyline {
    right: -5rem;
    bottom: -2.25rem;
    width: min(760px, 96vw);
    opacity: 0.24;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav {
    display: none; position: absolute; top: calc(100% + 0.5rem); left: 1rem; right: 1rem;
    background: var(--color-white);
    border: var(--border);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.25rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul li { border-bottom: var(--border); }
  .site-nav ul li:last-child { border-bottom: none; }
  .site-nav a { display: block; padding: 0.75rem 0; font-size: 1rem; }
  .about-section__skyline {
    left: 50%;
    right: auto;
    bottom: 1.4rem;
    width: min(460px, 96vw);
    opacity: 0.22;
    transform: translateX(-50%);
  }
  .site-nav a::after { display: none; }
  .nav-toggle { display: block; }
  .page-header__tools { max-width: 100%; }
  .login-layout,
  .contact-layout,
  .contact-form__grid,
  .contact-form__footer { grid-template-columns: 1fr; }
  .contact-form__footer {
    display: grid;
    justify-content: stretch;
  }
  .page-template-page-login .page-header {
    padding: 36px 0 22px;
  }
  .page-template-page-login .login-section {
    padding-top: 28px;
    padding-bottom: 55px;
  }
  .page-template-page-login .login-form-card {
    order: 1;
  }
  .page-template-page-login .contact-stack {
    order: 2;
  }
  .contact-form__footer .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  section { padding: 55px 0; }
  .hero { padding: 70px 0 60px; }
  .tools-marquee::before,
  .tools-marquee::after { width: 42px; }
  .tool-logo { min-width: 190px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 280px; justify-content: center; }
  .product-card { flex-direction: column; }
  .focus-flip-grid { grid-template-columns: 1fr; }
  .focus-flip-card { min-height: 220px; }
}
/* Dateien aus dem "static"-Ordner der Google-Fonts-ZIP in assets/fonts/ ablegen */

/* ─── App-DSE-Hinweisbanner ─────────────────── */
.app-dse-banner {
  background: #fffbeb;
  border-bottom: 2px solid #f59e0b;
  padding: 1rem 0;
}
.app-dse-banner .container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.app-dse-banner__label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #92400e;
  white-space: nowrap;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.app-dse-banner p {
  font-size: 0.88rem;
  color: #78350f;
  margin: 0;
}
.app-dse-banner a { color: #b45309; font-weight: 600; }
.app-dse-banner a:hover { color: #92400e; }

/* ─── App-Showcase ──────────────────────────── */
.app-list { display: flex; flex-direction: column; gap: 2.5rem; }

.app-card {
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.app-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.app-card--featured {
  border-color: var(--color-primary);
  border-width: 2px;
}

.app-card__featured-badge {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  display: inline-block;
  border-radius: 0 0 var(--radius) 0;
  position: absolute;
  top: 0; left: 0;
}

.app-card__main {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.25rem;
  padding: 2.25rem;
  align-items: flex-start;
}

.app-card__icon {
  width: 100px; height: 100px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-light), #d0e4f7);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  border: var(--border);
  box-shadow: 0 4px 16px rgba(0,87,194,0.12);
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.app-card__icon img { width: 100%; height: 100%; object-fit: cover; }

.app-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--color-light);
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: var(--border);
}

.year-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f0fdf4;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
}

.app-card__name {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.03em;
}

.app-card__tagline {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.app-card__desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.not-found-page {
  padding: 100px 0;
  text-align: center;
}

.not-found-page__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.not-found-page__lead {
  color: #5a6472;
  margin-bottom: 2rem;
}

.not-found-page__suggestions {
  margin: 0 auto 2rem;
  max-width: 720px;
}

.not-found-page__suggestions h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.not-found-page__links {
  display: grid;
  gap: 0.95rem;
  justify-content: center;
}

.not-found-page__link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0 auto;
  max-width: min(100%, 720px);
  text-align: left;
  text-decoration: none;
}

.not-found-page__link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.not-found-page__link-title {
  color: var(--color-primary);
  font-weight: 700;
}

.not-found-page__link-path {
  color: #64748b;
  font-size: 0.9rem;
  word-break: break-word;
}

.faq-section {
  padding: 86px 0;
  background:
    radial-gradient(circle at top right, rgba(0, 87, 194, 0.07), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, var(--color-white) 100%);
  border-top: var(--border);
  border-bottom: var(--border);
}

.faq-section__header {
  margin-bottom: 2.25rem;
}

.faq-search {
  max-width: 860px;
  margin: 0 auto 1.35rem;
}

.faq-search__label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #5a6472;
  letter-spacing: 0.01em;
}

.faq-search__input {
  width: 100%;
  border: var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  padding: 0.95rem 1.05rem;
  font: inherit;
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.faq-search__input::placeholder {
  color: #94a3b8;
}

.faq-search__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 87, 194, 0.12);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.faq-item[open] {
  border-color: #b8d0ea;
  box-shadow: var(--shadow);
}

.faq-item__question {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.35rem 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  position: relative;
  padding-right: 3.4rem;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  color: var(--color-primary);
}

.faq-item[open] .faq-item__question::after {
  content: '−';
}

.faq-item__answer {
  padding: 0 1.35rem 1.25rem;
  color: #4a5563;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-search__empty {
  max-width: 860px;
  margin: 1rem auto 0;
  color: #64748b;
  text-align: center;
}

@media (max-width: 768px) {
  .not-found-page__link {
    width: 100%;
  }

  .faq-search__input {
    padding: 0.88rem 0.95rem;
  }

  .faq-item__question {
    padding: 1rem 3.1rem 1rem 1.05rem;
  }

  .faq-item__answer {
    padding: 0 1.05rem 1.05rem;
  }

}

.app-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.store-btn {
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
}

.app-privacy-link {
  font-size: 0.83rem;
  font-weight: 500;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #cbd5e1;
  transition: color var(--transition), border-color var(--transition);
}
.app-privacy-link:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* Screenshots */
.app-screenshots {
  border-top: var(--border);
  padding: 1.5rem 2.25rem;
  background: var(--color-bg);
}
.app-screenshots__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.app-screenshots__scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
.app-screenshots__scroll::-webkit-scrollbar { height: 4px; }
.app-screenshots__scroll::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 2px; }
.app-screenshots__scroll::-webkit-scrollbar-thumb { background: var(--color-mid); border-radius: 2px; }
.app-screenshots__scroll img {
  height: 200px;
  width: auto;
  border-radius: var(--radius);
  border: var(--border);
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .app-card__main { grid-template-columns: 1fr; gap: 1.25rem; }
  .app-card__icon { width: 80px; height: 80px; font-size: 2.2rem; margin-top: 0; }
  .app-card__name { font-size: 1.35rem; }
  .app-screenshots__scroll img { height: 150px; }
  .app-card__actions { flex-direction: column; align-items: flex-start; }
  .store-btn { width: 100%; justify-content: center; }
}

/* ─── Breadcrumb Bar ────────────────────────── */
.breadcrumb-bar {
  background: var(--color-bg);
  border-bottom: var(--border);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: #94a3b8;
}
.breadcrumb-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.breadcrumb-bar__trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb-bar a { color: #64748b; font-weight: 500; }
.breadcrumb-bar a:hover { color: var(--color-primary); }
.breadcrumb-bar span { margin: 0 0.4rem; }

/* App Badges */
.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  border: 1px solid transparent;
}

.app-badge--current {
  background: #e8f1ff;
  color: #0a4fb0;
  border-color: #bfd7ff;
}

.app-badge--new {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}

.app-badge--recommended {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.app-badge--favorite {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fbcfe8;
}

.app-badge--progress {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}

.app-rework-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  border: 1px solid transparent;
}

.app-rework-badge--in-progress {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
}

.app-rework-badge--completed {
  background: #eefbf3;
  color: #15803d;
  border-color: #bbf7d0;
}

/* ─── Projects Grid (Übersicht) ─────────────── */
.apps-filter {
  margin-bottom: 1.6rem;
}

.apps-filter__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.apps-filter__input {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-dark);
  padding: 0.9rem 1.1rem;
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.apps-filter__input::placeholder {
  color: #94a3b8;
}

.apps-filter__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.apps-filter__count {
  flex-shrink: 0;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #b8d0ea;
  color: inherit;
}
.project-card[hidden],
.project-card.is-hidden {
  display: none !important;
}
.project-card--featured { border-color: var(--color-primary); border-width: 2px; }

/* Icon-Bereich: quadratisch, contain – kein Abschneiden */
.project-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 2rem;
  border-bottom: var(--border);
}
.project-card__thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}
.project-card__placeholder { font-size: 4rem; }

.project-card__title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.9rem;
  margin-bottom: 0.35rem;
}

.project-card__badges-top {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.project-card__badge {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.project-card__body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.project-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0;
  line-height: 1.3;
  flex: 1;
}

.project-card__year {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.project-card__excerpt {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.project-card__badges {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.project-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
  transition: gap var(--transition);
}
.project-card:hover .project-card__cta { gap: 0.65rem; }

.apps-filter__empty {
  text-align: center;
  color: #64748b;
  padding: 2rem 0 0.5rem;
}

.apps-filter__empty[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .apps-filter__bar {
    flex-direction: column;
    align-items: stretch;
  }

  .apps-filter__count {
    white-space: normal;
  }

  .project-card__title-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .project-card__badges-top {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
  }
}

/* ─── App Detail Hero ───────────────────────── */
.app-detail-hero {
  background: linear-gradient(160deg, var(--color-light) 0%, var(--color-bg) 100%);
  border-bottom: var(--border);
  padding: 60px 0 55px;
}
.app-detail-hero__inner {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 3rem;
  align-items: flex-start;
}
.app-detail-hero__icon {
  width: 140px; height: 140px;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  border: none;
  box-shadow: none;
  padding: 0;
}
.app-detail-hero__icon img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); }
.app-detail-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}
.app-detail-hero__badge { margin-bottom: 0; }
.app-detail-hero__info h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.2rem; }
.app-detail-hero__year {
  font-size: 0.82rem; font-weight: 500; color: #94a3b8;
  margin-bottom: 0.85rem; letter-spacing: 0.02em;
}
.app-detail-hero__tagline {
  font-size: 1.05rem; color: #4a5563;
  margin-bottom: 1.5rem; line-height: 1.65;
  max-width: 560px;
}
.app-rework-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid #d9e5f3;
  background: linear-gradient(160deg, #f8fbff 0%, #f2f7ff 100%);
}
.app-rework-notice__text {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 600;
}
.app-rework-notice__link {
  font-size: 0.92rem;
  font-weight: 700;
}
.app-detail-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1.25rem; }
.app-detail-hero__platforms { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem; }

.app-inline-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
.app-inline-nav--top {
  justify-content: flex-end;
}
.app-inline-nav--footer {
  justify-content: flex-end;
}
.app-inline-nav__link {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--transition);
}
.app-inline-nav__link:hover {
  color: var(--color-primary);
}

/* Screenshots-Galerie */
.app-screenshots-section {
  background: var(--color-bg);
  border-bottom: var(--border);
  padding: 2rem 0 2.5rem;
}
.app-screenshots-section__title {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #94a3b8;
  margin-bottom: 1.25rem;
}
/* Wrapper: Fade-Effekt links & rechts */
.app-screenshots-section__wrapper {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 0.6%, black 99.4%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 0.6%, black 99.4%, transparent 100%);
}

/* Scrollbalken bleibt unten (kein rotateX mehr) */
.app-screenshots-section__scroll {
  display: flex; gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

/* Kein rotateX mehr nötig */
.app-screenshot-frame {
  transform: none;
  -webkit-transform: none;
}
/* Scrollbar: auf Touch-Geräten klein, auf Desktop groß & grifferig */
.app-screenshots-section__scroll::-webkit-scrollbar { height: 4px; }
.app-screenshots-section__scroll::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 4px; }
.app-screenshots-section__scroll::-webkit-scrollbar-thumb { background: var(--color-mid); border-radius: 4px; }

@media (hover: hover) and (pointer: fine) {
  .app-screenshots-section__scroll { padding-bottom: 1rem; }
  .app-screenshots-section__scroll::-webkit-scrollbar { height: 10px; }
  .app-screenshots-section__scroll::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 8px;
    margin: 0 4px;
  }
  .app-screenshots-section__scroll::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 8px;
    border: 2px solid #e2e8f0;
  }
  .app-screenshots-section__scroll::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
  }
}
.app-screenshot-frame {
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  background: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.app-screenshot-frame img {
  max-height: 340px;
  max-width: 560px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* App Detail Content */
.app-detail-content { padding: 60px 0 40px; }
.app-detail-content h2 { font-size: 1.5rem; margin-bottom: 0; }

/* App Detail Footer */
.app-detail-footer { border-top: var(--border); background: var(--color-bg); padding: 1.5rem 0; }
.app-detail-footer .container { display: flex; flex-direction: column; gap: 1rem; }
.app-detail-footer__privacy {
  display: flex;
  justify-content: flex-start;
}
.app-detail-footer__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.app-detail-footer__nav-left,
.app-detail-footer__nav-right {
  display: flex;
  align-items: center;
}
.app-privacy-link--hint { color: #94a3b8; font-size: 0.83rem; }
.app-privacy-link--hint code { background: #f1f5f9; padding: 0.1rem 0.35rem; border-radius: 4px; font-size: 0.78rem; }
.app-back-link { font-size: 0.88rem; font-weight: 500; color: #64748b; transition: color var(--transition); }
.app-back-link:hover { color: var(--color-primary); }

/* Responsive Detail */
@media (max-width: 640px) {
  .app-detail-hero__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .app-detail-hero__icon { width: 100px; height: 100px; }
  .app-screenshot-frame img { max-height: 220px; max-width: 360px; }
}

/* Responsive */
@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
  .breadcrumb-bar__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .breadcrumb-bar__trail {
    width: 100%;
  }
  .app-inline-nav--top,
  .app-inline-nav--footer {
    justify-content: flex-start;
  }
  .app-detail-hero__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .app-detail-hero__icon { width: 90px; height: 90px; font-size: 2.5rem; }
  .app-detail-footer__nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .app-detail-footer__nav-right {
    width: 100%;
  }
}

/* ─── Screenshot Slider Cursor ──────────────── */
.app-screenshots-section__scroll { cursor: grab; }
.app-screenshots-section__scroll:active { cursor: grabbing; }
.app-screenshots-section__scroll { user-select: none; -webkit-user-select: none; }

/* ─── Lightbox ──────────────────────────────── */
#lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 20, 30, 0.92);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
#lb-overlay.lb-open {
  display: flex;
  opacity: 1;
}
#lb-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  object-fit: contain;
  display: block;
}
#lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
#lb-close:hover { background: rgba(255,255,255,0.22); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
}
.lb-nav:hover {
  background: rgba(255,255,255,0.22);
}
.lb-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
#lb-prev {
  left: 1.5rem;
}
#lb-next {
  right: 1.5rem;
}

/* ─── Typewriter ─────────────────────────────── */
.hero__tagline {
  min-height: 1.9rem;
  margin-bottom: 1.1rem;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
/* Footer-Variante: subtiler, auf dunklem Hintergrund */
.footer-typewriter {
  font-size: 0.9rem;
  font-weight: 500;
  color: #7a91ad;
  margin: 0.35rem 0 0;
  min-height: 1.4rem;
}
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--color-primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  border-radius: 1px;
  animation: tw-blink 0.9s step-end infinite;
}
/* Im Footer: Cursor dezent grau */
.footer-typewriter__cursor {
  background: #5a7a9a;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── Dark Mode Toggle Button ────────────────── */
.darkmode-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: var(--border);
  background: var(--color-bg);
  color: var(--color-dark);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  outline: none;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}
.darkmode-toggle:hover {
  background: var(--color-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: rotate(22deg) scale(1.05);
}
.darkmode-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.dm-icon { display: none; pointer-events: none; }
.dm-icon--moon { display: block; }                    /* Light Mode: Mond zeigen */
[data-theme="dark"] .dm-icon--moon { display: none; }
[data-theme="dark"] .dm-icon--sun  { display: block; }/* Dark Mode: Sonne zeigen */

/* ─── Dark Mode: CSS-Variablen ───────────────── */
[data-theme="dark"] {
  --color-primary:   #5b9cf6;
  --color-secondary: #7ab3f5;
  --color-dark:      #e2e8f0;
  --color-mid:       #90b4d8;
  --color-bg:        #131a24;
  --color-light:     #1e2a3a;
  --color-white:     #1a2235;
  --border:          1px solid #2a3d57;
  --shadow-sm:       0 1px 4px rgba(0,0,0,0.4);
  --shadow:          0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:       0 12px 40px rgba(0,0,0,0.6);
}

/* ─── Dark Mode: Overrides ───────────────────── */
[data-theme="dark"] body     { background: var(--color-bg); color: var(--color-dark); }
[data-theme="dark"] p        { color: #94a3b8; }

[data-theme="dark"] .hero__subtitle,
[data-theme="dark"] .card p,
[data-theme="dark"] .section-title p,
[data-theme="dark"] .about-text p,
[data-theme="dark"] .page-content p,
[data-theme="dark"] .app-card__desc,
[data-theme="dark"] .footer-brand p    { color: #8b9abe; }

[data-theme="dark"] .site-header       { background: rgba(19,26,36,0.95); }
[data-theme="dark"] .site-nav a        { color: #94a3b8; }
[data-theme="dark"] .site-nav a:hover,
[data-theme="dark"] .site-nav .current-menu-item a { color: var(--color-primary); }
/* Mobile Nav Dark Mode */
@media (max-width: 768px) {
  [data-theme="dark"] .site-nav {
    background: #1e2a3a;
    border-color: #2a3d57;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  }
}
[data-theme="dark"] .nav-toggle span   { background: var(--color-dark); }

[data-theme="dark"] .hero {
  background: linear-gradient(160deg, #1e2a3a 0%, #131a24 60%, #0f1520 100%);
}
[data-theme="dark"] .page-header {
  background: linear-gradient(160deg, #1e2a3a 0%, #131a24 100%);
}
[data-theme="dark"] .focus-flip-card { border-color: #2a3d57; }
[data-theme="dark"] .focus-flip-card__text { color: #d6e2f2; }
[data-theme="dark"] .about-section__skyline {
  opacity: 0.1;
  filter: grayscale(1) brightness(0.82) contrast(1.02);
}
[data-theme="dark"] .about-focus-section {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.11) 0%, rgba(19, 26, 36, 0.98) 50%, rgba(15, 21, 32, 0.98) 100%);
}
[data-theme="dark"] .tools-marquee {
  background: linear-gradient(160deg, #1d2836 0%, #15202f 100%);
  border-color: #2a3d57;
}
[data-theme="dark"] .not-found-page__lead,
[data-theme="dark"] .not-found-page__link-path,
[data-theme="dark"] .faq-search__label,
[data-theme="dark"] .faq-search__empty,
[data-theme="dark"] .faq-item__answer {
  color: #a0b4cc;
}
[data-theme="dark"] .not-found-page__link-title {
  color: #8fc0ff;
}
[data-theme="dark"] .faq-section {
  background:
    radial-gradient(circle at top right, rgba(91, 156, 246, 0.12), transparent 38%),
    linear-gradient(180deg, #172231 0%, #131a24 100%);
}
[data-theme="dark"] .faq-search__input {
  background: rgba(26,34,53,0.92);
  border-color: #2a3d57;
  color: #e2e8f0;
}
[data-theme="dark"] .faq-search__input::placeholder {
  color: #6f86a4;
}
[data-theme="dark"] .app-badge--current {
  background: rgba(43, 103, 196, 0.2);
  color: #a9ccff;
  border-color: rgba(140, 185, 255, 0.32);
}
[data-theme="dark"] .app-badge--new {
  background: rgba(21, 128, 61, 0.22);
  color: #9ae6b4;
  border-color: rgba(110, 231, 183, 0.26);
}
[data-theme="dark"] .app-badge--recommended {
  background: rgba(194, 65, 12, 0.2);
  color: #fdba74;
  border-color: rgba(251, 191, 36, 0.22);
}
[data-theme="dark"] .app-badge--favorite {
  background: rgba(190, 24, 93, 0.2);
  color: #f9a8d4;
  border-color: rgba(244, 114, 182, 0.22);
}
[data-theme="dark"] .app-badge--progress {
  background: rgba(109, 40, 217, 0.22);
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.24);
}
[data-theme="dark"] .app-rework-badge--in-progress {
  background: rgba(190, 24, 93, 0.22);
  color: #fda4af;
  border-color: rgba(251, 113, 133, 0.24);
}
[data-theme="dark"] .app-rework-badge--completed {
  background: rgba(21, 128, 61, 0.24);
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.22);
}
[data-theme="dark"] .app-rework-notice {
  background: linear-gradient(160deg, rgba(25, 37, 56, 0.96) 0%, rgba(20, 29, 44, 1) 100%);
  border-color: #2a3d57;
}
[data-theme="dark"] .app-rework-notice__text {
  color: #a9bbd1;
}
[data-theme="dark"] .app-inline-nav__link {
  color: #8ea4c1;
}
[data-theme="dark"] .app-inline-nav__link:hover {
  color: #7ab8ff;
}
[data-theme="dark"] .contact-section {
  background:
    radial-gradient(circle at top left, rgba(91, 156, 246, 0.12), transparent 34%),
    linear-gradient(180deg, #172231 0%, #131a24 100%);
}
[data-theme="dark"] .login-section {
  background: #131a24;
}
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-form-card {
  background: #182131;
  border-color: #2a3d57;
}
[data-theme="dark"] .contact-card--highlight {
  background: linear-gradient(160deg, rgba(28, 42, 61, 0.98) 0%, rgba(24, 33, 49, 1) 100%);
}
[data-theme="dark"] .contact-card p,
[data-theme="dark"] .contact-form-card p,
[data-theme="dark"] .contact-form__privacy,
[data-theme="dark"] .contact-card__note {
  color: #a0b4cc;
}
[data-theme="dark"] .platform-badge {
  color: #a0b4cc;
}
[data-theme="dark"] .login-form__remember {
  color: #a0b4cc;
}
[data-theme="dark"] .login-state {
  background: linear-gradient(160deg, rgba(30, 42, 58, 0.96) 0%, rgba(22, 31, 47, 1) 100%);
  border-color: #2a3d57;
}
[data-theme="dark"] .login-state__meta strong {
  color: #e2e8f0;
}
[data-theme="dark"] .form-field label span {
  color: #8ea4c1;
}
[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field textarea {
  background: rgba(26,34,53,0.92);
  border-color: #2a3d57;
  color: #e2e8f0;
}
[data-theme="dark"] .form-message--success {
  background: rgba(20, 83, 45, 0.28);
  border-color: rgba(34, 197, 94, 0.28);
}
[data-theme="dark"] .form-message--success p {
  color: #86efac;
}
[data-theme="dark"] .form-message--error {
  background: rgba(127, 29, 29, 0.25);
  border-color: rgba(248, 113, 113, 0.22);
}
[data-theme="dark"] .form-message--error p,
[data-theme="dark"] .form-message--error li {
  color: #fda4af;
}
[data-theme="dark"] .faq-item {
  background: #182131;
  border-color: #2a3d57;
}
[data-theme="dark"] .faq-item[open] {
  border-color: #3d5d89;
}
[data-theme="dark"] .tools-marquee::before {
  background: linear-gradient(to right, rgba(29,40,54,1), rgba(29,40,54,0));
}
[data-theme="dark"] .tools-marquee::after {
  background: linear-gradient(to left, rgba(21,32,47,1), rgba(21,32,47,0));
}
[data-theme="dark"] .tool-logo {
  background: rgba(19,26,36,0.82);
  border-color: #2a3d57;
}
[data-theme="dark"] .tool-logo:hover {
  background: rgba(22,31,44,0.95);
  border-color: #3e5d86;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
[data-theme="dark"] .tool-logo__name { color: #dbe7f6; }

[data-theme="dark"] .privacy-switcher__label  { color: #a0b4cc; }
[data-theme="dark"] .legal-language-switch__label { color: #a0b4cc; }
[data-theme="dark"] .legal-language-switch__button {
  background: #1b2533;
  border-color: #2a3d57;
  color: #c4d2e3;
}
[data-theme="dark"] .legal-language-switch__button:hover {
  border-color: #4f6c93;
  color: #e2e8f0;
}
[data-theme="dark"] .legal-language-switch__button.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #0f1724;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}
[data-theme="dark"] .privacy-switcher__select {
  background-color: #1b2533;
  border-color: #2a3d57;
  color: #e2e8f0;
  background-image:
    linear-gradient(45deg, transparent 50%, #7a9cc4 50%),
    linear-gradient(135deg, #7a9cc4 50%, transparent 50%);
}

[data-theme="dark"] .year-badge {
  background: #0d2818; color: #4ade80; border-color: #166534;
}
[data-theme="dark"] .card:hover         { border-color: #4a6fa5; }
[data-theme="dark"] .product-card:hover { border-color: #4a6fa5; }
[data-theme="dark"] .app-card:hover     { border-color: #4a6fa5; }

[data-theme="dark"] .app-privacy-link       { color: #7a9cc4; border-color: #2a3d57; }
[data-theme="dark"] .app-privacy-link--hint { color: #4a6380; }

[data-theme="dark"] .app-screenshots__scroll::-webkit-scrollbar-track,
[data-theme="dark"] .app-screenshots-section__scroll::-webkit-scrollbar-track { background: #2a3d57; }

/* Footer: immer dunkel – Überschriften & Logo müssen hell bleiben */
[data-theme="dark"] .footer-col h4        { color: #e2e8f0; }
[data-theme="dark"] .footer-brand .logo   { color: #e2e8f0; }
[data-theme="dark"] .footer-col a         { color: #7a91ad; }
[data-theme="dark"] .footer-col a:hover   { color: #e2e8f0; }
[data-theme="dark"] .footer-bottom        { color: #4a6380; }
[data-theme="dark"] .footer-bottom a      { color: #5a7a9a; }
[data-theme="dark"] .footer-bottom a:hover{ color: #e2e8f0; }

/* CTA-Banner: bleibt blau in beiden Modi – Text auf volle Deckkraft */
[data-theme="dark"] .cta-banner p { color: rgba(255,255,255,0.95); }

/* Erhöhter Kontrast für diverse Grautexte */
[data-theme="dark"] .hero__subtitle        { color: #a0b4cc; }
[data-theme="dark"] .section-title p       { color: #a0b4cc; }
[data-theme="dark"] .about-text p          { color: #a0b4cc; }
[data-theme="dark"] .page-content p        { color: #a0b4cc; }
[data-theme="dark"] .card p                { color: #a0b4cc; }
[data-theme="dark"] .app-card__desc        { color: #a0b4cc; }

/* ─── Sanfter Theme-Wechsel ──────────────────── */
.color-scheme-transition,
.color-scheme-transition *,
.color-scheme-transition *::before,
.color-scheme-transition *::after {
  transition:
    background-color 0.35s ease,
    color            0.35s ease,
    border-color     0.35s ease,
    box-shadow       0.35s ease !important;
}

/* ─── Bug Runner Easter Egg ──────────────────── */
#game-overlay {
  display: none; opacity: 0;
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(8,12,22,0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  align-items: center; justify-content: center;
  transition: opacity 0.25s ease;
}
#game-overlay.game-open { display: flex; opacity: 1; }
#game-modal {
  background: #0a0f1a; border: 1px solid #2a3d57;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.85);
  max-width: 95vw;
}
#game-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1.1rem; border-bottom: 1px solid #1e2a3a;
  background: #0f1520;
}
#game-title { font-weight: 700; font-size: 0.9rem; color: #5b9cf6; font-family: monospace; letter-spacing: 0.05em; }
#game-close {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #64748b; width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
#game-close:hover { background: rgba(239,68,68,0.2); color: #ef4444; border-color: #ef4444; }
#game-canvas { display: block; max-width: 100%; cursor: pointer; }
/* Jump-Button: sitzt direkt unter dem Canvas, zentriert, nur Touch-sichtbar */
#game-jump-btn {
  display: none;
  width: 100%; box-sizing: border-box;
  background: #1e3a5f; border: none; border-top: 1.5px solid #3b82f6;
  color: #93c5fd; font-size: 1.1rem; font-weight: 700;
  font-family: monospace; letter-spacing: 0.05em;
  padding: 1rem; cursor: pointer;
  transition: background 0.15s;
  -webkit-user-select: none; user-select: none;
  touch-action: manipulation;
}
#game-jump-btn:active { background: #2d4f7c; }
#game-footer {
  background: #0f1520; border-top: 1px solid #1a2535;
  padding: 0.45rem 1rem; text-align: center;
}
#game-hint {
  color: #334155; font-size: 0.72rem; font-family: monospace;
  margin: 0; letter-spacing: 0.03em;
}
@media (hover: none) and (pointer: coarse) {
  #game-jump-btn { display: block; }
  #game-hint { font-size: 0.65rem; }
  #game-canvas { cursor: default; }
}
/* 🕹️ Footer Trigger */
#game-trigger {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; opacity: 1; padding: 0; margin-left: 0.4rem;
  transition: transform 0.2s ease;
  display: inline-block; vertical-align: middle; line-height: 1;
}
#game-trigger:hover { transform: scale(1.25) rotate(-12deg); }
