/* ==========================================================================
 * PROPERTY OF JUSTIN "KRALLHEIM" HELBIG | ALL RIGHTS RESERVED
 * --------------------------------------------------------------------------
 * Web Architect, Founder, Engine Developer & Owner: Justin "Krallheim" Helbig
 * System Engine: Krallheim WebEngine
 * Official Website: https://www.krallheim.net
 * Legal Contact: business@krallheim-network.net
 * 
 * Copyright (c) 2026 Justin "Krallheim" Helbig.
 * 
 * COPYRIGHT & ENGINE NOTICE / RECHTSINHABER-HINWEIS:
 * Diese Website und sämtliche zugehörigen Quelldateien basieren auf der von
 * Justin "Krallheim" Helbig eigenständig entwickelten Website-Engine.
 * 
 * Der gesamte Quellcode, die WebGL-GLSL-Shader, Math-Pipelines, Partikel-
 * Systeme, Design-Konzepte sowie UI/UX-Animationen sind urheberrechtlich
 * geschütztes geistiges Eigentum des Inhabers. Das alleinige Nutzungs-,
 * Verwertungs- und Vervielfältigungsrecht liegt vollumfänglich bei
 * Justin "Krallheim" Helbig.
 * 
 * Jede unbefugte Vervielfältigung, Kopie, Dekompilierung, Weitergabe oder 
 * kommerzielle Nutzung der Engine und des Codes ist ohne ausdrückliche 
 * schriftliche Genehmigung des Rechteinhabers strengstens untersagt.
 * ========================================================================== */

:root {
    --primary: #1a0505;
    --accent: #ff0033;       /* Neon-Rot */
    --accent-glow: #8b0000;  /* Dunkelrot */
    --text-main: #2c3e50;
    --border-color: #e2e8f0;

    /* HINTERGRUND-EINSTELLUNGEN */
    --bg-color: #080202;     /* Schwarz-Rot */
    --bg-image: url('bg.jpg'); /* Pfad für eventuelles Hintergrundbild */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* HEADER & BACKGROUND ANIMATION */
header {
    position: relative;
    width: 100%;
    padding: 60px 20px 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1000px;
}

#abstract-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
    animation: orbFloat 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 280px;
    height: 280px;
    background: #ff0033;
    top: -50px;
    left: 20%;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: #660000;
    bottom: -80px;
    right: 20%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.15); }
}

/* LOGO CARD & ROTATING */
.logo-container {
    position: relative;
    z-index: 2;
    padding: 30px 50px;
    background: #0a0202;
    border-radius: 20px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.8),
        inset 0 0 15px rgba(255, 0, 51, 0.15);
    transition: transform 0.1s ease-out, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    overflow: hidden;
}

/* ROTATING COLORCIRCLE */
.logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 60deg,
        #ff0033 120deg,
        #8b0000 180deg,
        #ff0033 240deg,
        transparent 300deg,
        transparent 360deg
    );
    animation: rotateGlow 4s linear infinite;
    z-index: 1;
}

.logo-container::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #0a0202;
    border-radius: 17px;
    z-index: 2;
}

.logo-container:hover {
    box-shadow: 
        0 30px 60px rgba(255, 0, 51, 0.45),
        inset 0 0 25px rgba(255, 0, 51, 0.2);
}

.logo {
    position: relative;
    z-index: 3;
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.6));
}

.header-divider {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0033, #8b0000, transparent);
    box-shadow: 0 0 12px #ff0033;
    z-index: 2;
}

/* CONTENT CONTAINER */
.container {
    max-width: 850px;
    width: 90%;
    margin: 30px auto 50px auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.container.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

.top-nav {
    margin-bottom: 30px;
}

h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 12px;
}

p {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 15px;
}

a {
    color: #cc0029;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a:hover {
    color: #8b0000;
    text-decoration: underline;
}

.address-block {
    background-color: rgba(248, 250, 252, 0.9);
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.info-box {
    background-color: #fffaf0;
    border: 1px solid #feebc8;
    border-left: 4px solid #dd6b20;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 0.95rem;
    color: #7b341e;
}

.info-box h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #9c4221;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    list-style: none;
    margin: 15px 0 25px 0;
}

.domain-grid li {
    background: rgba(241, 245, 249, 0.9);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, border-color 0.2s;
}

.domain-grid li:hover {
    transform: translateY(-2px);
    border-color: #ff0033;
}

.button {
    display: inline-block;
    background: linear-gradient(135deg, #ff0033 0%, #8b0000 100%);
    color: white;
    padding: 10px 22px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 0, 51, 0.3);
    transition: all 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 0, 51, 0.5);
    text-decoration: none;
    color: white;
}

footer {
    background-color: rgba(8, 2, 2, 0.95);
    backdrop-filter: blur(10px);
    color: #cbd5e1;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 0, 51, 0.2);
}

footer p {
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.85rem;
}

footer .copyright-year {
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* ANIMATIONS */
@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    header { padding: 40px 15px 30px 15px; }
    .logo-container { padding: 20px 25px; }
    .logo { max-width: 280px; }
    .container { padding: 25px 20px; margin: 15px auto 30px auto; }
    h1 { font-size: 1.8rem; }
    .domain-grid { grid-template-columns: 1fr; }
}

/* KONTAKTFORMULAR BEREICH */
.contact-section-wrapper {
    margin: 35px 0;
    padding: 20px;
    background: rgba(248, 250, 252, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.form-title {
    font-size: 1.3rem !important;
    color: var(--primary) !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-form-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #ff0033;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.input-icon svg {
    width: 16px;
    height: 16px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px 14px 10px 40px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #2c3e50;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.25s ease;
}

.input-group textarea {
    border-radius: 8px;
    resize: vertical;
    min-height: 85px;
    padding-top: 10px;
}

/* ALIGNMENT FIX FOR TEXTAREA ICON */
.input-group textarea ~ .input-icon {
    top: 12px;
    transform: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #ff0033;
    box-shadow: 0 0 8px rgba(255, 0, 51, 0.2);
}

.submit-button-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 20px;
    background: linear-gradient(135deg, #ff0033 0%, #8b0000 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 0, 51, 0.25);
    transition: all 0.2s ease;
}

.submit-button-compact svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.submit-button-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 0, 51, 0.4);
}

.submit-button-compact:hover svg {
    transform: translateX(4px);
}

@media (max-width: 520px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* KONTAKT FORMULAR -- STATUS-MELDUNGEN */
.status-box {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.status-box.success {
  background-color: rgba(34, 197, 94, 0.15);
  border: 1.5px solid #22c55e;
  color: #15803d;
}

.status-box.error {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1.5px solid #ef4444;
  color: #b91c1c;
}